{"id":313616,"date":"2020-11-23T15:01:26","date_gmt":"2020-11-23T15:01:26","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=313616"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=313616","title":{"rendered":"\u041e\u0431\u0437\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f chaos engineering \u0432 Kubernetes. \u0427\u0430\u0441\u0442\u044c 1: kube-monkey, chaoskube, Chaos Mesh"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ye\/pu\/6i\/yepu6ic4ntvw2nn-rcxwrmcx8lm.png\"><\/p>\n<p>  \u0425\u0430\u043e\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043b\u044f Kubernetes \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0435\u0435, \u0438 \u044d\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e: \u0432\u0435\u0434\u044c \u0442\u0430\u043a\u0430\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0431\u044b\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u00ab\u043e\u0442\u0441\u0442\u0440\u0435\u043b\u0438\u043b\u043e\u00bb. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u044d\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445.<\/p>\n<p>  \u0411\u043b\u0430\u0433\u043e, \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0435 \u043e\u0434\u043d\u043e Open Source-\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0449\u0435\u0435 \u0432 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0445. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0438\u0445 \u043e\u0431\u0437\u043e\u0440. \u041e\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043e\u0431\u044a\u0451\u043c\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438: \u0432 \u044d\u0442\u043e\u0439 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u0440\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<a name=\"habracut\"><\/a><\/p>\n<h2>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>  \u0418\u0441\u0442\u043e\u0440\u0438\u044f chaos engineering \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0432 2011, \u043a\u043e\u0433\u0434\u0430 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Netflix \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0430\u044f \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u0443\u044e \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e \u0443\u0431\u0435\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a, \u043e\u043d\u0438 \u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 <a href=\"https:\/\/github.com\/Netflix\/chaosmonkey\">Chaos Monkey<\/a>.<\/p>\n<p>  \u0421\u0443\u0442\u044c \u044d\u0442\u043e\u0439 \u00ab\u043e\u0431\u0435\u0437\u044c\u044f\u043d\u044b\u00bb \u0441\u0432\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0443\u0431\u0438\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0431\u0443\u0434\u044c \u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0438 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a <a href=\"https:\/\/netflixtechblog.com\/chaos-engineering-upgraded-878d341f15fa\">\u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044e Chaos Kong<\/a> \u2014 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0440\u0443\u0431\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u0442\u0440\u0451\u0445 \u0440\u0435\u0433\u0438\u043e\u043d\u043e\u0432 AWS. \u0412\u043e\u0442 \u044d\u0442\u043e \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438!<\/p>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c \u0436\u0435, \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u0445\u0430\u043e\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0448\u0438\u0440\u0435, \u0447\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u00ab\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e\u00bb \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u043d\u043e\u0432\u043e\u0439 \u043d\u0430\u0443\u043a\u0438 \u2014 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043b\u0438\u0431\u043e \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043b\u0438\u0431\u043e \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \/ \u043d\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u00ab\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e\u043c\u00bb \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f: \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0451 \u0443\u043c\u0435\u043b\u043e \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0430\u043b\u043a\u0438 \u0432 \u043a\u043e\u043b\u0451\u0441\u0430 \u0438 \u0434\u0438\u0441\u043a\u043e\u0432\u0443\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0440\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0434\u0436\u0430\u0440\u0438\u0432\u0430\u0442\u044c CPU \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e\u2026 \u043e\u0441\u043e\u0431\u043e \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0434\u0430\u0436\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 \u044f\u0434\u0440\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e pod&#8217;\u0430 (\u043a\u0430\u043a \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435, cgroups?).<\/p>\n<p>  \u041d\u043e \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0445\u0430\u043e\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0435 \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0432\u043e\u043c \u2014 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/460367\/\">\u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439<\/a>, \u0447\u0442\u043e \u043c\u044b \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043b\u0438 \u0434\u043b\u044f \u0445\u0430\u0431\u0440\u044b.<\/p>\n<p>  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u0436\u0435 \u043a \u00ab\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443\u00bb Chaos Monkey: \u044d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0431\u044b\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 Netflix. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u043d\u0430 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e\u0439 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 <a href=\"https:\/\/spinnaker.io\/\">Spinnaker<\/a>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043b\u044e\u0431\u044b\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0442\u0430\u043c \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u043c: AWS, Google Compute Engine, Azure, Kubernetes, Cloud Foundry.<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0442\u0430\u043a\u043e\u0435, \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0442\u0430\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\/\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Chaos Monkey \u0434\u043b\u044f Kubernetes (\u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441\u043e Spinnaker) \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 <a href=\"https:\/\/netflix.github.io\/chaosmonkey\/How-to-deploy\/\">\u043e\u0447\u0435\u043d\u044c \u0434\u0430\u043b\u0435\u043a\u0430<\/a> \u043e\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0433\u043e Helm-\u0447\u0430\u0440\u0442\u0430\u2026 \u0414\u0430\u043b\u0435\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f chaos engineering, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f K8s.<\/p>\n<h2>1. kube-monkey<\/h2>\n<p>  <\/p>\n<ul>\n<li>GitHub: <a href=\"https:\/\/github.com\/asobti\/kube-monkey\">https:\/\/github.com\/asobti\/kube-monkey<\/a><\/li>\n<li>\u0417\u0432\u0451\u0437\u0434\u044b \/ \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u043e\u0440\u044b: ~1800 \/ 20+<\/li>\n<li>\u042f\u0437\u044b\u043a: Go<\/li>\n<\/ul>\n<p>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0441\u0442\u0430\u0440\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0441\u0440\u0435\u0434\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 Kubernetes: \u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432 \u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0438\u0441\u044c \u0432 \u0434\u0435\u043a\u0430\u0431\u0440\u0435 2016 \u0433\u043e\u0434\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0435\u0433\u043e \u0441\u0440\u0430\u0437\u0443 \u00ab\u0432 \u0434\u0435\u043b\u0435\u00bb \u043d\u0430 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u043c deployment&#8217;\u0435 nginx \u0438\u0437 \u043f\u044f\u0442\u0438 \u0440\u0435\u043f\u043b\u0438\u043a, \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0432\u043e\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442 \u0434\u043b\u044f \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0439:<\/p>\n<pre><code class=\"plaintext\">--- apiVersion: v1 kind: Namespace metadata:   name: test-monkeys spec:   finalizers:   - kubernetes --- apiVersion: apps\/v1 kind: Deployment metadata:   name: nginx   namespace: test-monkeys spec:   selector:     matchLabels:       app: nginx   replicas: 5   template:     metadata:       labels:         app: nginx     spec:       containers:       - name: nginx         image: nginx:1.16         ports:         - containerPort: 80 --- <\/code><\/pre>\n<p>  <a href=\"https:\/\/github.com\/asobti\/kube-monkey\/blob\/master\/helm\/kubemonkey\/README.md\">\u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u0447\u0430\u0440\u0442<\/a> \u0441 kube-monkey \u2014 \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u044b:<\/p>\n<pre><code class=\"bash\">$ git clone https:\/\/github.com\/asobti\/kube-monkey $ cd kube-monkey\/helm<\/code><\/pre>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u0437 <code>README.md<\/code>, \u0447\u0442\u043e\u0431\u044b \u00ab\u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0430\u00bb \u0436\u0438\u043b\u0430 \u0432 \u0441\u0432\u043e\u0451\u043c namespace \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0434\u0432\u0435\u043d\u0430\u0434\u0446\u0430\u0442\u044c \u043d\u043e\u0447\u0438 \u043f\u043e \u041c\u043e\u0441\u043a\u0432\u0435, \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044f \u0437\u0430 \u0447\u0430\u0441 \u0434\u043e \u043f\u043e\u043b\u0443\u043d\u043e\u0447\u0438 (\u0442\u0430\u043a\u043e\u0435 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b\u043e \u043d\u0430\u043c \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438):<\/p>\n<pre><code class=\"bash\">$ helm install -n kubemonkey --namespace kubemonkey --set config.dryRun=false --set config.runHour=0 --set config.startHour=1 --set config.endHour=23 --set config.timeZone=Europe\/Moscow --set config.debug.schedule_immediate_kill=true --set config.debug.enabled=true kubemonkey <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u00ab\u043d\u0430\u0442\u0440\u0430\u0432\u0438\u0442\u044c\u00bb \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0443 \u043d\u0430 nginx \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043b\u0435\u0439\u0431\u043b\u043e\u0432. Kube-monkey \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 <i>opt-in<\/i>, \u0442.\u0435. \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0442\u0435\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0443\u0431\u0438\u0432\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">$ kubectl -n test-monkeys label deployment nginx kube-monkey\/enabled=enabled $ kubectl -n test-monkeys label deployment nginx kube-monkey\/kill-mode=random-max-percent $ kubectl -n test-monkeys label deployment nginx kube-monkey\/kill-value=100 $ kubectl -n test-monkeys label deployment nginx kube-monkey\/identifier=nginx<\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f \u043f\u043e \u043b\u0435\u0439\u0431\u043b\u0430\u043c:<\/p>\n<ul>\n<li>\u0412\u0442\u043e\u0440\u043e\u0439 \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 (<code>kill-mode<\/code>, <code>kill-value<\/code>) \u0433\u043e\u0432\u043e\u0440\u044f\u0442 kube-monkey \u0443\u0431\u0438\u0432\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e pod&#8217;\u043e\u0432 \u0438\u0437 StatefulSets\/Deployments\/DaemonSets, \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e 100%.<\/li>\n<li>\u0427\u0435\u0442\u0432\u0451\u0440\u0442\u044b\u0439 (<code>identifier<\/code>) \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043b\u0435\u0439\u0431\u043b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 kube-monkey \u043d\u0430\u0439\u0434\u0451\u0442 \u0436\u0435\u0440\u0442\u0432.<\/li>\n<li>\u041f\u044f\u0442\u044b\u0439 (<code>mtbf<\/code> \u2014 mean time between failure) \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043c\u0435\u0436\u0434\u0443 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430\u043c\u0438 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u0435\u043d \u0435\u0434\u0438\u043d\u0438\u0446\u0435).<\/li>\n<\/ul>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u044f\u0442\u044c \u043b\u0435\u0439\u0431\u043b\u043e\u0432 \u2014 \u044d\u0442\u043e \u043c\u043d\u043e\u0433\u043e\u0432\u0430\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c \u0438 \u043a\u043e\u0433\u043e-\u0442\u043e \u043f\u043e\u0443\u0431\u0438\u0432\u0430\u0442\u044c\u2026 \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c <a href=\"https:\/\/github.com\/asobti\/kube-monkey\/pull\/168\">pull request<\/a> \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b <code>mtbf<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0434\u043d\u044f\u0445 (\u043d\u043e \u0438 \u0432 \u0447\u0430\u0441\u0430\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0447\u0430\u0449\u0435 \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u0437\u043b\u043e\u0434\u0435\u044f\u043d\u0438\u044f). \u041e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u0432\u0438\u0441\u0438\u0442 \u0441 5 \u0444\u0435\u0432\u0440\u0430\u043b\u044f \u0431\u0435\u0437 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u041e\u043a, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043b\u043e\u0433\u0438 \u043e\u0431\u0435\u0437\u044c\u044f\u043d\u043a\u0438 \u0438 \u0443\u0432\u0438\u0434\u0438\u043c \u0432 \u043a\u043e\u043d\u0446\u0435:<\/p>\n<pre><code class=\"plaintext\">I0831 18:14:53.772484       1 kubemonkey.go:20] Status Update: Generating next schedule in 30 sec I0831 18:15:23.773017       1 schedule.go:64] Status Update: Generating schedule for terminations I0831 18:15:23.811425       1 schedule.go:57] Status Update: 1 terminations scheduled today I0831 18:15:23.811462       1 schedule.go:59] v1.Deployment nginx scheduled for termination at 08\/31\/2020 21:16:11 +0300 MSK I0831 18:15:23.811491       1 kubemonkey.go:62] Status Update: Waiting to run scheduled terminations.  ********** Today's schedule ********** k8 Api Kind    Kind Name        Termination Time -----------    ---------        ---------------- v1.Deployment    nginx        08\/31\/2020 21:16:11 +0300 MSK ********** End of schedule **********<\/code><\/pre>\n<p>  \u0423\u0440\u0430! Chaos-monkey \u043d\u0430\u0448\u043b\u0430 deployment \u0438 \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0439 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0438\u0437 \u0435\u0433\u043e \u0440\u0435\u043f\u043b\u0438\u043a. \u041d\u043e \u0447\u0442\u043e \u0436\u0435 \u044d\u0442\u043e \u0438 \u043f\u043e\u0447\u0435\u043c\u0443?<\/p>\n<pre><code class=\"plaintext\">E0831 18:16:11.869463       1 kubemonkey.go:68] Failed to execute termination for v1.Deployment nginx. Error: v1.Deployment nginx has no running pods at the moment<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043c\u0430\u043d\u0443\u0430\u043b \u0435\u0449\u0451 \u0440\u0430\u0437 \u0438 \u0443\u0432\u0438\u0434\u0438\u043c (\u0441 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c <code>apiVersion<\/code>, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e):<\/p>\n<blockquote><p><i>For newer versions of kubernetes you may need to add the labels to the k8s app metadata as well.<\/i><\/p>\n<pre><code class=\"plaintext\">--- apiVersion: extensions\/v1beta1 kind: Deployment metadata:   name: monkey-victim   namespace: app-namespace   labels:     kube-monkey\/enabled: enabled     kube-monkey\/identifier: monkey-victim     kube-monkey\/mtbf: '2'     kube-monkey\/kill-mode: &quot;fixed&quot;     kube-monkey\/kill-value: '1' spec:   template:     metadata:       labels:         kube-monkey\/enabled: enabled         kube-monkey\/identifier: monkey-victim [... omitted ...]<\/code><\/pre>\n<\/blockquote>\n<p>  \u041e\u043a, \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430\u0448 \u0448\u0430\u0431\u043b\u043e\u043d \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c deployment&#8217;\u0430 \u043d\u0430:<\/p>\n<pre><code class=\"plaintext\">--- apiVersion: apps\/v1 kind: Deployment metadata:   name: nginx   namespace: test-monkeys   labels:     kube-monkey\/enabled: enabled     kube-monkey\/identifier: nginx     kube-monkey\/kill-mode: random-max-percent     kube-monkey\/kill-value: &quot;100&quot;     kube-monkey\/mtbf: &quot;1&quot; spec:   selector:     matchLabels:       app: nginx   replicas: 5   template:     metadata:       labels:         app: nginx         kube-monkey\/enabled: enabled         kube-monkey\/identifier: nginx     spec:       containers:       - name: nginx         image: nginx:1.16         ports:         - containerPort: 80 ---<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<\/p>\n<pre><code class=\"plaintext\">I0831 18:24:20.434516       1 kubemonkey.go:20] Status Update: Generating next schedule in 30 sec I0831 18:24:50.434838       1 schedule.go:64] Status Update: Generating schedule for terminations     ********** Today's schedule **********     k8 Api Kind    Kind Name        Termination Time     -----------    ---------        ----------------     v1.Deployment    nginx        08\/31\/2020 21:25:03 +0300 MSK     ********** End of schedule ********** I0831 18:24:50.481865       1 schedule.go:57] Status Update: 1 terminations scheduled today I0831 18:24:50.481917       1 schedule.go:59] v1.Deployment nginx scheduled for termination at 08\/31\/2020 21:25:03 +0300 MSK I0831 18:24:50.481971       1 kubemonkey.go:62] Status Update: Waiting to run scheduled terminations. I0831 18:25:03.540282       1 kubemonkey.go:70] Termination successfully executed for v1.Deployment nginx I0831 18:25:03.540324       1 kubemonkey.go:73] Status Update: 0 scheduled terminations left. I0831 18:25:03.540338       1 kubemonkey.go:76] Status Update: All terminations done. I0831 18:25:03.540499       1 kubemonkey.go:19] Debug mode detected! I0831 18:25:03.540522       1 kubemonkey.go:20] Status Update: Generating next schedule in 30 sec<\/code><\/pre>\n<p>  \u041e\u043a, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u0432\u0435\u0441\u044c\u043c\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e. \u0425\u043e\u0442\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0447\u0435\u043c \u043c\u043e\u0433\u043b\u043e \u0431\u044b\u0442\u044c, \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0433\u0438\u0431\u043a\u043e, \u0434\u0430 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441\u043e\u0432\u0441\u0435\u043c \u043c\u0430\u043b\u043e. \u0411\u044b\u0432\u0430\u044e\u0442 \u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435:<\/p>\n<pre><code class=\"plaintext\">I0831 18:30:33.163500       1 kubemonkey.go:19] Debug mode detected! I0831 18:30:33.163513       1 kubemonkey.go:20] Status Update: Generating next schedule in 30 sec I0831 18:31:03.163706       1 schedule.go:64] Status Update: Generating schedule for terminations I0831 18:31:03.204975       1 schedule.go:57] Status Update: 1 terminations scheduled today     ********** Today's schedule **********     k8 Api Kind    Kind Name        Termination Time     -----------    ---------        ----------------     v1.Deployment    nginx        08\/31\/2020 21:31:45 +0300 MSK     ********** End of schedule ********** I0831 18:31:03.205027       1 schedule.go:59] v1.Deployment nginx scheduled for termination at 08\/31\/2020 21:31:45 +0300 MSK I0831 18:31:03.205080       1 kubemonkey.go:62] Status Update: Waiting to run scheduled terminations. E0831 18:31:45.250587       1 kubemonkey.go:68] Failed to execute termination for v1.Deployment nginx. Error: no terminations requested for v1.Deployment nginx I0831 18:31:45.250634       1 kubemonkey.go:73] Status Update: 0 scheduled terminations left. I0831 18:31:45.250649       1 kubemonkey.go:76] Status Update: All terminations done. I0831 18:31:45.250828       1 kubemonkey.go:19] Debug mode detected!<\/code><\/pre>\n<p>  <\/p>\n<h2>2. chaoskube<\/h2>\n<p>  <\/p>\n<ul>\n<li>GitHub: <a href=\"https:\/\/github.com\/linki\/chaoskube\">https:\/\/github.com\/linki\/chaoskube<\/a><\/li>\n<li>\u0417\u0432\u0451\u0437\u0434\u044b \/ \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u043e\u0440\u044b: ~1200 \/ 20+<\/li>\n<li>\u042f\u0437\u044b\u043a: Go<\/li>\n<\/ul>\n<p>  \u042d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0435\u0439: \u043f\u0435\u0440\u0432\u044b\u0439 \u0435\u0451 \u0440\u0435\u043b\u0438\u0437 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432 \u043d\u043e\u044f\u0431\u0440\u0435 2016 \u0433\u043e\u0434\u0430. \u0423 chaoskube \u0435\u0441\u0442\u044c <a href=\"https:\/\/hub.kubeapps.com\/charts\/stable\/chaoskube\">\u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0447\u0430\u0440\u0442<\/a> \u0438 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043c\u0430\u043d\u0443\u0430\u043b \u043f\u043e \u043d\u0435\u043c\u0443. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 dry-run, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u043c deployment&#8217;\u0435 \u0441 nginx, \u0436\u0438\u0432\u0443\u0449\u0435\u043c \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d <code>test-monkey<\/code>, \u0438 \u0443\u043a\u0430\u0436\u0435\u043c \u043e\u043f\u0446\u0438\u044e \u043f\u0440\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 RBAC (\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 \u0440\u043e\u043b\u0438 <code>default<\/code> \u043d\u0435\u0442 \u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u0440\u0430\u0432):<\/p>\n<pre><code class=\"bash\">$ helm install --name chaoskube --set dryRun=false --set namespaces=&quot;test-monkeys&quot; --set rbac.create=true --set rbac.serviceAccountName=chaoskube stable\/chaoskube<\/code><\/pre>\n<p>  \u2026 \u0434\u0435\u043b\u043e \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0448\u043b\u043e!<\/p>\n<pre><code class=\"bash\">$ kubectl -n default logs chaoskube-85f8bf9979-j75qm time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;starting up&quot; dryRun=false interval=10m0s version=v0.14.0 time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;connected to cluster&quot; master=&quot;https:\/\/10.222.0.1:443&quot; serverVersion=v1.16.10 time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;setting pod filter&quot; annotations= excludedPodNames=&quot;&lt;nil&gt;&quot; includedPodNames=&quot;&lt;nil&gt;&quot; labels= minimumAge=0s namespaces=test-monkeys time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;setting quiet times&quot; daysOfYear=&quot;[]&quot; timesOfDay=&quot;[]&quot; weekdays=&quot;[]&quot; time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;setting timezone&quot; location=UTC name=UTC offset=0 time=&quot;2020-09-01T08:33:11Z&quot; level=info msg=&quot;terminating pod&quot; name=nginx-594cc45b78-8kf64 namespace=test-monkeys time=&quot;2020-09-01T08:43:11Z&quot; level=info msg=&quot;terminating pod&quot; name=nginx-594cc45b78-t7wx7 namespace=test-monkeys time=&quot;2020-09-01T08:53:11Z&quot; level=info msg=&quot;terminating pod&quot; name=nginx-594cc45b78-8fg9q namespace=test-monkeys time=&quot;2020-09-01T09:03:11Z&quot; level=info msg=&quot;terminating pod&quot; name=nginx-594cc45b78-wf5vg namespace=test-monkeys<\/code><\/pre>\n<p>  \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f: \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u044f\u0441, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043b\u0435\u0439\u0431\u043b\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0438\u0449\u0443\u0442\u0441\u044f pod&#8217;\u044b-\u0436\u0435\u0440\u0442\u0432\u044b, \u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u043e\u0434\u0432\u043e\u0434\u044f \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0438\u0442\u043e\u0433: \u0445\u043e\u0440\u043e\u0448\u0438\u0439, \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043d\u043e, \u043a\u0430\u043a \u0438 kube-monkey, \u0443\u043c\u0435\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0431\u0438\u0432\u0430\u0442\u044c pod&#8217;\u044b.<\/p>\n<h2>3. Chaos Mesh<\/h2>\n<p>  <\/p>\n<ul>\n<li>GitHub: <a href=\"https:\/\/github.com\/chaos-mesh\/chaos-mesh\">https:\/\/github.com\/chaos-mesh\/chaos-mesh<\/a> <\/li>\n<li>\u0417\u0432\u0451\u0437\u0434\u044b \/ \u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u043e\u0440\u044b: 2400 \/ 50+<\/li>\n<li>\u042f\u0437\u044b\u043a: Go<\/li>\n<\/ul>\n<p>  Chaos Mesh \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432:<\/p>\n<ol>\n<li>Chaos Operator \u2014 \u00ab\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0445\u0430\u043e\u0441\u0430\u00bb, \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437:<br \/> \n<ol>\n<li>controller-manager (\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 Custom Resources),<\/li>\n<li>chaos-daemon (\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 daemonset \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0442\u044c\u044e, cgroups \u0438 \u0442.\u0434.),<\/li>\n<li>sidecar-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e\u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 pod, \u0447\u0442\u043e\u0431\u044b \u0432\u043c\u0435\u0448\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 I\/O \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/li>\n<\/ol>\n<\/li>\n<li>Chaos Dashboard \u2014 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0445\u0430\u043e\u0441-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430<\/li>\n<\/ol>\n<p>  \u041f\u0440\u043e\u0435\u043a\u0442 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 CNCF \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 PingCAP, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439, Open Source, cloud-native SQL-\u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u2014 TiDB (\u043c\u044b <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/421903\/\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> \u043f\u0440\u043e \u0435\u0451 \u00ab\u0441\u043e\u0431\u0440\u0430\u0442\u0430\u00bb \u2014 TiKV, \u2014 \u0442\u043e\u0436\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0432 \u0447\u0438\u0441\u043b\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 CNCF).<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u00ab\u0445\u0430\u043e\u0441-\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 CRD \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0445\u0430\u043e\u0441\u0430. \u0412\u0441\u0435\u0433\u043e \u0438\u0445 \u0448\u0435\u0441\u0442\u044c \u0442\u0438\u043f\u043e\u0432: <code>PodChaos<\/code>, <code>NetworkChaos<\/code>, <code>IOChaos<\/code>, <code>TimeChaos<\/code>, <code>StressChaos<\/code> \u0438 <code>KernelChaos<\/code>. \u0410 \u0432\u043e\u0442 \u043a\u0430\u043a\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (\u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b):<\/p>\n<ul>\n<li>pod-kill \u2014 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e pod&#8217;\u0430;<\/li>\n<li>pod-failure \u2014 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c pod&#8217;\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 (\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0435) \u0432\u0440\u0435\u043c\u044f;<\/li>\n<li>container-kill \u2014 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 pod&#8217;\u0430;<\/li>\n<li>netem chaos \u2014 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438, \u043f\u043e\u0432\u0442\u043e\u0440\u044b \u043f\u0430\u043a\u0435\u0442\u043e\u0432;<\/li>\n<li>network-partition \u2014 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u0440\u0430\u0441\u043f\u0430\u0434\u0430 \u0441\u0435\u0442\u0438 \u043d\u0430 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b;<\/li>\n<li>IO chaos \u2014 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0434\u0438\u0441\u043a\u043e\u043c \u0438 \u0447\u0442\u0435\u043d\u0438\u0435\u043c\/\u0437\u0430\u043f\u0438\u0441\u044c\u044e;<\/li>\n<li>time chaos \u2014 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432 pod&#8217;\u0435;<\/li>\n<li>cpu-burn \u2014 \u0441\u0442\u0440\u0435\u0441\u0441 CPU;<\/li>\n<li>memory-burn \u2014 \u0441\u0442\u0440\u0435\u0441\u0441 \u043f\u0430\u043c\u044f\u0442\u0438;<\/li>\n<li>kernel chaos \u2014 \u0436\u0435\u0440\u0442\u0432\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u044f\u0434\u0440\u0430, \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0431\u043b\u043e\u0447\u043d\u044b\u043c I\/O.<\/li>\n<\/ul>\n<p>  \u041e\u0431\u044a\u044f\u0432\u043b\u044f\u044f \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u043d\u0443\u0436\u043d\u044b\u0445 \u043d\u0430\u043c Custom Resource, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043d\u0451\u043c \u0442\u0438\u043f\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043b\u0435\u0439\u0431\u043b\u044b \u0438 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u044b \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u0435\u0432\u044b\u0445 namespace \u0438\u043b\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 pod&#8217;\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u2014 \u0432 \u043e\u0431\u0449\u0435\u043c, \u0432\u0441\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u00ab\u0432\u0435\u0441\u0435\u043b\u044c\u044f\u00bb.<br \/>  \u0417\u0432\u0443\u0447\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0434\u0430? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c! \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u2014 <a href=\"https:\/\/chaos-mesh.org\/docs\/installation\/installation#install-by-helm\">\u0441\u043d\u043e\u0432\u0430 \u0441 Helm<\/a>.<\/p>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c <code>--set dashboard.create=true<\/code>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u0438 \u0441 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c\u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0430\u043c\u0438! \u0427\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u043c\u0438\u043d\u0443\u0442 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0446\u0435\u043b\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d \u0438\u0437 \u043f\u043e\u0432\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439 \u0445\u0430\u043e\u0441\u0430 \u2014 \u043f\u043e\u043a\u0430 \u0435\u0449\u0451 \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445, \u043d\u043e \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043a \u0440\u0430\u0431\u043e\u0442\u0435:<\/p>\n<pre><code class=\"bash\">$ kubectl -n chaos-testing get po NAME                                       READY   STATUS    RESTARTS   AGE chaos-controller-manager-bb67cb68f-qpmvf   1\/1     Running   0          68s chaos-daemon-krqsh                         1\/1     Running   0          68s chaos-daemon-sk7qf                         1\/1     Running   0          68s chaos-daemon-wn9sd                         1\/1     Running   0          68s chaos-dashboard-7bd8896c7d-t94pt           1\/1     Running   0          68s<\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b chaos-mesh \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d <a href=\"https:\/\/chaos-mesh.org\/docs\/user_guides\/run_chaos_experiment\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043c\u0430\u043d\u0443\u0430\u043b<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430. \u0421 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f, \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f (<a href=\"https:\/\/github.com\/chaos-mesh\/web-show\">https:\/\/github.com\/chaos-mesh\/web-show<\/a>) \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f Deployment \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 React \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f IP-\u0430\u0434\u0440\u0435\u0441 pod&#8217;\u0430 <code>kube-controller-manager<\/code> (\u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430, \u0435\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0430\u0441\u0442\u0435\u0440, \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439). \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u044d\u0442\u043e\u0442 pod \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e \u043f\u0438\u043d\u0433\u043e\u0432\u0430\u0442\u044c pod controller-manager&#8217;\u0430 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u044d\u0442\u043e\u0442 ping.<\/p>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0433\u0440\u0430\u0444\u0438\u043a \u043d\u0430\u0440\u0443\u0436\u0443 \u0447\u0435\u0440\u0435\u0437 Ingress, \u0430 \u043d\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u0437 <code>deploy.sh<\/code> (<code>nohup kubectl port-forward svc\/web-show --address 0.0.0.0 8081:8081<\/code>). \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c Deployment \u0438 Service \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043b\u044e\u0431\u043e\u0439 Ingress \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043d\u0430\u0440\u0443\u0436\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xt\/6b\/lo\/xt6blo6eeetkfwketdcbllnnbpm.png\"><\/p>\n<p>  \u041f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u043a. \u0421\u0443\u0434\u044f \u043f\u043e \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0443 ST, \u0443 \u043f\u0430\u0446\u0438\u0435\u043d\u0442\u0430 \u043e\u0441\u0442\u0440\u044b\u0439 \u0438\u043d\u0444\u0430\u0440\u043a\u0442! \u0421\u0442\u043e\u043f, \u044d\u0442\u043e \u0436\u0435 \u043d\u0435 \u043a\u0430\u0440\u0434\u0438\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u2026 \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c <a href=\"https:\/\/github.com\/chaos-mesh\/web-show\/blob\/master\/chaos\/network-delay.yaml\">\u0437\u0430\u043a\u043b\u0438\u043d\u0430\u043d\u0438\u0435 \u0445\u0430\u043e\u0441\u0430<\/a>, \u0441\u043b\u0435\u0433\u043a\u0430 \u043f\u043e\u0434\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0432 \u0435\u0433\u043e \u0434\u043b\u044f \u043f\u0443\u0449\u0435\u0439 \u043a\u0440\u0430\u0441\u043e\u0442\u044b:<\/p>\n<pre><code class=\"json\">apiVersion: chaos-mesh.org\/v1alpha1 kind: NetworkChaos metadata:   name: web-show-network-delay spec:   action: delay # the specific chaos action to inject   mode: one # the mode to run chaos action; supported modes are one\/all\/fixed\/fixed-percent\/random-max-percent   selector: # pods where to inject chaos actions     namespaces:       - test-monkeys     labelSelectors:       &quot;app&quot;: &quot;web-show&quot;  # the label of the pod for chaos injection   delay:     latency: &quot;50ms&quot;   duration: &quot;10s&quot; # duration for the injected chaos experiment   scheduler: # scheduler rules for the running time of the chaos experiments about pods.     cron: &quot;@every 60s&quot;<\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0430\u044f \u043d\u0430\u043c\u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u00ab\u043f\u0438\u043b\u0430\u00bb, \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e netem chaos \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0443\u0436\u0435 \u0442\u043e\u0447\u043d\u043e \u0438\u043d\u0444\u0430\u0440\u043a\u0442.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/j9\/eb\/v2\/j9ebv2_utcyfcruusdn2ppzuvvm.png\"><\/p>\n<p>  \u0410 \u0432\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 chaos-dashboard:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pi\/7r\/hq\/pi7rhqeyxurtz0oqrtrqv8hoepc.png\"><\/p>\n<p>  \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gp\/oz\/1o\/gpoz1o2kvrimaqrt-xbx5jkfolw.png\"><\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/a7\/4i\/ck\/a74ickynbbujqzdhsmyms3wu4nm.png\"><\/p>\n<p>  \u0415\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0432\u0435\u0431-\u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 Custom Resources, \u043d\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043a \u043d\u0435\u043c\u0443 \u043d\u0435\u0442 (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0434\u043e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439!):<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3j\/ui\/fu\/3juifudoej4zvjd6x87tryikruo.png\"><\/p>\n<p>  \u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u043e\u0431\u0437\u043e\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c, \u0447\u0442\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e (25 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2020 \u0433.) \u0443 Chaos Mesh \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0437\u043d\u0430\u043c\u0435\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u2014 <a href=\"https:\/\/chaos-mesh.org\/blog\/chaos-mesh-1.0-chaos-engineering-on-kubernetes-made-easier\/\">\u0440\u0435\u043b\u0438\u0437 \u0432\u0435\u0440\u0441\u0438\u0438 1.0<\/a>.<\/p>\n<h2>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442<\/h2>\n<p>  \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b Litmus Chaos, Chaos Toolkit, \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0445\u0430\u043e\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430 \u0432 Kubernetes \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0432\u0435\u0434\u0451\u043d \u043e\u0431\u0449\u0438\u0439 \u0438\u0442\u043e\u0433.<\/p>\n<h2>P.S.<\/h2>\n<p>  \u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0442\u0430\u043a\u0436\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0431\u043b\u043e\u0433\u0435:<\/p>\n<ul>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/460367\/\">Chaos Engineering: \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e \u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0435\u043d\u0438\u044f. \u0427\u0430\u0441\u0442\u044c 1<\/a>\u00bb <i>(\u043f\u0440\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e chaos engineering \u0438 \u043a\u0430\u043a \u043e\u043d \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\/\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043e\u043d\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0443\u0442 \u043a \u0441\u0431\u043e\u044f\u043c production)<\/i>;<\/li>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/465107\/\">Chaos Engineering: \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e \u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0435\u043d\u0438\u044f. \u0427\u0430\u0441\u0442\u044c 2<\/a>\u00bb <i>(\u043a\u0430\u043a chaos engineering \u0441\u043f\u043e\u0441\u043e\u0431\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u043c \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u043d\u044b\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0439)<\/i>;<\/li>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/477994\/\">Chaos Engineering: \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e \u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0435\u043d\u0438\u044f. \u0427\u0430\u0441\u0442\u044c 3<\/a>\u00bb <i>(\u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 chaos engineering \u0441 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u0438\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438)<\/i>.<\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/527664\/\"> https:\/\/habr.com\/ru\/company\/flant\/blog\/527664\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ye\/pu\/6i\/yepu6ic4ntvw2nn-rcxwrmcx8lm.png\"><\/p>\n<p>  \u0425\u0430\u043e\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043b\u044f Kubernetes \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0441\u0451 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0435\u0435, \u0438 \u044d\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e: \u0432\u0435\u0434\u044c \u0442\u0430\u043a\u0430\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0431\u044b\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u00ab\u043e\u0442\u0441\u0442\u0440\u0435\u043b\u0438\u043b\u043e\u00bb. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u044d\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445.<\/p>\n<p>  \u0411\u043b\u0430\u0433\u043e, \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0435 \u043e\u0434\u043d\u043e Open Source-\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0449\u0435\u0435 \u0432 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u0445. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0438\u0445 \u043e\u0431\u0437\u043e\u0440. \u041e\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043e\u0431\u044a\u0451\u043c\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438: \u0432 \u044d\u0442\u043e\u0439 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u0440\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-313616","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313616"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313616\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}