{"id":1996,"date":"2020-06-15T12:28:54","date_gmt":"2020-06-15T09:28:54","guid":{"rendered":"https:\/\/artem.services\/?p=1996"},"modified":"2020-11-09T12:20:16","modified_gmt":"2020-11-09T09:20:16","slug":"fix-error-eks-cloudwatch-0-1-nodes-are-available-1-insufficient-pods","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1996","title":{"rendered":"FIX ERROR &#8212; EKS: cloudwatch &#8212; 0\/1 nodes are available: 1 Insufficient pods."},"content":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 <a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudWatch\/latest\/monitoring\/Container-Insights-setup-EKS-quickstart.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/a> <strong>CloudWatch Agent<\/strong>&#39;\u0430 \u0432 <strong>EKS<\/strong> \u043a\u043b\u0430\u0441\u0442\u0435\u0440, \u0435\u0433\u043e \u043f\u043e\u0434\u044b \u043f\u043e\u0432\u0438\u0441\u0430\u044e\u0442 \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 &quot;<strong>Pending<\/strong>&quot;<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1997\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55.png\" alt=\"\" width=\"1328\" height=\"344\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55.png 1328w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55-300x78.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55-1024x265.png 1024w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55-768x199.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.01.55-954x247.png 954w\" sizes=\"(max-width: 1328px) 100vw, 1328px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0435\u0441\u043a\u0440\u0430\u0439\u0431 \u043f\u043e\u0434\u0430<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1998\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15.png\" alt=\"\" width=\"1848\" height=\"152\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15.png 1848w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-300x25.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-1024x84.png 1024w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-768x63.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-1536x126.png 1536w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-954x78.png 954w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.02.15-1354x111.png 1354w\" sizes=\"(max-width: 1848px) 100vw, 1848px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/h3>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e <a href=\"https:\/\/stackoverflow.com\/a\/58988063\" target=\"_blank\" rel=\"noopener noreferrer\">\u0442\u0443\u0442<\/a>. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c <strong>EKS<\/strong> \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043f\u043e\u0434\u043e\u0432 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f <strong>NodeGroup<\/strong>&#39;\u0430 \u0441 \u0442\u0438\u043f\u043e\u043c \u0438\u0441\u0442\u0430\u043d\u0441\u043e\u0432: <strong>t3.micro <\/strong>\u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0435\u0449\u0435 \u0438 <strong>CloudWatch<\/strong> <strong>Agent<\/strong>&#39;a \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043f\u0430\u0441\u0438\u0442\u0438.<strong><br \/>\n<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1999\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45.png\" alt=\"\" width=\"1044\" height=\"78\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45.png 1044w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45-300x22.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45-1024x77.png 1024w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45-768x57.png 768w, https:\/\/artem.services\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-15-at-12.03.45-954x71.png 954w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 &#8212; <strong>t3.small<\/strong>, \u0432\u0441\u0435 \u043f\u043e\u0434\u044b \u043f\u0435\u0440\u0435\u0448\u043b\u0438 \u0432 \u0441\u0442\u0430\u0442\u0443\u0441 &quot;<strong>Running<\/strong>&quot;<\/p>\n<p><strong>EKS<\/strong> \u0438\u043c\u0435\u0435\u0442 \u043b\u0438\u043c\u0438\u0442\u044b \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043e\u0432 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u043e\u0434\u0435, \u0434\u0430\u043d\u043d\u044b\u0439 \u043b\u0438\u043c\u0438\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0444\u043e\u0440\u043c\u0443\u043b\u0443:<\/p>\n<blockquote><p>N * (M-1) + 2<\/p><\/blockquote>\n<p>\u0413\u0434\u0435, <strong>N<\/strong> &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e <strong>Elastic Network Interfaces<\/strong> (<strong>ENI<\/strong>) \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430, <strong>M<\/strong> &#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e <strong>IP<\/strong> \u0430\u0434\u0440\u0435\u0441\u0441\u043e\u0432 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e <strong>ENI<\/strong><\/p>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f <strong>N<\/strong> \u0438 <strong>M<\/strong> \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c <a href=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/using-eni.html#AvailableIpPerENI\" target=\"_blank\" rel=\"noopener noreferrer\">\u0442\u0443\u0442<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 CloudWatch Agent&#39;\u0430 \u0432 EKS \u043a\u043b\u0430\u0441\u0442\u0435\u0440, \u0435\u0433\u043e \u043f\u043e\u0434\u044b \u043f\u043e\u0432\u0438\u0441\u0430\u044e\u0442 \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 &quot;Pending&quot; &nbsp; \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0435\u0441\u043a\u0440\u0430\u0439\u0431 \u043f\u043e\u0434\u0430 &nbsp; \u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0442\u0443\u0442. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c EKS \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043f\u043e\u0434\u043e\u0432 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f NodeGroup&#39;\u0430 \u0441 \u0442\u0438\u043f\u043e\u043c \u0438\u0441\u0442\u0430\u043d\u0441\u043e\u0432: t3.micro \u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0435\u0449\u0435 \u0438 CloudWatch Agent&#39;a \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043f\u0430\u0441\u0438\u0442\u0438. &nbsp; \u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e &hellip; <a href=\"https:\/\/artem.services\/?p=1996\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;FIX ERROR &#8212; EKS: cloudwatch &#8212; 0\/1 nodes are available: 1 Insufficient pods.&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[49],"tags":[1189,51,50,657],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1996"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1996"}],"version-history":[{"count":3,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1996\/revisions"}],"predecessor-version":[{"id":2047,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1996\/revisions\/2047"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}