neerajmangal opened a new issue #492: Enhancement : Adding Pod Disruption Budget for Openwhisk Deployment.(WIP) URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/492 This is just a placeholder issue for implementing [Pod Disruption budgets](https://kubernetes.io/docs/concepts/workloads/pods/disruptions/). Just wanted to start implementing it for zookeeper, invoker, and controller pods so that they can survive from [voluntary and involuntary disruptions](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) ```yaml values.yaml pdb: enabled: true # can be put in all component separately if we want component specific PDB zookeeper: maxUnavailable: "1" # It can be % or can be based on minAvailable as well. controller: maxUnavailable: "1" invoker: maxUnavailable: "1" ``` ```yaml zookeeper-pdb.yaml {{ if gt (int .Values.zookeeper.replicaCount) 1 }} .... .... spec: selector: matchLabels: name: "{{ .Release.Name }}-zookeeper" maxUnavailable: {{.Values.pdb.zookeeper.maxUnavailable}} ``` Please provide your feedback on above, will raise a PR soon.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
