[Feature] To add Karpenter Do Not Disrupt policy for Karpenter 1.x version
Problem Statement
Currently, we are using this Kyverno policy to add the "karpenter.sh/do-not-evict" tag to Kubernetes resources. This tag is not supported in Karpenter version 1.x and has been replaced by the "karpenter.sh/do-not-disrupt" tag. To ensure a smooth upgrade from Karpenter 0.37 to version 1.x, we will need to apply the additional Kyverno policy for add-karpenter-donot-disrupt.
Reference for this change from Karpenter - https://karpenter.sh/v1.0/upgrading/v1-migration/
Solution Description
Adding the policy document for add-karpenter-donot-disrupt to support the Karpenter 1.x version upgrade.
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research
-
I have read and followed the documentation AND the troubleshooting guide. -
I have searched other issues in this repository and mine is not recorded.