Advanced
Kubernetes Custom Controller Design
Develop a custom Kubernetes controller for specific workloads.
📝 Contenu du Prompt
Outline the design and implementation of a Kubernetes Custom Controller (Operator) using the Kubebuilder framework. The controller should manage a custom resource defining 'BatchJobs' with specific retry policies and inter-job dependencies. Describe the reconciliation loop logic, how you would handle finalizers for clean-up, and the strategy for testing the controller locally using `envtest`.