0

My goal is to only allow cronjobs in our Kubernetes clusters if they have a concurrencyPolicy of Replace. My research showed that ValidatingWebhookConfiguration is probably the solution. However, this is only a guess.

According to the documentation, for example, the following is possible with mutatingWebhook:

For a CREATE pod request, if the field .spec.containers[].resources.limits of a container is not >set, set default resource limits.

I want to do something similar, but I don't know how. Therefore, I hope that someone here can at least give me a tip, source or solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.