{"id":29851,"date":"2019-10-31T21:32:20","date_gmt":"2019-10-31T18:32:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie\/"},"modified":"2019-10-31T21:32:20","modified_gmt":"2019-10-31T18:32:20","slug":"6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie","title":{"rendered":"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/bed059552ed86580939aa18fbdf1553e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod&#8217;\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043a\u0440\u0430\u0442\u043a\u0438\u0445 \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0432\u0430\u0445 \u2014 \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u00ab\u0438\u0437 \u043f\u0435\u0440\u0432\u044b\u0445 \u0440\u0443\u043a\u00bb \u2014 \u0432\u0441\u0435\u0433\u0434\u0430 \u0437\u0430\u043d\u044f\u0442\u043d\u043e, \u0440\u0430\u0437\u0432\u0435 \u043d\u0435 \u0442\u0430\u043a?..<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 1. Supercronic \u0438 \u0437\u0430\u0432\u0438\u0441\u0430\u044e\u0449\u0438\u0439 Docker<\/h2>\n<p>\n\u041d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432 \u043c\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0438 \u00ab\u0437\u0430\u0432\u0438\u0441\u0448\u0438\u0439\u00bb Docker, \u0447\u0442\u043e \u043c\u0435\u0448\u0430\u043b\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u043b\u043e\u0433\u0430\u0445 Docker \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 <\/p>\n<pre><code class=\"plaintext\">level=error msg=\"containerd: start init process\" error=\"exit status 2: \"runtime\/cgo: pthread_create failed: No space left on device\nSIGABRT: abort\nPC=0x7f31b811a428 m=0\n\ngoroutine 0 [idle]:\n\ngoroutine 1 [running]:\nruntime.systemstack_switch() \/usr\/local\/go\/src\/runtime\/asm_amd64.s:252 fp=0xc420026768 sp=0xc420026760\nruntime.main() \/usr\/local\/go\/src\/runtime\/proc.go:127 +0x6c fp=0xc4200267c0 sp=0xc420026768\nruntime.goexit() \/usr\/local\/go\/src\/runtime\/asm_amd64.s:2086 +0x1 fp=0xc4200267c8 sp=0xc4200267c0\n\ngoroutine 17 [syscall, locked to thread]:\nruntime.goexit() \/usr\/local\/go\/src\/runtime\/asm_amd64.s:2086 +0x1\n\n\u2026<\/code><\/pre>\n<p>\n\u0412 \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: <code>pthread_create failed: No space left on device<\/code>. \u0411\u0435\u0433\u043b\u043e\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 <noindex><a rel=\"nofollow\" href=\"http:\/\/man7.org\/linux\/man-pages\/man3\/pthread_create.3.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/noindex> \u043f\u043e\u044f\u0441\u043d\u0438\u043b\u043e, \u0447\u0442\u043e Docker \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0444\u043e\u0440\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u00ab\u0437\u0430\u0432\u0438\u0441\u0430\u043b\u00bb.<\/p>\n<p>\u0412 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u043c\u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0430\u043a\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u0430:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/bd778052c87b338493bae54b26830ef3.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0421\u0445\u043e\u0436\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0437\u043b\u0430\u0445:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/ef512532a95ca982e4342071115dbe9f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/43c32ebca78755dde348ed5e7ac75c79.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041d\u0430 \u044d\u0442\u0438\u0445 \u0436\u0435 \u0443\u0437\u043b\u0430\u0445 \u0432\u0438\u0434\u0438\u043c:<\/p>\n<pre><code class=\"bash\">root@kube-node-1 ~ # ps auxfww | grep curl -c\n19782\nroot@kube-node-1 ~ # ps auxfww | grep curl | head\nroot     16688  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot     17398  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot     16852  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot      9473  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot      4664  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot     30571  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot     24113  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot     16475  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot      7176  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;\nroot      1090  0.0  0.0      0     0 ?        Z    Feb06   0:00      |       _ [curl] &lt;defunct&gt;<\/code><\/pre>\n<p>\n\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u2014 \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b pod\u2019\u0430 \u0441 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/aptible\/supercronic\">supercronic<\/a><\/noindex> (\u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043d\u0430 Go, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 cron-\u0437\u0430\u0434\u0430\u0447 \u0432 pod\u2019\u0430\u0445):<\/p>\n<pre><code class=\"plaintext\"> _ docker-containerd-shim 833b60bb9ff4c669bb413b898a5fd142a57a21695e5dc42684235df907825567 \/var\/run\/docker\/libcontainerd\/833b60bb9ff4c669bb413b898a5fd142a57a21695e5dc42684235df907825567 docker-runc\n|   _ \/usr\/local\/bin\/supercronic -json \/crontabs\/cron\n|       _ \/usr\/bin\/newrelic-daemon --agent --pidfile \/var\/run\/newrelic-daemon.pid --logfile \/dev\/stderr --port \/run\/newrelic.sock --tls --define utilization.detect_aws=true --define utilization.detect_azure=true --define utilization.detect_gcp=true --define utilization.detect_pcf=true --define utilization.detect_docker=true\n|       |   _ \/usr\/bin\/newrelic-daemon --agent --pidfile \/var\/run\/newrelic-daemon.pid --logfile \/dev\/stderr --port \/run\/newrelic.sock --tls --define utilization.detect_aws=true --define utilization.detect_azure=true --define utilization.detect_gcp=true --define utilization.detect_pcf=true --define utilization.detect_docker=true -no-pidfile\n|       _ [newrelic-daemon] &lt;defunct&gt;\n|       _ [curl] &lt;defunct&gt;\n|       _ [curl] &lt;defunct&gt;\n|       _ [curl] &lt;defunct&gt;\n\u2026<\/code><\/pre>\n<p>\n\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c: \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 supercronic, \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u043f\u043e\u0440\u043e\u0436\u0434\u0435\u043d\u043d\u044b\u0439 \u0438\u043c, <b>\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f<\/b>, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81-%D0%B7%D0%BE%D0%BC%D0%B1%D0%B8\">\u0437\u043e\u043c\u0431\u0438<\/a><\/noindex>.<\/p>\n<p><i><b>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/b>: \u0415\u0441\u043b\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0442\u043e\u0447\u043d\u0435\u0435, \u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f cron-\u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438, \u043e\u0434\u043d\u0430\u043a\u043e supercronic \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f init-\u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u00ab\u0443\u0434\u043e\u0447\u0435\u0440\u0438\u0442\u044c\u00bb \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0440\u043e\u0434\u0438\u043b\u0438 \u0435\u0433\u043e \u0434\u0435\u0442\u0438. \u041f\u0440\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 SIGHUP \u0438\u043b\u0438 SIGTERM \u043e\u043d\u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0440\u043e\u0436\u0434\u0451\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0447\u0435\u0433\u043e \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043d\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u044e\u0442\u0441\u044f, \u043e\u0441\u0442\u0430\u0432\u0430\u044f\u0441\u044c \u0432 \u0441\u0442\u0430\u0442\u0443\u0441\u0435 \u0437\u043e\u043c\u0431\u0438. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431\u043e \u0432\u0441\u0451\u043c \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.phusion.nl\/2015\/01\/20\/docker-and-the-pid-1-zombie-reaping-problem\/\">\u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a><\/noindex>.<\/i><\/p>\n<p>\u0415\u0441\u0442\u044c \u043f\u0430\u0440\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c:<\/p>\n<ol>\n<li> \u041a\u0430\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 workaround \u2014 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e PID\u2019\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438:\n<pre><code class=\"plaintext\">       \/proc\/sys\/kernel\/pid_max (since Linux 2.5.34)\n              This file specifies the value at which PIDs wrap around (i.e., the value in this file is one greater than the maximum PID).  PIDs greater than this  value  are  not  allo\u2010\n              cated;  thus, the value in this file also acts as a system-wide limit on the total number of processes and threads.  The default value for this file, 32768, results in the\n              same range of PIDs as on earlier kernels<\/code><\/pre>\n<\/li>\n<li> \u0418\u043b\u0438 \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a \u0437\u0430\u0434\u0430\u0447 \u0432 supercronic \u043d\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u043e\u0433\u043e \u0436\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/krallin\/tini\">tini<\/a><\/noindex>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0438 \u043d\u0435 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0442\u044c zombie.<\/li>\n<\/ol>\n<p><\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 2. \u00ab\u0417\u043e\u043c\u0431\u0438\u00bb \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 cgroup<\/h2>\n<p>\nKubelet \u043d\u0430\u0447\u0430\u043b \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e CPU:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/6140058330faaa3785b089dcba857056.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0422\u0430\u043a\u043e\u0435 \u043d\u0438\u043a\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0432\u043e\u043e\u0440\u0443\u0436\u0438\u043b\u0438\u0441\u044c <noindex><a rel=\"nofollow\" href=\"http:\/\/www.brendangregg.com\/perf.html\">perf<\/a><\/noindex> \u0438 \u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439. \u0418\u0442\u043e\u0433\u0438 \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438:<\/p>\n<ul>\n<li> Kubelet \u0442\u0440\u0430\u0442\u0438\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0440\u0435\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u0438\u0437 \u0432\u0441\u0435\u0445 cgroup:\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/0d15d1de17cd6838fc1cad19615af218.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li> \u0412 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u044f\u0434\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/lkml.org\/lkml\/2018\/7\/3\/101\">\u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b<\/a><\/noindex>. \u0415\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0442\u043e \u0441\u0443\u0442\u044c \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e <b>\u0440\u0430\u0437\u043d\u044b\u0435 tmpfs-\u0444\u0430\u0439\u043b\u044b \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0432\u0435\u0449\u0438 \u043d\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/b> \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 cgroup \u2014 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 <b><noindex><a rel=\"nofollow\" href=\"https:\/\/www.kernel.org\/doc\/Documentation\/cgroup-v1\/memory.txt\">memcg<\/a><\/noindex> zombie<\/b>. \u0420\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043e\u043d\u0438 \u0432\u0441\u0451 \u0436\u0435 \u0443\u0434\u0430\u043b\u044f\u0442\u0441\u044f \u0438\u0437 page cache, \u043e\u0434\u043d\u0430\u043a\u043e \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043c\u043d\u043e\u0433\u043e \u0438 \u0441\u043c\u044b\u0441\u043b\u0430 \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0438\u0445 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u044f\u0434\u0440\u043e \u043d\u0435 \u0432\u0438\u0434\u0438\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u043a\u043e\u043f\u0438\u0442\u044c\u0441\u044f. \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442? \u042d\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 cron-\u0437\u0430\u0434\u0430\u043d\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u044b\u0435 job\u2019\u044b, \u0430 \u0441 \u043d\u0438\u043c\u0438 \u2014 \u043d\u043e\u0432\u044b\u0435 pod\u2019\u044b. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0432 \u043d\u0438\u0445 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 cgroup, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u043a\u043e\u0440\u0435 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f.<\/li>\n<li> \u041f\u043e\u0447\u0435\u043c\u0443 cAdvisor \u0432 kubelet \u0442\u0440\u0430\u0442\u0438\u0442 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438? \u042d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c <code>time cat \/sys\/fs\/cgroup\/memory\/memory.stat<\/code>. \u0415\u0441\u043b\u0438 \u043d\u0430 \u0437\u0434\u043e\u0440\u043e\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 0,01 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0442\u043e \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u043e\u0439 cron02 \u2014 1,2 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e cAdvisor, \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0447\u0438\u0442\u0430\u044e\u0449\u0438\u0439 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 sysfs, \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0443\u0447\u0435\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0432 zombie cgroups.<\/li>\n<li> \u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0437\u043e\u043c\u0431\u0438, \u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u0437\u0430\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043a\u044d\u0448\u0438, \u043a\u0430\u043a \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043b\u0438 \u0432 LKML: <code>sync; echo 3 &gt; \/proc\/sys\/vm\/drop_caches<\/code>, \u2014 \u043d\u043e \u044f\u0434\u0440\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0438 \u043f\u043e\u0432\u0435\u0441\u0438\u043b\u043e \u043c\u0430\u0448\u0438\u043d\u0443.<\/li>\n<\/ul>\n<p>\n\u0427\u0442\u043e \u0436\u0435 \u0434\u0435\u043b\u0430\u0442\u044c? \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/torvalds\/linux\/commit\/a983b5ebee57209c99f68c8327072f25e0e6e3da\">\u043a\u043e\u043c\u043c\u0438\u0442<\/a><\/noindex>, \u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u043c. \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/lkml.org\/lkml\/2018\/7\/18\/626\">\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438 \u043e \u0440\u0435\u043b\u0438\u0437\u0435<\/a><\/noindex>) \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u044f\u0434\u0440\u0430 Linux \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 4.16.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 3. Systemd \u0438 \u0435\u0433\u043e mount<\/h2>\n<p>\n\u0421\u043d\u043e\u0432\u0430 kubelet \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0437\u043b\u0430\u0445, \u043d\u043e \u043d\u0430 \u0441\u0435\u0439 \u0440\u0430\u0437 \u2014 \u0443\u0436\u0435 \u043f\u0430\u043c\u044f\u0442\u0438:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/044c4e23a772c61a6206b9b20aa67c1d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 systemd, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u043c \u0432 Ubuntu 16.04, \u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u043d\u0430 \u043f\u0440\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 mount\u2019\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f <code>subPath<\/code> \u0438\u0437 ConfigMap\u2019\u043e\u0432 \u0438\u043b\u0438 secret\u2019\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b pod\u2019\u0430 <b>\u0441\u0435\u0440\u0432\u0438\u0441 systemd \u0438 \u0435\u0433\u043e \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0439 mount \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f<\/b> \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0438\u0445 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e. \u041d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u0434\u0430\u0436\u0435 \u0435\u0441\u0442\u044c issues:<\/p>\n<ol>\n<li> <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/kubernetes\/kops\/issues\/5916\">kops #5916<\/a><\/noindex>;<\/li>\n<li> <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/kubernetes\/kubernetes\/issues\/57345\">kubernetes #57345<\/a><\/noindex>.<\/li>\n<\/ol>\n<p>\n\u2026 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u043d\u0430 PR \u0432 systemd: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/systemd\/systemd\/pull\/7811\">#7811<\/a><\/noindex> (issue \u0432 systemd \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/systemd\/systemd\/issues\/7798\">#7798<\/a><\/noindex>).<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0443\u0436\u0435 \u043d\u0435\u0442 \u0432 Ubuntu 18.04, \u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Ubuntu 16.04, \u0432\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0448 workaround \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 DaemonSet:<\/p>\n<pre><code class=\"plaintext\">---\napiVersion: extensions\/v1beta1\nkind: DaemonSet\nmetadata:\n  labels:\n    app: systemd-slices-cleaner\n  name: systemd-slices-cleaner\n  namespace: kube-system\nspec:\n  updateStrategy:\n    type: RollingUpdate\n  selector:\n    matchLabels:\n      app: systemd-slices-cleaner\n  template:\n    metadata:\n      labels:\n        app: systemd-slices-cleaner\n    spec:\n      containers:\n      - command:\n        - \/usr\/local\/bin\/supercronic\n        - -json\n        - \/app\/crontab\n        Image: private-registry.org\/systemd-slices-cleaner\/systemd-slices-cleaner:v0.1.0\n        imagePullPolicy: Always\n        name: systemd-slices-cleaner\n        resources: {}\n        securityContext:\n          privileged: true\n        volumeMounts:\n        - name: systemd\n          mountPath: \/run\/systemd\/private\n        - name: docker\n          mountPath: \/run\/docker.sock\n        - name: systemd-etc\n          mountPath: \/etc\/systemd\n        - name: systemd-run\n          mountPath: \/run\/systemd\/system\/\n        - name: lsb-release\n          mountPath: \/etc\/lsb-release-host\n      imagePullSecrets:\n      - name: antiopa-registry\n      priorityClassName: cluster-low\n      tolerations:\n      - operator: Exists\n      volumes:\n      - name: systemd\n        hostPath:\n          path: \/run\/systemd\/private\n      - name: docker\n        hostPath:\n          path: \/run\/docker.sock\n      - name: systemd-etc\n        hostPath:\n          path: \/etc\/systemd\n      - name: systemd-run\n        hostPath:\n          path: \/run\/systemd\/system\/\n      - name: lsb-release\n        hostPath:\n          path: \/etc\/lsb-release<\/code><\/pre>\n<p>\n\u2026 \u0430 \u0432 \u043d\u0451\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442: <\/p>\n<pre><code class=\"bash\">#!\/bin\/bash\n\n# we will work only on xenial\nhostrelease=\"\/etc\/lsb-release-host\"\ntest -f ${hostrelease} &amp;&amp; grep xenial ${hostrelease} &gt; \/dev\/null || exit 0\n\n# sleeping max 30 minutes to dispense load on kube-nodes\nsleep $((RANDOM % 1800))\n\nstoppedCount=0\n# counting actual subpath units in systemd\ncountBefore=$(systemctl list-units | grep subpath | grep \"run-\" | wc -l)\n# let's go check each unit\nfor unit in $(systemctl list-units | grep subpath | grep \"run-\" | awk '{print $1}'); do\n  # finding description file for unit (to find out docker container, who born this unit)\n  DropFile=$(systemctl status ${unit} | grep Drop | awk -F': ' '{print $2}')\n  # reading uuid for docker container from description file\n  DockerContainerId=$(cat ${DropFile}\/50-Description.conf | awk '{print $5}' | cut -d\/ -f6)\n  # checking container status (running or not)\n  checkFlag=$(docker ps | grep -c ${DockerContainerId})\n  # if container not running, we will stop unit\n  if [[ ${checkFlag} -eq 0 ]]; then\n    echo \"Stopping unit ${unit}\"\n    # stoping unit in action\n    systemctl stop $unit\n    # just counter for logs\n    ((stoppedCount++))\n    # logging current progress\n    echo \"Stopped ${stoppedCount} systemd units out of ${countBefore}\"\n  fi\ndone<\/code><\/pre>\n<p>\n\u2026 \u0438 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 5 \u043c\u0438\u043d\u0443\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0436\u0435 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u043e\u0433\u043e \u0440\u0430\u043d\u044c\u0448\u0435 supercronic. \u0415\u0433\u043e Dockerfile \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"plaintext\">FROM ubuntu:16.04\nCOPY rootfs \/\nWORKDIR \/app\nRUN apt-get update &amp;&amp; \n    apt-get upgrade -y &amp;&amp; \n    apt-get install -y gnupg curl apt-transport-https software-properties-common wget\nRUN add-apt-repository \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu xenial stable\" &amp;&amp; \n    curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | apt-key add - &amp;&amp; \n    apt-get update &amp;&amp; \n    apt-get install -y docker-ce=17.03.0*\nRUN wget https:\/\/github.com\/aptible\/supercronic\/releases\/download\/v0.1.6\/supercronic-linux-amd64 -O \n    \/usr\/local\/bin\/supercronic &amp;&amp; chmod +x \/usr\/local\/bin\/supercronic\nENTRYPOINT [\"\/bin\/bash\", \"-c\", \"\/usr\/local\/bin\/supercronic -json \/app\/crontab\"]<\/code><\/pre>\n<p><\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 4. \u041a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 pod\u2019\u043e\u0432<\/h2>\n<p>\n\u0411\u044b\u043b\u043e \u0437\u0430\u043c\u0435\u0447\u0435\u043d\u043e, \u0447\u0442\u043e: \u0435\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u043d\u0430 \u0443\u0437\u0435\u043b \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f pod \u0438 \u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0437 \u0432\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e, \u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 pod, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u00ab\u043f\u043e\u043f\u0430\u043b\u00bb \u043d\u0430 \u044d\u0442\u043e\u0442 \u0436\u0435 \u0443\u0437\u0435\u043b, \u043f\u0440\u043e\u0441\u0442\u043e <b>\u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 pull\u2019\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043d\u043e\u0432\u043e\u0433\u043e pod&#8217;\u0430<\/b>. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043e\u043d \u0436\u0434\u0435\u0442, \u043f\u043e\u043a\u0430 \u0441\u2019pull\u2019\u0438\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e pod\u2019\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, pod, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0436\u0435 \u0431\u044b\u043b \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d \u0438 \u043e\u0431\u0440\u0430\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0433 \u0431\u044b \u0441\u043a\u0430\u0447\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435\u0433\u043e \u0437\u0430 \u043c\u0438\u043d\u0443\u0442\u0443, \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u0441\u0442\u0430\u0442\u0443\u0441\u0435 <code>containerCreating<\/code>.<\/p>\n<p>\u0412 event\u2019\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"plaintext\">Normal  Pulling    8m    kubelet, ip-10-241-44-128.ap-northeast-1.compute.internal  pulling image \"registry.example.com\/infra\/openvpn\/openvpn:master\"<\/code><\/pre>\n<p>\n\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e <b>\u043e\u0434\u0438\u043d-\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u0438\u0437 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0435\u043f\u043b\u043e\u0439<\/b> \u043d\u0430 \u0443\u0437\u0435\u043b.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432\u044b\u0445\u043e\u0434\u043e\u0432 \u0438\u0437 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0435 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e:<\/p>\n<ol>\n<li> \u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 Docker Registry \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, GitLab Registry, Nexus \u0438 \u0442.\u043f.);<\/li>\n<li> \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0442\u0430\u043a\u0438\u043c\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0430\u043c\u0438, \u043a\u0430\u043a <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/uber\/kraken\">kraken<\/a><\/noindex>.<\/li>\n<\/ol>\n<p><\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 5. \u0417\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u0437\u043b\u043e\u0432 \u043f\u0440\u0438 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0435 \u043f\u0430\u043c\u044f\u0442\u0438<\/h2>\n<p>\n\u0417\u0430 \u0432\u0440\u0435\u043c\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u043a\u043e\u0433\u0434\u0430 \u0443\u0437\u0435\u043b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d: \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 SSH, \u0432\u0441\u0435 \u0434\u0435\u043c\u043e\u043d\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f, \u0430 \u0432 \u043b\u043e\u0433\u0430\u0445 \u043f\u043e\u0442\u043e\u043c \u043d\u0438\u0447\u0435\u0433\u043e (\u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u0447\u0435\u0433\u043e) \u0430\u043d\u043e\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0435\u0442.<\/p>\n<p>\u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u0445 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0443\u0437\u043b\u0430, \u0433\u0434\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0430 MongoDB.<\/p>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a atop \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 <b>\u0434\u043e<\/b> \u0430\u0432\u0430\u0440\u0438\u0438:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/5de916d270a862cbcbb5ed23c31f698e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0410 \u0432\u043e\u0442 \u0442\u0430\u043a \u2014 <b>\u043f\u043e\u0441\u043b\u0435<\/b> \u0430\u0432\u0430\u0440\u0438\u0438:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/0f32bf1113204cf19f4639a297e40348.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0412 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0435 \u0442\u043e\u0436\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u043a\u0438\u0439 \u0441\u043a\u0430\u0447\u043e\u043a, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u0437\u0435\u043b \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/31e770cac5be32bb7f95cfbbc6b9f1ae.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0438\u0437 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e:<\/p>\n<ol>\n<li> \u041e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0431\u043b\u0438\u0437\u043a\u0430 \u043a \u043a\u043e\u043d\u0446\u0443;<\/li>\n<li> \u041d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u043a\u0438\u0439 \u0441\u043a\u0430\u0447\u043e\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0440\u0435\u0437\u043a\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435;<\/li>\n<li> \u041d\u0430 Mongo \u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0421\u0423\u0411\u0414 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0441 \u0434\u0438\u0441\u043a\u0430.<\/li>\n<\/ol>\n<p>\n\u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0432 Linux \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c (\u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0435\u0442 memory pressure) \u0438 swap\u2019\u0430 \u043d\u0435\u0442, \u0442\u043e <b>\u0434\u043e<\/b> \u043f\u0440\u0438\u0445\u043e\u0434\u0430 OOM killer\u2019\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u044d\u043a\u0432\u0438\u043b\u0438\u0431\u0440\u0438\u0443\u043c \u043c\u0435\u0436\u0434\u0443 \u0437\u0430\u043a\u0438\u0434\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0432 page cache \u0438 writeback\u2019\u043e\u043c \u0438\u0445 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 \u0434\u0438\u0441\u043a. \u0417\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u0438\u043c kswapd, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0432\u0430\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u0442 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438 \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043d\u0430 \u0432\u0432\u043e\u0434\/\u0432\u044b\u0432\u043e\u0434 \u0432\u043a\u0443\u043f\u0435 \u0441 \u043c\u0430\u043b\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, <b>kswapd \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0431\u0443\u0442\u044b\u043b\u043e\u0447\u043d\u044b\u043c \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u043e\u043c \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/b>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u043d\u0435\u0433\u043e \u0437\u0430\u0432\u044f\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f <b>\u0432\u0441\u0435<\/b> \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f (page faults) \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u044f\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c, \u0430 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u043a\u0440\u0430\u044e OOM-killer-\u0431\u0435\u0437\u0434\u043d\u044b. <\/p>\n<p>\u0417\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u0435\u043d \u0432\u043e\u043f\u0440\u043e\u0441: \u0430 \u043f\u043e\u0447\u0435\u043c\u0443 OOM killer \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0442\u0430\u043a \u043f\u043e\u0437\u0434\u043d\u043e? \u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0432\u043e\u0435\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 OOM killer \u043a\u0440\u0430\u0439\u043d\u0435 \u0433\u043b\u0443\u043f: \u043e\u043d \u043f\u0440\u0438\u0431\u044c\u0451\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u0442\u0441\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0430\u043c\u044f\u0442\u0438, \u0442.\u0435. \u0435\u0441\u043b\u0438 page fault \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. \u042d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u043b\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e kswapd \u043e\u0442\u0432\u0430\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0430\u043c\u044f\u0442\u0438, \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044f page cache (\u0432\u0435\u0441\u044c \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0439 I\/O \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u043f\u043e \u0441\u0443\u0442\u0438) \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 \u0434\u0438\u0441\u043a. \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0448\u0430\u0433\u043e\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u044f\u0434\u0440\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/lwn.net\/Articles\/668126\/\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>.<\/p>\n<p>\u0414\u0430\u043d\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/kernelnewbies.org\/Linux_4.6?highlight=%28oom%29#Improve_the_reliability_of_the_Out_Of_Memory_task_killer\">\u0434\u043e\u043b\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c\u0441\u044f<\/a><\/noindex> \u0441 \u044f\u0434\u0440\u043e\u043c Linux 4.6+.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f 6. Pod\u2019\u044b \u0437\u0430\u0432\u0438\u0441\u0430\u044e\u0442 \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 Pending<\/h2>\n<p>\n\u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u0442 \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043c\u043d\u043e\u0433\u043e pod\u2019\u043e\u0432, \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438\u0445 \u0447\u0430\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u00ab\u0432\u0438\u0441\u0438\u0442\u00bb \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 <code>Pending<\/code>, \u0445\u043e\u0442\u044f \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0430\u043c\u0438 Docker-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b \u043d\u0430 \u0443\u0437\u043b\u0430\u0445 \u0438 \u0441 \u043d\u0438\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/p>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 <code>describe<\/code> \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442 \u043f\u043b\u043e\u0445\u043e\u0433\u043e:<\/p>\n<pre><code class=\"plaintext\">  Type    Reason                  Age                From                     Message\n  ----    ------                  ----               ----                     -------\n  Normal  Scheduled               1m                 default-scheduler        Successfully assigned sphinx-0 to ss-dev-kub07\n  Normal  SuccessfulAttachVolume  1m                 attachdetach-controller  AttachVolume.Attach succeeded for volume \"pvc-6aaad34f-ad10-11e8-a44c-52540035a73b\"\n  Normal  SuccessfulMountVolume   1m                 kubelet, ss-dev-kub07    MountVolume.SetUp succeeded for volume \"sphinx-config\"\n  Normal  SuccessfulMountVolume   1m                 kubelet, ss-dev-kub07    MountVolume.SetUp succeeded for volume \"default-token-fzcsf\"\n  Normal  SuccessfulMountVolume   49s (x2 over 51s)  kubelet, ss-dev-kub07    MountVolume.SetUp succeeded for volume \"pvc-6aaad34f-ad10-11e8-a44c-52540035a73b\"\n  Normal  Pulled                  43s                kubelet, ss-dev-kub07    Container image \"registry.example.com\/infra\/sphinx-exporter\/sphinx-indexer:v1\" already present on machine\n  Normal  Created                 43s                kubelet, ss-dev-kub07    Created container\n  Normal  Started                 43s                kubelet, ss-dev-kub07    Started container\n  Normal  Pulled                  43s                kubelet, ss-dev-kub07    Container image \"registry.example.com\/infra\/sphinx\/sphinx:v1\" already present on machine\n  Normal  Created                 42s                kubelet, ss-dev-kub07    Created container\n  Normal  Started                 42s                kubelet, ss-dev-kub07    Started container<\/code><\/pre>\n<p>\n\u041f\u043e\u043a\u043e\u043f\u0430\u0432\u0448\u0438\u0441\u044c, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e kubelet \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c API-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0432\u0441\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 pod\u2019\u043e\u0432, liveness\/readiness-\u043f\u0440\u043e\u0431\u0430\u0445.<\/p>\n<p>\u0410 \u0438\u0437\u0443\u0447\u0438\u0432 help, \u043d\u0430\u0448\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre><code class=\"plaintext\">--kube-api-qps - QPS to use while talking with kubernetes apiserver (default 5)\n--kube-api-burst  - Burst to use while talking with kubernetes apiserver (default 10) \n--event-qps - If &gt; 0, limit event creations per second to this value. If 0, unlimited. (default 5)\n--event-burst - Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if --event-qps &gt; 0 (default 10) \n--registry-qps - If &gt; 0, limit registry pull QPS to this value.\n--registry-burst - Maximum size of bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry-qps. Only used if --registry-qps &gt; 0 (default 10)<\/code><\/pre>\n<p>\n\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, <b>\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u2014 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435<\/b>, \u0438 \u0432 90 % \u043e\u043d\u0438 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438\u2026 \u041e\u0434\u043d\u0430\u043a\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"plaintext\">--event-qps=30 --event-burst=40 --kube-api-burst=40 --kube-api-qps=30 --registry-qps=30 --registry-burst=40<\/code><\/pre>\n<p>\u2026 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 kubelet\u2019\u044b, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043d\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0430\u0445 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a API-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<\/p>\n<p><img decoding=\"async\" alt=\"6 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435]\" src=\"\/wp-content\/uploads\/2019\/03\/b2ae099729e55a686f6bec3012b96195.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u2026 \u0438 \u0434\u0430, \u0432\u0441\u0451 \u043d\u0430\u0447\u0430\u043b\u043e \u043b\u0435\u0442\u0430\u0442\u044c!<\/p>\n<h2>P.S.<\/h2>\n<p>\n\u0417\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0432 \u0441\u0431\u043e\u0440\u0435 \u0431\u0430\u0433\u043e\u0432 \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u044b\u0440\u0430\u0436\u0430\u044e \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430\u043c \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u0430 \u0432 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u2014 \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u0438\u0437 \u043d\u0430\u0448\u0435\u0439 R&amp;D-\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0410\u043d\u0434\u0440\u0435\u044e \u041a\u043b\u0438\u043c\u0435\u043d\u0442\u044c\u0435\u0432\u0443 (<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/users\/zuzzas\/\" class=\"user_link\">zuzzas<\/a><\/noindex>).<\/p>\n<h2>P.P.S.<\/h2>\n<p>\n\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<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/436112\/\">\u041f\u043b\u0430\u0433\u0438\u043d kubectl-debug \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432 pod&#8217;\u0430\u0445 Kubernetes<\/a><\/noindex>\u00bb.<\/li>\n<li> \u0426\u0438\u043a\u043b Kubernetes tips &amp; tricks:\n<ul>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/441964\/\">\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Helm 2<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/432748\/\">\u041e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0443\u0437\u043b\u043e\u0432 \u0438 \u043e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u0445 \u043d\u0430 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/427745\/\">\u0414\u043e\u0441\u0442\u0443\u043f \u043a dev-\u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u043c<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/417509\/\">\u0423\u0441\u043a\u043e\u0440\u044f\u0435\u043c bootstrap \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<\/a><\/noindex>\u00bb.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/443458\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod&#8217;\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-29851","post","type-post","status-publish","format-standard","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod&#039;\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd476 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435] | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod&#039;\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:32:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:32:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd476 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435] | ProHoster","description":"\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod'\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e","canonical_url":"https:\/\/prohoster.info\/et\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd476 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 \u043f\u0440\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes [\u0438 \u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0435] | ProHoster","og:description":"\u0417\u0430 \u0433\u043e\u0434\u044b \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 Kubernetes \u0432 production \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u0430\u043b\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0431\u0430\u0433\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043a \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0438\/\u0438\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c, \u0432\u043b\u0438\u044f\u044e\u0449\u0438\u043c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0438 pod'\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u044b\u0445 \u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u0451\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u043c\u0438, \u0447\u0438\u0442\u0430\u0442\u044c \u043e","og:url":"https:\/\/prohoster.info\/et\/blog\/6-zanimatelnyh-sistemnyh-bagov-pri-ekspluatatsii-kubernetes-i-ih-reshenie","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:32:20+00:00","article:modified_time":"2019-10-31T18:32:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"29851","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-20 22:45:02","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 03:47:36","updated":"2026-01-20 22:45:02"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/29851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=29851"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/29851\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=29851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=29851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=29851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}