2020-01-17 10:37:51 UTC - Ajoy Agarwal: @Rodric Rabbah Is native installation of OpenWhisk possible on CentOS7? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579257471001000 ---- 2020-01-17 10:57:49 UTC - Rodric Rabbah: The __OW env vars are special. They’re the activation context. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258669001600?thread_ts=1579193023.144000&cid=C3TPCAQG1 ---- 2020-01-17 10:58:17 UTC - Rodric Rabbah: However there was a recent enhancement that allows functions to set and accept user defined env vars as well. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258697002600?thread_ts=1579193023.144000&cid=C3TPCAQG1 ---- 2020-01-17 10:58:37 UTC - Rodric Rabbah: Short/long actions look fine to me. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258717003200?thread_ts=1579193023.144000&cid=C3TPCAQG1 ---- 2020-01-17 10:59:12 UTC - Rodric Rabbah: You can provide it as a startup parameter. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258752003800?thread_ts=1579193204.145300&cid=C3TPCAQG1 ---- 2020-01-17 10:59:23 UTC - Rodric Rabbah: What are you trying to do? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258763004300?thread_ts=1579193204.145300&cid=C3TPCAQG1 ---- 2020-01-17 11:00:57 UTC - Rodric Rabbah: <https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577452352072300|https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1577452352072300> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579258857004600 ---- 2020-01-17 11:18:55 UTC - giusdp: I'm trying to bring the host ip of the invokers to the load balancer. I added a field to the instanceId, since the load balancer has access to it through the the invokerHealth object https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579259935004800?thread_ts=1579193204.145300&cid=C3TPCAQG1 ---- 2020-01-17 11:19:58 UTC - giusdp: What I actually need is a way for the load balancer to know in which node an invoker is running on, so I thought to use the node IP https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579259998005000?thread_ts=1579193204.145300&cid=C3TPCAQG1 ---- 2020-01-17 11:25:25 UTC - Ajoy Agarwal: I have a docker swarm environment in production where host platform is CentOS7. What is the best way to deploy OpenWhisk on such environment? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579260325006500?thread_ts=1579260325.006500&cid=C3TPCAQG1 ---- 2020-01-17 11:52:43 UTC - giusdp: ```You can provide it as a startup parameter.``` How can I do this? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579261963006600?thread_ts=1579193204.145300&cid=C3TPCAQG1 ---- 2020-01-17 14:32:09 UTC - Tom Barber: Whats the deal with Private Docker repositories, or alternatives on OW on K8S? If Private Docker repos are sanely supported, if you're using Serverless to deploy your actions, is there a way to pass the binaries and stuff across to a skeleton docker image? (I appreciate this isn't the serverless slack, just wondering if anyone has any good ideas) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579271529008600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:41:00 UTC - Rodric Rabbah: I’m not familiar with sls enough to answer the deployment side. To use a private docker registry the image has to be stored/pushed there out of band. Then you reference the image as a docker image including the registry.
Are you trying to use private registry that’s separate from the system/deployment image registry? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272060014200?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:41:51 UTC - Rodric Rabbah: Wouldn’t the Ansible deployment suffice? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272111014900?thread_ts=1579260325.006500&cid=C3TPCAQG1 ---- 2020-01-17 14:46:32 UTC - Tom Barber: yeah, long story, I'm working on some stuff for a NASA mission, and we're building out some our ground data systems using Openwhisk amongst other stuff. I tested some action stuff yesterday calling a public docker image that I created which works fine. But some of our code isn't cleared for public release, so I need to stick it in a private gitlab docker repo, or similar, then have the docker image deployed when the action is called similar to any public one. Normally, if i were just launching private docker images on kubernetes i'd stick an imagePullSecret into my podspec that logs into gitlab and does it that way. If there's an alternative that involves pulling that code and sticking it somewhere else that is accessible, but not publically accessible, i'm all ears. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272392015100?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:48:06 UTC - duynguyen: well you can use a private registry for actions by: 1. in the pod spec of invoker add these env vars for your registry server: <https://github.com/apache/openwhisk/blob/master/ansible/roles/invoker/tasks/deploy.yml#L245-L246> 2. create a spec for action pods according to this: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/> (e.g. make it a configMap) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272486015300?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:48:25 UTC - Tom Barber: Or if i've got no chance and have to build and update the Openwhisk code to support private images, I'll have a look at that also, its just time is tight between now and a feb science meetup we're demoing this stuff in :) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272505015700?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:49:07 UTC - Tom Barber: thanks for those links @duynguyen the ansible stuff applies to helm based k8s deployments as well? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272547015900?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:49:44 UTC - duynguyen: yes, they are env vars of the invoker container in the end https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272584016100?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:49:59 UTC - Tom Barber: ah cool. Okay thanks, I'll have a fiddle with that and see if I can get it working https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272599016300?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:50:14 UTC - Tom Barber: i looked at that from prior to christmas, but it was unclear as it was the ansible stuff https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272614016500?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:50:16 UTC - Tom Barber: I'll give it a go https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272616016700?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:50:49 UTC - duynguyen: we do the same for our k8s cluster, working fine so far https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272649016900?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:51:07 UTC - Tom Barber: excellent https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272667017100?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:53:50 UTC - Rodric Rabbah: We should turn this into a faq or doc page. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579272830017700?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:56:53 UTC - Tom Barber: yeah i can't find the readme now, but one states that you can only use public docker repos. If I can get it working I'll update the readme to point to another doc about how to configure it heart : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579273013018100?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-01-17 14:57:43 UTC - duynguyen: <https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/private-docker-registry.md> seems to be a good place for it? (only system images are mentioned so far) +1 : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579273063018300?thread_ts=1579271529.008600&cid=C3TPCAQG1 ----