podAnnotations¶
podAnnotations
value in Kubedeploy can be used to define additional Pod annotations.
Note
By default no extra podAnnotations
are defined.
Define extra podAnnotations
values.yaml | |
---|---|
If your cluster is using Karpenter for cluster scalig, with the above example You can block Karpenter from voluntarily choosing to disrupt certain pods by setting the karpenter.sh/do-not-evict: "true"
annotation on the pod.
This is useful for pods that you want to run from start to finish without disruption. By opting pods out of this disruption, you are telling Karpenter that it should not voluntarily remove a node containing this pod.
See also: