2019-07-03 11:02:43 UTC - chetanm: In kube repo I see that for zookeeper we 
define both `volumeClaimTemplates` in the zookeeper-pod.yaml and also separate 
`PersistentVolumeClaim` objects via `zookeeper-pvc-xxx.yaml`
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562151763002300
----
2019-07-03 11:02:56 UTC - chetanm: Are both needed or would just 
`volumeClaimTemplates` be sufficient
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562151776002600
----
2019-07-03 13:37:48 UTC - chetanm: Another query wrt way we generate affinity
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562161068004000
----
2019-07-03 13:37:50 UTC - chetanm: 
<https://github.com/apache/incubator-openwhisk-deploy-kube/blob/master/helm/openwhisk/templates/_affinity.tpl#L21>
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562161070004100
----
2019-07-03 13:38:17 UTC - chetanm: Here both entries have same key name 
`nodeAffinity` … so effectively only one would be be reflected
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562161097004700
----
2019-07-03 13:38:26 UTC - chetanm: probably it should be array
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562161106004900
----
2019-07-03 14:03:54 UTC - Dave Grove: for zookeeper (and kafka) we have both 
`volumeClaimTemplate` and `PVC` objects.  We use one or the other depending on 
the value of `replicaCount`.   volumes created from `volumeClaimTemplates` have 
the annoying property that they have to be manually removed (deleting the 
StatefulSet doesn’t delete volumes created by volumeClaimTemplates).  So we 
only use volumeClaimTemplate when we absolutely have to (replicaCount &gt; 1).
+1 : chetanm
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562162634008100
----
2019-07-03 14:05:56 UTC - Dave Grove: re affinity, I think you are right.  what 
we are doing doesn’t look right.
https://openwhisk-team.slack.com/archives/C4J3R7JFL/p1562162756008900
----

Reply via email to