Open cvalaas opened 10 months ago
+1 This has just caused me issues upgrading my Kubernetes node pool version, it's preventing upgrades. Obviously this is a serious security issue if the nodes cannot be upgraded.
As a work around I've had to manually delete the PDB which also isn't great for uptime reliability
+1 sounds reasonable
By default, the telegraf deployments have 1 replica and a PDB of
MinAvailable: 1
, this makes the pods unevictable and scaling down kubernetes nodes not possible. I would suggest changingpdb: create:
to false as the default inhelm-charts/charts/telegraf/values.yaml
See here:
https://kubernetes.io/docs/tasks/run-application/configure-pdb/