{"id":392995,"date":"2024-06-29T10:44:25","date_gmt":"2024-06-29T10:44:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=392995"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T10:44:25","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=392995","title":{"rendered":"<span>\u041e\u0431\u0437\u043e\u0440 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Weave Scope \u0434\u043b\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><a href=\"https:\/\/github.com\/weaveworks\/scope\"><u>Weave Scope<\/u><\/a> \u2014 Open Source-\u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0437\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438, \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u043c\u0438 \u0432 Docker \u0438 Kubernetes. \u0423\u0442\u0438\u043b\u0438\u0442\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432, \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441; \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0443\u0436\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d56\/551\/ba4\/d56551ba401ac6cf4e6847fe811b7990.png\" width=\"780\" height=\"450\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d56\/551\/ba4\/d56551ba401ac6cf4e6847fe811b7990.png\"\/><figcaption><\/figcaption><\/figure>\n<p>Weave Scope \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0442\u043d\u0430\u044f SaaS-\u0432\u0435\u0440\u0441\u0438\u044f. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438 Weave Scope \u2014 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Weaveworks, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 cloud native-\u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Cortex \u0438 Flux).<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 Weave Scope, \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043d\u0430 \u0445\u043e\u0441\u0442\u0435, \u043f\u043e\u0442\u043e\u043c \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Kubernetes, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 <a href=\"https:\/\/github.com\/weaveworks-plugins\/\"><u>\u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432<\/u><\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Weave Scope.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430 \u0445\u043e\u0441\u0442<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043d\u0430 \u0445\u043e\u0441\u0442 \u0441 Docker (\u0432\u043e\u043b\u0435\u044e \u0441\u0443\u0434\u0435\u0431 \u0438\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0434\u0438\u043d \u0438\u0437 GitLab Runner\u2019\u043e\u0432):<\/p>\n<pre><code class=\"bash\">sudo curl -L git.io\/scope -o \/usr\/local\/bin\/scope sudo chmod a+x \/usr\/local\/bin\/scope<\/code><\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:<\/p>\n<pre><code class=\"bash\"># scope launch Unable to find image 'weaveworks\/scope:1.13.1' locally 1.13.1: Pulling from weaveworks\/scope c9b1b535fdd9: Pull complete 550073704c23: Pull complete 8738e5bbaf1d: Pull complete 0a8826d26027: Pull complete 387c1aa951b4: Pull complete e72d45461bb9: Pull complete 75cc44b65e98: Pull complete 11f7584a6ade: Pull complete a5aa3ebbe1c2: Pull complete 7cdbc028c8d2: Pull complete Digest: sha256:4342f1c799aba244b975dcf12317eb11858f9879a3699818e2bf4c37887584dc Status: Downloaded newer image for weaveworks\/scope:1.13.1 094c702d56db92e59c3dd686971738e67088f85d8e98dfebd8f54da7bef993c1 Scope probe started Weave Scope is listening at the following URL(s):   * http:\/\/10.0.0.1:4040\/<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440:<\/p>\n<pre><code class=\"bash\"># docker ps CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS               NAMES 094c702d56db        weaveworks\/scope:1.13.1   \"\/home\/weave\/entrypo\u2026\"   46 seconds ago      Up 45 seconds                           weavescope<\/code><\/pre>\n<p><strong>\u0412\u0430\u0436\u043d\u043e. <\/strong>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0443 \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0430\u0434\u0440\u0435\u0441. \u041d\u0430 \u043d\u0435\u0439 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u044e\u0449\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b iptables, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb. \u0412 \u0431\u043e\u0435\u0432\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u044d\u0442\u043e \u043e\u043f\u0430\u0441\u043d\u043e: \u043b\u044e\u0431\u043e\u043c\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441\u0430 \u0432\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441 Docker, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 Weave Scope, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0438 \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c.<\/p>\n<p>\u0417\u0430\u0439\u0434\u0435\u043c \u0432 \u043d\u0430\u0448 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cfc\/363\/ce0\/cfc363ce09d7458372d107c502dbafbf.png\" width=\"2016\" height=\"1126\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cfc\/363\/ce0\/cfc363ce09d7458372d107c502dbafbf.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0443\u0441\u0442\u043e! \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e\u043a\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c <s>\u043a\u0440\u043e\u043b\u0438\u043a\u0430 \u0432 \u0442\u0440\u0430\u0432\u043a\u0443 \u043f\u043e\u0431\u0435\u0433\u0430\u0442\u044c<\/s> \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 RabbitMQ:<\/p>\n<pre><code class=\"bash\"># docker run -d --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0438\u0445 \u0434\u0432\u043e\u0435, \u0438\u043c \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0443\u0447\u043d\u043e.<\/p>\n<pre><code class=\"bash\"># docker ps CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                                                                                                         NAMES 0594046d0809        rabbitmq:3-management     \"docker-entrypoint.s\u2026\"   40 seconds ago      Up 36 seconds       4369\/tcp, 5671\/tcp, 0.0.0.0:5672->5672\/tcp, 15671\/tcp, 15691-15692\/tcp, 25672\/tcp, 0.0.0.0:15672->15672\/tcp   rabbitmq 094c702d56db        weaveworks\/scope:1.13.1   \"\/home\/weave\/entrypo\u2026\"   11 minutes ago      Up 11 minutes                                                                                                                     weavescope<\/code><\/pre>\n<p>\u041d\u0430\u0448 \u00ab\u043a\u0440\u043e\u043b\u0438\u043a\u00bb \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438 \u0432 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438 \u0432\u0438\u0434\u0438\u043c \u043a\u0440\u0430\u0442\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0435\u043c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a: <code>attach<\/code> \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0443, <code>exec<\/code> \u0432 \u0435\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u0440\u0435\u0441\u0442\u0430\u0440\u0442, \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b <em>\u0442\u043e\u043b\u044c\u043a\u043e<\/em> \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Scope \u043d\u0430 \u0445\u043e\u0441\u0442\u0435 (\u043d\u0435 \u0432 Kubernetes).<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/327\/364\/415\/327364415e0648cc862e9be45553587b.png\" width=\"2016\" height=\"1300\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/327\/364\/415\/327364415e0648cc862e9be45553587b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043b\u0435\u0432\u0430 \u0432\u043d\u0438\u0437\u0443 \u0438 \u0432\u0432\u0435\u0440\u0445\u0443 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u043d\u0430\u0431\u043e\u0440 \u043a\u043d\u043e\u043f\u043e\u043a \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c \u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0440\u0435\u0436\u0438\u043c\u0430\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0435\u0442\u044c \u0443 \u0445\u043e\u0441\u0442\u0430 \u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/53c\/acf\/829\/53cacf829a66705f0c93c5156b084f0b.png\" width=\"2016\" height=\"1300\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/53c\/acf\/829\/53cacf829a66705f0c93c5156b084f0b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u044d\u0442\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438, \u043a\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0432 K8s \u2014 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043a\u0443\u0434\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435.<\/p>\n<p>\u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/808\/48c\/267\/80848c267d3d56cdff312046684e60d7.png\" width=\"2016\" height=\"1300\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/808\/48c\/267\/80848c267d3d56cdff312046684e60d7.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0440\u0435\u0436\u0438\u043c \u0441 \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/382\/fba\/ff5\/382fbaff5f6b5049a869702920829d18.png\" width=\"2016\" height=\"1300\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/382\/fba\/ff5\/382fbaff5f6b5049a869702920829d18.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/51b\/87c\/dd5\/51b87cdd52d4a1b105083a28beaea075.png\" width=\"830\" height=\"1004\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/51b\/87c\/dd5\/51b87cdd52d4a1b105083a28beaea075.png\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0b5\/d66\/923\/0b5d6692338caa91d7454e40de5cc246.png\" width=\"830\" height=\"1004\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0b5\/d66\/923\/0b5d6692338caa91d7454e40de5cc246.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0427\u0442\u043e \u0436, \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 Weave Scope \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0445\u043e\u0441\u0442\u0435 \u2014 \u043d\u043e \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0437\u0430\u0442\u0440\u0430\u0432\u043a\u0438.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0432 Kubernetes<\/h2>\n<p><a href=\"https:\/\/www.weave.works\/docs\/scope\/latest\/installing\/#k8s\"><u>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c<\/u><\/a> \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c K8s-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 (\u043d\u0430 \u0431\u0430\u0437\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deckhouse):<\/p>\n<pre><code class=\"bash\">$ kubectl apply -f \"https:\/\/cloud.weave.works\/k8s\/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\\n')\" namespace\/weave created serviceaccount\/weave-scope created clusterrole.rbac.authorization.k8s.io\/weave-scope created clusterrolebinding.rbac.authorization.k8s.io\/weave-scope created deployment.apps\/weave-scope-app created service\/weave-scope-app created deployment.apps\/weave-scope-cluster-agent created daemonset.apps\/weave-scope-agent created<\/code><\/pre>\n<p>\u041d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0437\u0435\u043b \u043a \u043d\u0430\u043c \u00ab\u043f\u0440\u0438\u0441\u043a\u0430\u043a\u0430\u043b\u00bb DaemonSet. \u041f\u043b\u044e\u0441 \u0432 namespace\u2019\u0435 <code>weave<\/code> \u043f\u043e\u0441\u0435\u043b\u0438\u043b\u0441\u044f \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u044b\u0439 \u00ab<a href=\"https:\/\/github.com\/weaveworks\/scope\/blob\/master\/docker\/Dockerfile.cloud-agent\"><u>\u0430\u0433\u0435\u043d\u0442<\/u><\/a>\u00bb \u0438 \u0441\u0430\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"bash\">$ kubectl -n weave get po -owide NAME                                         READY   STATUS    RESTARTS   AGE   IP             NODE             NOMINATED NODE   READINESS GATES weave-scope-agent-4nflf                      1\/1     Running   0          53s   10.1.2.154   kube-front-1    &lt;none>           &lt;none> weave-scope-agent-52ncg                      1\/1     Running   0          53s   10.1.2.161   kube-master-3   &lt;none>           &lt;none> weave-scope-agent-62s6g                      1\/1     Running   0          53s   10.1.2.152   kube-system-1   &lt;none>           &lt;none> weave-scope-agent-7wqdk                      1\/1     Running   0          53s   10.1.2.159   kube-master-1   &lt;none>           &lt;none> weave-scope-agent-jtv78                      1\/1     Running   0          53s   10.1.2.162   kube-node-1     &lt;none>           &lt;none> weave-scope-agent-mfgdx                      1\/1     Running   0          53s   10.1.2.163   kube-node-2     &lt;none>           &lt;none> weave-scope-agent-sl968                      1\/1     Running   0          53s   10.1.2.155   kube-front-2    &lt;none>           &lt;none> weave-scope-agent-t9vlp                      1\/1     Running   0          53s   10.1.2.164   kube-node-3     &lt;none>           &lt;none> weave-scope-agent-tjz92                      1\/1     Running   0          53s   10.1.2.153   kube-system-2   &lt;none>           &lt;none> weave-scope-agent-wnj6m                      1\/1     Running   0          53s   10.1.2.160   kube-master-2   &lt;none>           &lt;none> weave-scope-app-545ddf96b4-l98b4             1\/1     Running   0          53s   10.2.7.248   kube-node-3     &lt;none>           &lt;none> weave-scope-cluster-agent-74c596c6b7-wwrtb   1\/1     Running   0          53s   10.2.7.247   kube-node-3     &lt;none>           &lt;none><\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 Ingress, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c:<\/p>\n<pre><code class=\"bash\">apiVersion: networking.k8s.io\/v1 kind: Ingress metadata:   name: weave   namespace: weave spec:   rules:   - host: weave.kokoko.kom     http:       paths:       - path: \/         pathType: Prefix         backend:           service:             name: weave-scope-app             port:               name: app<\/code><\/pre>\n<p>\u041e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434 \u2014 \u0433\u0440\u0430\u0444\u044b, \u0433\u0434\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0438 Pod\u2019\u044b, \u0430 \u0440\u0435\u0431\u0440\u0430\u043c\u0438 \u2014 \u0438\u043c\u0435\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u0432\u044f\u0437\u0438 \u044d\u0442\u0438\u0445 Pod\u2019\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d89\/7ff\/83d\/d897ff83d78eb6b647a51ba387a75835.png\" width=\"2124\" height=\"1294\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d89\/7ff\/83d\/d897ff83d78eb6b647a51ba387a75835.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0413\u0440\u0430\u0444\u044b \u0441\u0442\u0440\u043e\u044f\u0442\u0441\u044f \u043d\u0430 \u043b\u0435\u0442\u0443, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eec\/0bc\/e4f\/eec0bce4ff7ef39585fd9e7ea4902b95.png\" width=\"2124\" height=\"1294\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eec\/0bc\/e4f\/eec0bce4ff7ef39585fd9e7ea4902b95.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u0433\u0440\u0430\u0444\u044b (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d <code>d8-monitoring<\/code>):<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7bc\/34d\/5e5\/7bc34d5e5e428b93a0ce4d5fd0945d55.png\" width=\"1712\" height=\"1202\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7bc\/34d\/5e5\/7bc34d5e5e428b93a0ce4d5fd0945d55.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u2014 Pod\u2019\u044b \u0432 namespace\u2019\u0435 <code>d8-monitoring<\/code> (\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430) \u0438 \u0438\u0445 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439, \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430 <em>Services<\/em>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/782\/f93\/aea\/782f93aeaf353dc364465efd7438b939.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/782\/f93\/aea\/782f93aeaf353dc364465efd7438b939.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 trickster \u0438 \u0432\u0438\u0434\u0438\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435\/\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/11f\/3e4\/f01\/11f3e4f01fd2981307ea081613a14c33.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/11f\/3e4\/f01\/11f3e4f01fd2981307ea081613a14c33.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0432 <em>Controllers<\/em>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d6d\/d04\/641\/d6dd046419b6c3627448cec244a811c2.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d6d\/d04\/641\/d6dd046419b6c3627448cec244a811c2.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0434\u0430\u043b\u0435\u0435 \u2014 \u0432 <em>Pods<\/em>. \u0417\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0432\u0435\u0441\u0438\u0441\u0442\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3ac\/d87\/afc\/3acd87afcada0af8aba9b489950cc28a.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3ac\/d87\/afc\/3acd87afcada0af8aba9b489950cc28a.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 <em>Live<\/em>, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u00ab\u0432 \u0436\u0438\u0432\u0443\u044e\u00bb. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0433\u0440\u0430\u0444\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f, \u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0438\u043b\u044c\u043d\u043e:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3bf\/d37\/b55\/3bfd37b554ad0a1b5207db18d9aa774b.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3bf\/d37\/b55\/3bfd37b554ad0a1b5207db18d9aa774b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u043d\u0438 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u044f\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u043c\u0430\u043b\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/8f2\/d54\/6c2\/8f2d546c274675280061090ef2804a2f.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8f2\/d54\/6c2\/8f2d546c274675280061090ef2804a2f.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0423 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c namespace\u2019\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u043f\u043e 50-60 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 Kafka \u0438 ZooKeeper. \u0421\u0442\u0440\u0430\u0448\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c, \u043a\u0430\u043a \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0433\u0440\u0430\u0444\u044b Weave Scope: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043a\u043d\u043e\u043f\u043a\u0430 <em>Pause<\/em> \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0436\u0430\u0442\u0430 \u0442\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<h2>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/h2>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/weaveworks-plugins\/scope-iowait\"><u>IOWait<\/u><\/a>. \u042d\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 iostat. IOWait \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 CPU \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u044f\u043c\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Weave Scope.<\/p>\n<pre><code class=\"bash\">$ kubectl apply -f https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml error: unable to recognize \"https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml\": no matches for kind \"DaemonSet\" in version \"extensions\/v1beta1\"<\/code><\/pre>\n<p>\u041f\u0435\u0447\u0430\u043b\u044c\u043d\u043e. \u041d\u043e \u043c\u044b \u043d\u0435 \u0443\u043d\u044b\u0432\u0430\u0435\u043c \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<pre><code class=\"bash\">$ curl https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml -so k8s-iowait.yaml $ sed -i 's\/extensions\\\/v1beta1\/apps\\\/v1\/' k8s-iowait.yaml $ kubectl -n scope apply -f k8s-iowait.yaml error: error validating \"k8s-iowait.yaml\": error validating data: ValidationError(DaemonSet.spec): missing required field \"selector\" in io.k8s.api.apps.v1.DaemonSetSpec; if you choose to ignore these errors, turn validation off with --validate=false<\/code><\/pre>\n<p>\u041b\u0430\u0434\u043d\u043e, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e: \u0431\u0435\u0437 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 DaemonSet \u043d\u0435 DaemonSet. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 <code>spec<\/code> DaemonSet\u2019\u0430:<\/p>\n<pre><code class=\"bash\">spec:   selector:     matchLabels:       app: weavescope  $ kubectl -n weave get po NAME                                         READY   STATUS    RESTARTS   AGE weave-scope-agent-2h4dj                      1\/1     Running   0          89m weave-scope-agent-94zkx                      1\/1     Running   0          93m weave-scope-agent-9tfbc                      1\/1     Running   0          88m weave-scope-agent-ccbfs                      1\/1     Running   0          90m weave-scope-agent-h22xn                      1\/1     Running   0          92m weave-scope-agent-kz2nc                      1\/1     Running   0          91m weave-scope-agent-lj49z                      1\/1     Running   0          89m weave-scope-agent-nxkpm                      1\/1     Running   0          92m weave-scope-agent-ps25k                      1\/1     Running   0          90m weave-scope-agent-rg6lb                      1\/1     Running   0          94m weave-scope-app-5f9f566559-8rkcb             1\/1     Running   0          94m weave-scope-cluster-agent-6b6f974dc6-6bt9k   1\/1     Running   0          94m weavescope-iowait-plugin-2djqv               1\/1     Running   0          2m1s weavescope-iowait-plugin-2xgrr               1\/1     Running   0          2m1s weavescope-iowait-plugin-6s6tq               1\/1     Running   0          2m1s weavescope-iowait-plugin-ph8gh               1\/1     Running   0          2m1s weavescope-iowait-plugin-pzxvg               1\/1     Running   0          2m1s weavescope-iowait-plugin-vd7xl               1\/1     Running   0          2m1s<\/code><\/pre>\n<p>\u041f\u043b\u0430\u0433\u0438\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f!<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/16f\/f59\/3e1\/16ff593e119fd34762116412cb12e3c4.png\" width=\"994\" height=\"52\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/16f\/f59\/3e1\/16ff593e119fd34762116412cb12e3c4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0431\u0435\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 70% \u0432\u0440\u0435\u043c\u0435\u043d\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/02d\/8d5\/277\/02d8d527707f1042660083e0d7fcef3d.png\" width=\"2048\" height=\"1492\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/02d\/8d5\/277\/02d8d527707f1042660083e0d7fcef3d.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0423 Weave Scope \u0435\u0441\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/weaveworks-plugins\/scope-http-statistics\"><u>HTTP Statistics<\/u><\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 HTTP \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e eBPF (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432 \u044f\u0434\u0440\u0435).<\/p>\n<h2>\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 Weave Scope. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0433\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 <a href=\"https:\/\/github.com\/weaveworks\/scope\/releases\"><u>\u0440\u0435\u043b\u0438\u0437\u044b<\/u><\/a> \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u0440\u0435\u0434\u043a\u043e: \u0432\u0435\u0440\u0441\u0438\u044f 1.13.1 \u0432\u044b\u0448\u043b\u0430 \u0432 \u043c\u0430\u0435 2020 \u0433\u043e\u0434\u0430, \u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u2014 1.13.2 \u2014 \u0430\u0436 \u0432 \u0430\u043f\u0440\u0435\u043b\u0435 2021 \u0433. \u0418 \u0441 \u0442\u0435\u0445 \u043f\u043e\u0440 \u043d\u043e\u0432\u044b\u0445 \u0440\u0435\u043b\u0438\u0437\u043e\u0432 \u043d\u0435 \u0432\u0438\u0434\u043d\u043e.<\/p>\n<p><a href=\"https:\/\/github.com\/weaveworks\/scope\/commits\/master\"><u>\u041a\u043e\u043c\u043c\u0438\u0442\u044b<\/u><\/a> \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0443\u0442\u044c \u0447\u0430\u0449\u0435, \u043e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0435 \u043e\u043d\u0438 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430, \u043f\u0440\u0438\u0447\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u2014 \u044f\u0432\u043d\u043e \u043d\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u043e\u043a\u0443\u0441 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p>\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044f\u0432\u043d\u044b\u0445 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0439 \u043e \u043a\u0430\u043a\u043e\u043c-\u043b\u0438\u0431\u043e deprecation \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043d\u0435 \u0432\u0438\u0434\u043d\u043e, \u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0432\u0451\u0437\u0434 \u043d\u0430 GitHub (5000+) \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e Weave Scope \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f, \u0438 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u0438 \u0431\u0440\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0432\u043e\u043e\u0440\u0443\u0436\u0435\u043d\u0438\u0435.<\/p>\n<h2>\u0420\u0435\u0437\u044e\u043c\u0435<\/h2>\n<p>\u0423\u0442\u0438\u043b\u0438\u0442\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u0438\u0445 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0432 Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0438\u043b\u0438 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c Docker-\u0443\u0437\u043b\u0435. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Weave Scope \u043c\u043e\u0436\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0443\u0437\u043b\u044b \u0438 \u0438\u0445 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443;<\/p>\n<\/li>\n<li>\n<p>\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b, \u0438\u0445 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b \u0438 \u0443\u0434\u0430\u043b\u044f\u0442\u044c Pod\u2019\u044b;<\/p>\n<\/li>\n<li>\n<p>\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u043e\u0433\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0432 Kubernetes \u2014 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <code>describe<\/code> \u043d\u0443\u0436\u043d\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0443\u0436\u043d\u0430 \u043b\u0438 \u044d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 SRE-\u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0443? \u0414\u0435\u043b\u043e \u0432\u043a\u0443\u0441\u0430 \u0438 \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u0422\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435\/\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b (\u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0433\u0440\u0430\u0444\u043e\u0432 \u2014 \u0432\u0440\u044f\u0434 \u043b\u0438).<\/p>\n<p>\u042f \u0443\u0431\u0435\u0436\u0434\u0435\u043d, \u0447\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442 \u0438\u0437 Grafana + Prometheus \u0437\u0430\u043a\u0440\u043e\u0435\u0442 99,9% \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043e \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0443 \u0438 \u0434\u043b\u044f SRE, \u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u2014 \u044d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438 observability (\u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u043c\u043e\u0441\u0442\u0438) \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0432\u0430\u0436\u043d\u0435\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0430\u043b\u0435\u0440\u0442 \u043a \u043c\u0435\u0442\u0440\u0438\u043a\u0435, \u0447\u0435\u043c \u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430.<\/p>\n<p><strong>P.S.<\/strong> \u0410 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u043c\u0443 \u0432\u0430\u0436\u0435\u043d \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 (\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u0438 \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c\u0438 \u0438 \u0430\u043b\u0435\u0440\u0442\u0430\u043c\u0438), \u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 Kubernetes-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0432\u0440\u043e\u0434\u0435 <a href=\"https:\/\/deckhouse.io\/ru\/\"><u>Deckhouse<\/u><\/a>. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0442\u0430\u043c \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0442 Istio \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0434\u0430\u0436\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0434\u0435\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0447\u0435\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 Scope.<\/p>\n<h3>P.P.S.<\/h3>\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>\n<p>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/563422\/\">\u041e\u0431\u0437\u043e\u0440 Lens \u2014 IDE \u0434\u043b\u044f Kubernetes<\/a>\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/534564\/\">Headlamp \u2014 \u043d\u043e\u0432\u044b\u0439 GUI \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Kubernetes<\/a>\u00bb;<\/p>\n<\/li>\n<li>\n<p>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/524196\/\">\u041e\u0431\u0437\u043e\u0440 k9s \u2014 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f Kubernetes<\/a>\u00bb.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/581070\/\"> https:\/\/habr.com\/ru\/articles\/581070\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><a href=\"https:\/\/github.com\/weaveworks\/scope\"><u>Weave Scope<\/u><\/a> \u2014 Open Source-\u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0437\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438, \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u043c\u0438 \u0432 Docker \u0438 Kubernetes. \u0423\u0442\u0438\u043b\u0438\u0442\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432, \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441; \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0443\u0436\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>Weave Scope \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0442\u043d\u0430\u044f SaaS-\u0432\u0435\u0440\u0441\u0438\u044f. \u0421\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438 Weave Scope \u2014 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Weaveworks, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 cloud native-\u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Cortex \u0438 Flux).<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 Weave Scope, \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043d\u0430 \u0445\u043e\u0441\u0442\u0435, \u043f\u043e\u0442\u043e\u043c \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Kubernetes, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 <a href=\"https:\/\/github.com\/weaveworks-plugins\/\"><u>\u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432<\/u><\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Weave Scope.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430 \u0445\u043e\u0441\u0442<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043d\u0430 \u0445\u043e\u0441\u0442 \u0441 Docker (\u0432\u043e\u043b\u0435\u044e \u0441\u0443\u0434\u0435\u0431 \u0438\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0434\u0438\u043d \u0438\u0437 GitLab Runner\u2019\u043e\u0432):<\/p>\n<pre><code class=\"bash\">sudo curl -L git.io\/scope -o \/usr\/local\/bin\/scope sudo chmod a+x \/usr\/local\/bin\/scope<\/code><\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:<\/p>\n<pre><code class=\"bash\"># scope launch Unable to find image 'weaveworks\/scope:1.13.1' locally 1.13.1: Pulling from weaveworks\/scope c9b1b535fdd9: Pull complete 550073704c23: Pull complete 8738e5bbaf1d: Pull complete 0a8826d26027: Pull complete 387c1aa951b4: Pull complete e72d45461bb9: Pull complete 75cc44b65e98: Pull complete 11f7584a6ade: Pull complete a5aa3ebbe1c2: Pull complete 7cdbc028c8d2: Pull complete Digest: sha256:4342f1c799aba244b975dcf12317eb11858f9879a3699818e2bf4c37887584dc Status: Downloaded newer image for weaveworks\/scope:1.13.1 094c702d56db92e59c3dd686971738e67088f85d8e98dfebd8f54da7bef993c1 Scope probe started Weave Scope is listening at the following URL(s):   * http:\/\/10.0.0.1:4040\/<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440:<\/p>\n<pre><code class=\"bash\"># docker ps CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS               NAMES 094c702d56db        weaveworks\/scope:1.13.1   \"\/home\/weave\/entrypo\u2026\"   46 seconds ago      Up 45 seconds                           weavescope<\/code><\/pre>\n<p><strong>\u0412\u0430\u0436\u043d\u043e. <\/strong>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0443 \u043d\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0430\u0434\u0440\u0435\u0441. \u041d\u0430 \u043d\u0435\u0439 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u044e\u0449\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b iptables, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb. \u0412 \u0431\u043e\u0435\u0432\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u044d\u0442\u043e \u043e\u043f\u0430\u0441\u043d\u043e: \u043b\u044e\u0431\u043e\u043c\u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0430\u0434\u0440\u0435\u0441\u0430 \u0432\u0430\u0448\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441 Docker, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 Weave Scope, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0438 \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c.<\/p>\n<p>\u0417\u0430\u0439\u0434\u0435\u043c \u0432 \u043d\u0430\u0448 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0443\u0441\u0442\u043e! \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u043f\u043e\u043a\u0430 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c <s>\u043a\u0440\u043e\u043b\u0438\u043a\u0430 \u0432 \u0442\u0440\u0430\u0432\u043a\u0443 \u043f\u043e\u0431\u0435\u0433\u0430\u0442\u044c<\/s> \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0441 RabbitMQ:<\/p>\n<pre><code class=\"bash\"># docker run -d --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0438\u0445 \u0434\u0432\u043e\u0435, \u0438\u043c \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0443\u0447\u043d\u043e.<\/p>\n<pre><code class=\"bash\"># docker ps CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                                                                                                         NAMES 0594046d0809        rabbitmq:3-management     \"docker-entrypoint.s\u2026\"   40 seconds ago      Up 36 seconds       4369\/tcp, 5671\/tcp, 0.0.0.0:5672->5672\/tcp, 15671\/tcp, 15691-15692\/tcp, 25672\/tcp, 0.0.0.0:15672->15672\/tcp   rabbitmq 094c702d56db        weaveworks\/scope:1.13.1   \"\/home\/weave\/entrypo\u2026\"   11 minutes ago      Up 11 minutes                                                                                                                     weavescope<\/code><\/pre>\n<p>\u041d\u0430\u0448 \u00ab\u043a\u0440\u043e\u043b\u0438\u043a\u00bb \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438 \u0432 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438 \u0432\u0438\u0434\u0438\u043c \u043a\u0440\u0430\u0442\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0435\u043c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a: <code>attach<\/code> \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0443, <code>exec<\/code> \u0432 \u0435\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u0440\u0435\u0441\u0442\u0430\u0440\u0442, \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b <em>\u0442\u043e\u043b\u044c\u043a\u043e<\/em> \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Scope \u043d\u0430 \u0445\u043e\u0441\u0442\u0435 (\u043d\u0435 \u0432 Kubernetes).<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u043b\u0435\u0432\u0430 \u0432\u043d\u0438\u0437\u0443 \u0438 \u0432\u0432\u0435\u0440\u0445\u0443 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u043d\u0430\u0431\u043e\u0440 \u043a\u043d\u043e\u043f\u043e\u043a \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c \u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0440\u0435\u0436\u0438\u043c\u0430\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0435\u0442\u044c \u0443 \u0445\u043e\u0441\u0442\u0430 \u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u044d\u0442\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438, \u043a\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0432 K8s \u2014 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043a\u0443\u0434\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435.<\/p>\n<p>\u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0440\u0435\u0436\u0438\u043c \u0441 \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c\u0438:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0427\u0442\u043e \u0436, \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 Weave Scope \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0445\u043e\u0441\u0442\u0435 \u2014 \u043d\u043e \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0437\u0430\u0442\u0440\u0430\u0432\u043a\u0438.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0432 Kubernetes<\/h2>\n<p><a href=\"https:\/\/www.weave.works\/docs\/scope\/latest\/installing\/#k8s\"><u>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0435\u043c<\/u><\/a> \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c K8s-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 (\u043d\u0430 \u0431\u0430\u0437\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deckhouse):<\/p>\n<pre><code class=\"bash\">$ kubectl apply -f \"https:\/\/cloud.weave.works\/k8s\/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\\n')\" namespace\/weave created serviceaccount\/weave-scope created clusterrole.rbac.authorization.k8s.io\/weave-scope created clusterrolebinding.rbac.authorization.k8s.io\/weave-scope created deployment.apps\/weave-scope-app created service\/weave-scope-app created deployment.apps\/weave-scope-cluster-agent created daemonset.apps\/weave-scope-agent created<\/code><\/pre>\n<p>\u041d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0443\u0437\u0435\u043b \u043a \u043d\u0430\u043c \u00ab\u043f\u0440\u0438\u0441\u043a\u0430\u043a\u0430\u043b\u00bb DaemonSet. \u041f\u043b\u044e\u0441 \u0432 namespace\u2019\u0435 <code>weave<\/code> \u043f\u043e\u0441\u0435\u043b\u0438\u043b\u0441\u044f \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043d\u044b\u0439 \u00ab<a href=\"https:\/\/github.com\/weaveworks\/scope\/blob\/master\/docker\/Dockerfile.cloud-agent\"><u>\u0430\u0433\u0435\u043d\u0442<\/u><\/a>\u00bb \u0438 \u0441\u0430\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"bash\">$ kubectl -n weave get po -owide NAME                                         READY   STATUS    RESTARTS   AGE   IP             NODE             NOMINATED NODE   READINESS GATES weave-scope-agent-4nflf                      1\/1     Running   0          53s   10.1.2.154   kube-front-1    &lt;none>           &lt;none> weave-scope-agent-52ncg                      1\/1     Running   0          53s   10.1.2.161   kube-master-3   &lt;none>           &lt;none> weave-scope-agent-62s6g                      1\/1     Running   0          53s   10.1.2.152   kube-system-1   &lt;none>           &lt;none> weave-scope-agent-7wqdk                      1\/1     Running   0          53s   10.1.2.159   kube-master-1   &lt;none>           &lt;none> weave-scope-agent-jtv78                      1\/1     Running   0          53s   10.1.2.162   kube-node-1     &lt;none>           &lt;none> weave-scope-agent-mfgdx                      1\/1     Running   0          53s   10.1.2.163   kube-node-2     &lt;none>           &lt;none> weave-scope-agent-sl968                      1\/1     Running   0          53s   10.1.2.155   kube-front-2    &lt;none>           &lt;none> weave-scope-agent-t9vlp                      1\/1     Running   0          53s   10.1.2.164   kube-node-3     &lt;none>           &lt;none> weave-scope-agent-tjz92                      1\/1     Running   0          53s   10.1.2.153   kube-system-2   &lt;none>           &lt;none> weave-scope-agent-wnj6m                      1\/1     Running   0          53s   10.1.2.160   kube-master-2   &lt;none>           &lt;none> weave-scope-app-545ddf96b4-l98b4             1\/1     Running   0          53s   10.2.7.248   kube-node-3     &lt;none>           &lt;none> weave-scope-cluster-agent-74c596c6b7-wwrtb   1\/1     Running   0          53s   10.2.7.247   kube-node-3     &lt;none>           &lt;none><\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 Ingress, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c:<\/p>\n<pre><code class=\"bash\">apiVersion: networking.k8s.io\/v1 kind: Ingress metadata:   name: weave   namespace: weave spec:   rules:   - host: weave.kokoko.kom     http:       paths:       - path: \/         pathType: Prefix         backend:           service:             name: weave-scope-app             port:               name: app<\/code><\/pre>\n<p>\u041e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434 \u2014 \u0433\u0440\u0430\u0444\u044b, \u0433\u0434\u0435 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0438 Pod\u2019\u044b, \u0430 \u0440\u0435\u0431\u0440\u0430\u043c\u0438 \u2014 \u0438\u043c\u0435\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u0432\u044f\u0437\u0438 \u044d\u0442\u0438\u0445 Pod\u2019\u043e\u0432:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0413\u0440\u0430\u0444\u044b \u0441\u0442\u0440\u043e\u044f\u0442\u0441\u044f \u043d\u0430 \u043b\u0435\u0442\u0443, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430: <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0449\u0451 \u0433\u0440\u0430\u0444\u044b (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d <code>d8-monitoring<\/code>):<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u2014 Pod\u2019\u044b \u0432 namespace\u2019\u0435 <code>d8-monitoring<\/code> (\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430) \u0438 \u0438\u0445 \u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439, \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430 <em>Services<\/em>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 trickster \u0438 \u0432\u0438\u0434\u0438\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435\/\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0432 <em>Controllers<\/em>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418 \u0434\u0430\u043b\u0435\u0435 \u2014 \u0432 <em>Pods<\/em>. \u0417\u0434\u0435\u0441\u044c \u0443\u0436\u0435 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0432\u0435\u0441\u0438\u0441\u0442\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 <em>Live<\/em>, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u00ab\u0432 \u0436\u0438\u0432\u0443\u044e\u00bb. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0433\u0440\u0430\u0444\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f, \u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u0438\u043b\u044c\u043d\u043e:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u043d\u0438 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u044f\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u043c\u0430\u043b\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0423 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c namespace\u2019\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u043f\u043e 50-60 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 Kafka \u0438 ZooKeeper. \u0421\u0442\u0440\u0430\u0448\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c, \u043a\u0430\u043a \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0433\u0440\u0430\u0444\u044b Weave Scope: \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043a\u043d\u043e\u043f\u043a\u0430 <em>Pause<\/em> \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0436\u0430\u0442\u0430 \u0442\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<h2>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u044b<\/h2>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/weaveworks-plugins\/scope-iowait\"><u>IOWait<\/u><\/a>. \u042d\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 iostat. IOWait \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 CPU \u0445\u043e\u0441\u0442\u0430 \u043f\u0440\u044f\u043c\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 Weave Scope.<\/p>\n<pre><code class=\"bash\">$ kubectl apply -f https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml error: unable to recognize \"https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml\": no matches for kind \"DaemonSet\" in version \"extensions\/v1beta1\"<\/code><\/pre>\n<p>\u041f\u0435\u0447\u0430\u043b\u044c\u043d\u043e. \u041d\u043e \u043c\u044b \u043d\u0435 \u0443\u043d\u044b\u0432\u0430\u0435\u043c \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<pre><code class=\"bash\">$ curl https:\/\/raw.githubusercontent.com\/weaveworks-plugins\/scope-iowait\/master\/deployments\/k8s-iowait.yaml -so k8s-iowait.yaml $ sed -i 's\/extensions\\\/v1beta1\/apps\\\/v1\/' k8s-iowait.yaml $ kubectl -n scope apply -f k8s-iowait.yaml error: error validating \"k8s-iowait.yaml\": error validating data: ValidationError(DaemonSet.spec): missing required field \"selector\" in io.k8s.api.apps.v1.DaemonSetSpec; if you choose to ignore these errors, turn validation off with --validate=false<\/code><\/pre>\n<p>\u041b\u0430\u0434\u043d\u043e, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e: \u0431\u0435\u0437 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 DaemonSet \u043d\u0435 DaemonSet. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 <code>spec<\/code> DaemonSet\u2019\u0430:<\/p>\n<pre><code class=\"bash\">spec:   selector:     matchLabels:       app: weavescope  $ kubectl -n weave get po NAME                                         READY   STATUS    RESTARTS   AGE weave-scope-agent-2h4dj                      1\/1     Running   0          89m weave-scope-agent-94zkx                      1\/1     Running   0          93m weave-scope-agent-9tfbc                      1\/1     Running   0          88m weave-scope-agent-ccbfs                      1\/1     Running   0          90m weave-scope-agent-h22xn                      1\/1     Running   0          92m weave-scope-agent-kz2nc                      1\/1     Running   0          91m weave-scope-agent-lj49z                      <\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-392995","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/392995","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=392995"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/392995\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=392995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=392995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=392995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}