2021-01-12 13:23:03 UTC - Mina Michael: @Dave Grove Hi. I need some help. I mentioned that I'm using helm to install openwhisk over Kubernetes. I'm working with this repository: <https://github.com/apache/openwhisk-deploy-kube>. Therefore I should make an edit in this repository, right? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610457783474500?thread_ts=1610243761.451900&cid=C3TPCAQG1 ---- 2021-01-12 21:02:28 UTC - Mina Michael: Hello again. I am trying to set the "schedulerName" property of pods that get created by openwhisk. I was advised to specify a template here: <https://github.com/apache/openwhisk/blob/master/core/invoker/src/main/resources/application.conf#L87>. However, I am using helm to install openwhisk over kubernetes. Therefore I am working with this repository: <https://github.com/apache/openwhisk-deploy-kube>. I'm not sure what to do after specifying a template. How does the first repository relate to the second? Does building the first repository give me the second maybe? Can anyone help me out? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610485348477400?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 21:19:04 UTC - Dave Grove: @Mina Michael - there was a thread about this on slack about 11 months ago. <https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760913071500>. About 1/2 way through, @Neeraj Mangal gave an example of what to do: <https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580790184079000?thread_ts=1580760913.071500&cid=C3TPCAQG1> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610486344477500?thread_ts=1610243761.451900&cid=C3TPCAQG1 ---- 2021-01-12 21:25:25 UTC - Mina Michael: @Dave Grove Thanks. Slack is not allowing me to see the first link without paying. At least I can see the second link. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610486725477800?thread_ts=1610243761.451900&cid=C3TPCAQG1 ---- 2021-01-12 22:56:42 UTC - Alessandro Banfi: Hi everyone, I'm currently deploying on kubernetes with helm and I need to modify a source of the invoker. What I would like to achieve consists in load as a pod the invoker with the beforementioned changes. I followed what is reported <https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-kind.md#hints-and-tips|here> but seems it is not working. Is it necessary to re-compile (gradle compileScala) or do something similar in order to find the changes on the invoker container I will run via helm? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610492202483300?thread_ts=1610492202.483300&cid=C3TPCAQG1 ---- 2021-01-12 23:08:49 UTC - Rodric Rabbah: you do have to recompile for sure https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610492929483400?thread_ts=1610492202.483300&cid=C3TPCAQG1 ---- 2021-01-12 23:09:28 UTC - Rodric Rabbah: @Dave Grove? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610492968483600?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 23:09:59 UTC - Rodric Rabbah: compiling the sources in the `openwhisk` repo produce the container images that you will deploy to kubernetes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610492999483800?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 23:14:42 UTC - Dave Grove: I have not done it myself, but my understanding of what @Neeraj Mangal said last year is is should be possible by just making changes to deploy-kube. <https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580799514092600?thread_ts=1580760913.071500&cid=C3TPCAQG1> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610493282484000?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 23:18:46 UTC - Dave Grove: The other option is to just make the change in the invoker in the core repository by hacking application.conf (or the Scala code that actually executes to create the pod in KubernetesContainerFactory), then compile the core `openwhisk` repository, build new whisk/invoker images, and modify the invoker image name & tag in openwhisk-deploy-kube values.yaml to deploy your local invoker image. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610493526484300?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 23:20:13 UTC - Dave Grove: have to do `gradlew distDocker` on the core repository to compile & then build new local docker images https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610493613484500?thread_ts=1610492202.483300&cid=C3TPCAQG1 ---- 2021-01-12 23:27:32 UTC - Mina Michael: @Rodric Rabbah I couldn't really find compilation instructions. Also, I wish I can do it without compiling the whole `openwhisk` code just to add this line. Is it possible to make the change to `openwhisk-deploy-kube` right away?
I have been reading @Neeraj Mangal's instructions from 11 months. I'm trying to follow them. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610494052484700?thread_ts=1610485348.477400&cid=C3TPCAQG1 ---- 2021-01-12 23:31:50 UTC - Mina Michael: @Rodric Rabbah I edited whiskconfig.conf, but I'm not sure where to create `action-pod-template.yaml` . Maybe in the same directory as whiskconfig.conf? Also, I'm not sure what to put in it. Should I just put: ```spec: schedulerName: <something>``` Like that? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610494310484900?thread_ts=1610485348.477400&cid=C3TPCAQG1 ----