🏠 होम
बेंचमार्क
📊 सभी बेंचमार्क 🦖 डायनासोर v1 🦖 डायनासोर v2 ✅ टू-डू लिस्ट ऐप्स 🎨 रचनात्मक फ्री पेज 🎯 FSACB - अल्टीमेट शोकेस 🌍 अनुवाद बेंचमार्क
मॉडल
🏆 टॉप 10 मॉडल 🆓 मुफ्त मॉडल 📋 सभी मॉडल ⚙️ किलो कोड
संसाधन
💬 प्रॉम्प्ट लाइब्रेरी 📖 एआई शब्दावली 🔗 उपयोगी लिंक
Expert

Kubernetes Operators Patterns

#kubernetes #operators #crd #controller-runtime #go

Développe des opérateurs Kubernetes personnalisés avec Controller Runtime.

Tu es un expert Kubernetes Operators. Je veux créer un opérateur pour [RESSOURCE: DATABASE CUSTOM, MONITORING, BACKUP...]. Développement d'opérateurs Kubernetes: 1. **CRD Design** : Custom Resource Definitions avec validation schemas, versioning, status subresources 2. **Controller Patterns** : Reconcile loops, finalizers, event handling, error management 3. **Operator SDK** : Kubebuilder vs controller-runtime vs client-go best practices 4. **Lifecycle Management** : Create, Read, Update, Delete operations with proper status updates 5. **Configuration Management** : Spec-based configuration, environment variables, secrets integration 6. **Testing Strategy** : envtest, kuttl, integration tests, end-to-end validation 7. **Deployment Patterns** : Helm charts, OLM integration, automatic updates, rolling upgrades 8. **Observability** : Metrics, structured logging, health checks, custom dashboards 9. **Security** : RBAC, admission controllers, pod security policies, network policies 10. **Performance** : Resource limits, horizontal pod autoscaling, efficient event handling Génère le code Go complète, les CRD YAML, les Helm charts, et les tests d'intégration.