
Kubernetes क्लस्टर्स के लिए Netflix के Chaos Monkey का एक कार्यान्वयन
kube-monkey, Kubernetes क्लस्टर के लिए Netflix के Chaos Monkey का एक कार्यान्वयन है। यह क्लस्टर में मौजूद pods को बेतरतीब ढंग से हटा देता है, जिससे विफलता-सहिष्णु सेवाओं के विकास को प्रोत्साहन और सत्यापन मिलता है।
ऐप्स एक label के ज़रिए opt in करते हैं, terminations आपके चुने हुए घंटों और दिनों के दौरान होते हैं, और dry run डिफ़ॉल्ट है, इसलिए जब तक आप न कहें, कुछ भी नहीं मरता।
helm repo add kubemonkey https://asobti.github.io/kube-monkey/charts/repo
helm repo update
helm install kube-monkey kubemonkey/kube-monkey --namespace kube-system
किसी ऐप को label लगाकर opt in करें:
metadata:
labels:
kube-monkey/enabled: enabled
kube-monkey/identifier: monkey-victim
kube-monkey/mtbf: "2"
यह dry run मोड में एक kube-monkey है और एक ऐप जो उम्मीद करता है कि लगभग दो में से एक run दिन पर उसका एक pod खो जाएगा। पूरी जानकारी के लिए Getting started देखें, जिसमें यह भी शामिल है कि किसी live namespace पर भरोसा करने से पहले एक वास्तविक termination कैसे देखें।
How to contribute देखें। Kubernetes Slack पर #kube-monkey पर हमसे जुड़ें।
Apache License v2.0 - विवरण के लिए LICENSE देखें।
| Getting started | इंस्टॉल से लेकर आपके पहले termination तक |
| How it works | Scheduling time और termination time |
| Opting in to chaos | Labels, और kill modes |
| Configuration | हर सेटिंग और उसका डिफ़ॉल्ट |
| Helm chart | Values और सामान्य इंस्टॉल |
| Metrics | Prometheus endpoint |
| Notifications | हमलों को Slack या अपने API पर पोस्ट करें |