2020-02-03 15:04:19 UTC - Tom Barber: @duynguyen I was looking at where you pointed to for docker repos https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580742259063400?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 15:04:28 UTC - Tom Barber: there's no option to add authentication, correct? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580742268063600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 15:05:08 UTC - Tom Barber: oh, I guess you can do it with the spec https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580742308063800?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 15:05:34 UTC - Tom Barber: how do you tell openwhisk to use your custom spec? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580742334064000?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 16:57:24 UTC - Tom Barber: I need to pin imagePullSecrets to the user-action pod spec, can anyone point me to where thats built? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580749044064700 ---- 2020-02-03 16:59:08 UTC - Tom Barber: <https://github.com/apache/openwhisk/blob/8bf79efa0c5fa5f83a1bf60604f8c85abcd32ac2/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/WhiskPodBuilder.scala> hmm here it seems https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580749148064900 ---- 2020-02-03 17:01:15 UTC - Tom Barber: anyone know how that templating works? I need to stick something like:
```imagePullSecrets: - name: regcred``` in it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580749275065400 ---- 2020-02-03 17:20:44 UTC - duynguyen: you could create a secret like: ```apiVersion: v1 kind: Secret metadata: name: {{ .Release.Name }}-private-actions-registry.auth type: <http://kubernetes.io/dockerconfigjson|kubernetes.io/dockerconfigjson> data: .dockerconfigjson: <content of dockerconfig>``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750444065600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:21:17 UTC - duynguyen: in action pod spec just do: ```spec: imagePullSecrets: - name: {{ .Release.Name }}-private-actions-registry.auth``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750477065800?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:21:26 UTC - Tom Barber: see... this is where I'm lost https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750486066000?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:21:31 UTC - Tom Barber: action pod spec.... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750491066200?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:22:26 UTC - Tom Barber: I have the secret being generated, but I'm not seeing an action pod spec https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750546066400?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:24:25 UTC - duynguyen: oh that can simply be a file that you can add to invoker’s configMap, which is picked up to define how action containers should be https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750665066600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:25:08 UTC - Tom Barber: fml.... for real? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750708066800?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:25:13 UTC - Tom Barber: whats the config option called? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580750713067000?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:31:03 UTC - Tom Barber: <https://github.com/apache/openwhisk/blob/1e7b6ec845f20dec1dff0ce1649d09b1c9f131d1/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala#L75> I'm currently waiting on github to checkout the code cause I saw that https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751063067200?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:31:10 UTC - duynguyen: this could be useful: <https://github.com/apache/openwhisk/pull/4690> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751070067400?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:32:14 UTC - Tom Barber: hmmm WHISK_POD_TEMPLATE https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751134067600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:32:18 UTC - Tom Barber: worth a shot I guess https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751138067800?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:32:34 UTC - duynguyen: yep :+1: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751154068000?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:32:44 UTC - Tom Barber: thanks @duynguyen https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751164068200?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:34:56 UTC - Tom Barber: oooh, but this is inside the action and I'm using sls.... bleh https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751296068400?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 17:35:16 UTC - Tom Barber: it would appear I need to figureout how to pass pod-template from sls to openwhisk https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580751316068600?thread_ts=1579271529.008600&cid=C3TPCAQG1 ---- 2020-02-03 19:12:20 UTC - Kostis Kaffes: Posting this here in addition to <#C9HCXAKJ4|performance>. Thank you in advance! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580757140068800?thread_ts=1580757140.068800&cid=C3TPCAQG1 ---- 2020-02-03 19:16:26 UTC - Dragos Dascalita Haut: @Kostis Kaffes I’ve recently observed it’s ~3k per component (Controller or Invoker), but keep in mind that the payload size changes this number, and capturing activation metadata is also a factor that impacts the performance. If you’re trying to size up your own deployment it’s better to execute your own tests. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580757386068900?thread_ts=1580757140.068800&cid=C3TPCAQG1 ---- 2020-02-03 19:19:10 UTC - Kostis Kaffes: Thank you @Dragos Dascalita Haut. I am looking into it for a research project. Are you familiar with any tools that can stress individual components without requiring a full deployment? What is the practice for larger clusters that can potentially require more than ~3k invocations per second? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580757550069100?thread_ts=1580757140.068800&cid=C3TPCAQG1 ---- 2020-02-03 19:43:31 UTC - Dragos Dascalita Haut: I think OW doesn’t have such tools that stress individual components. In my case I’ve been testing the activations that go in and how fast they are eventually processed. The system does scale horizontally to much more than that. the 3K is what I observed to be _per controller_ and _per invoker_ thankyou : Kostis Kaffes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580759011069400?thread_ts=1580757140.068800&cid=C3TPCAQG1 ---- 2020-02-03 19:44:51 UTC - Dragos Dascalita Haut: if your research project focuses on OW performance it might be worth going into the details of components. If your research project is just using OW, then it’s better to focus on just getting to the performance you need, and maybe customize your deployment to optimize for that https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580759091069700?thread_ts=1580757140.068800&cid=C3TPCAQG1 ---- 2020-02-03 20:14:17 UTC - Tom Barber: Can someone help me out here because I'm unsure as to what I'm looking at https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760857070200 ---- 2020-02-03 20:15:06 UTC - Tom Barber: duynguyen pointed me at <https://github.com/apache/openwhisk/pull/4690> earlier which is fine but the inline/file ref/env snippets shown here, like: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760906071100 ---- 2020-02-03 20:15:07 UTC - Tom Barber: ```whisk { kubernetes { pod-template = "file:/pod-template.yaml" } }``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760907071300 ---- 2020-02-03 20:15:13 UTC - Tom Barber: what does that relate to? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760913071500?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-03 20:16:00 UTC - Tom Barber: this is clearly just me not understanding the basics of openwhisk configuration, but i'm slightly lost here https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580760960072100 ---- 2020-02-03 23:57:54 UTC - Tom Barber: having reread it about 1000 times I assume thats the helm yaml I have represented by json.... although I've tried loads of different stuff here and have yet to have a secret appear in my pod spec https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580774274073100 ----