2020-07-02 03:05:35 UTC - Ning yougang: HI, guys, i want to ask a question for 
nginx certificate in `openwhisk-deploy-kube` ?

for this code: 
<https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/configMapFiles/genCerts/gencerts.sh#L23>
it will create `secrets`  like below
```kubectl describe secrets openwhisk-1593570572-nginx -n openwhisk
Name: openwhisk-1593570572-nginx
Namespace: openwhisk
Labels: &lt;none&gt;
Annotations: &lt;none&gt;

Type: <http://kubernetes.io/tls|kubernetes.io/tls>

Data
====
tls.key: 1679 bytes
tls.crt: 1172 bytes```
Above `tls.key` and `tls.crt` will be mounted into nginx's `/etc/nginx/certs` 
directory.
But I think that's for self-signed certificates which would not for production.
For your guys company inner, how to provide your own nginx certificate for 
production? just asked.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593659135035600?thread_ts=1593659135.035600&cid=C3TPCAQG1
----
2020-07-02 03:32:53 UTC - Rodric Rabbah: Replace those with some certs? 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593660773036000?thread_ts=1593659135.035600&cid=C3TPCAQG1
----
2020-07-02 05:22:53 UTC - Ning yougang: In my local env, i used your said 
method: `replace those with our own nginx certs`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593667373036200?thread_ts=1593659135.035600&cid=C3TPCAQG1
----
2020-07-02 05:24:16 UTC - Ning yougang: In ibm company inner, used above method?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593667456036400?thread_ts=1593659135.035600&cid=C3TPCAQG1
----
2020-07-02 05:57:48 UTC - Emil Chitas: Hi all,
There is something that I do not understand about the `runtimes`:
When deploying OW locally using docker, the minimal runtimes should can include 
only `nodejs`, but when deploying to k8s the runtimes should include also 
`swift`, otherwise the install-packages job fails.
If I would want to install only the nodejs packages, do I need to make changes 
somewhere else too, besides creating the `runtimes.json`?
Thanks
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593669468041100?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:14:00 UTC - Rajesh Jeyapaul: I would like to move an image URL 
available in Cloud object storage(COS) to a docker image running in a virtual 
server as soon as COS is updated with the URL..I tried IBM Functions 
(openWhisk)..using trigger I am able to get the image URL within the action 
script but without polling I am not able to get into the running Docker image 
outside the cloud..if anyone has this flow implemented, pls. ping...(Image URL 
-&gt; COS-&gt; openWhisk -&gt;..........&gt; Docker on Virtual server)..thanks 
in advance
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593677640041800
----
2020-07-02 08:23:13 UTC - Ning yougang: You can create a new file: 
`runtime-new.json`
<https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/values.yaml#L126>
and configure
```whisk:
  runtimes: "runtimes-new.json"```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678193041900?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:24:42 UTC - Emil Chitas: Yes, and I used one with just the nodejs 
runtimes, but with that, the `install-package` job failed.
Unfortunately I do not have the logs anymore for that.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678282042200?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:25:15 UTC - Ning yougang: So, firstly, need to keep openwhisk in 
k8s run well.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678315042400?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:25:40 UTC - Ning yougang: Can you run `kubectl describe pods 
installxx -n xxx`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678340042600?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:25:48 UTC - Ning yougang: to check the logs?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678348042800?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:25:54 UTC - Ning yougang: or docker logs to check
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678354043000?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:26:49 UTC - Emil Chitas: I can, but I changed the deployment to 
get all the runtimes, and now the install job is successful.
I redeployed everything with the default runtimes, and because of that, I do 
not have the previous pods with the failed job
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678409043200?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:30:02 UTC - Ning yougang: Sorry, i don't get it.
with what changes, the `install-package` job failed?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678602043400?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:30:26 UTC - Ning yougang: Just changed the runtimes.json content?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678626043600?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:31:59 UTC - Emil Chitas: If I specify a custom `runtimes.json` 
content, then the job `install-package`  fails. And from what I've seen it 
fails when trying to get something related to `swift`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593678719043800?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 08:53:12 UTC - Ning yougang: hm..have no idea about it.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593679992044000?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 09:34:46 UTC - Emil Chitas: thanks
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593682486044200?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 10:26:40 UTC - Rodric Rabbah: I don’t know what ibm does but that’s 
what we do at nimbella 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593685600045000?thread_ts=1593659135.035600&cid=C3TPCAQG1
----
2020-07-02 10:28:11 UTC - Rodric Rabbah: You can also exclude the swift action 
in the package if you don’t want to deploy the swift runtime. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593685691045900?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 10:31:45 UTC - Emil Chitas: that's what I was expecting. But I 
cannot find that anywhere
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593685905046100?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 13:52:20 UTC - Rodric Rabbah: find the action to exclude?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593697940046300?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 13:55:42 UTC - Emil Chitas: I presumed that was something in the 
deployment instructions that can be overridden when deploying with helm without 
recreating the whole install-packages job
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593698142046500?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 13:57:25 UTC - Emil Chitas: sorry for the n00b questions, but I just 
got started with helm
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593698245046700?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 13:58:02 UTC - Rodric Rabbah: no worries - you’re the first to ask 
this :slightly_smiling_face:
there isn’t a flag to control which actions are installed from the packages
you can exclude them altogether, or modify the install script to exclude the 
swift actions
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593698282046900?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 13:58:18 UTC - Rodric Rabbah: assuming you dont want to include 
swift in the available runtimes for your deployment
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593698298047100?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 14:00:14 UTC - Emil Chitas: thanks for the info. I guess I will just 
 exclude them altogether at first
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593698414047300?thread_ts=1593669468.041100&cid=C3TPCAQG1
----
2020-07-02 14:39:54 UTC - nemonik: Is there existing documentation, Medium 
hosted or otherwise tutorial for deploying a package with sequenced actions 
written in *golang* to Apache OpenWhisk using `wskdeploy` and a package 
manifest?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593700794049300?thread_ts=1593700794.049300&cid=C3TPCAQG1
----
2020-07-02 14:51:27 UTC - nemonik: building off of the above using a zip 
containing multiple golang source files...
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593701487049700?thread_ts=1593700794.049300&cid=C3TPCAQG1
----
2020-07-02 15:07:40 UTC - nemonik: as per 
<https://github.com/apache/openwhisk/blob/master/docs/actions-go.md#use-a-package-folder>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593702460049900?thread_ts=1593700794.049300&cid=C3TPCAQG1
----

Reply via email to