{"id":307251,"date":"2020-07-21T09:00:41","date_gmt":"2020-07-21T09:00:41","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=307251"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=307251","title":{"rendered":"\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 SRE-\u0431\u0443\u0434\u043d\u0435\u0439. \u0427\u0430\u0441\u0442\u044c 2"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/510486\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ay\/hb\/mz\/ayhbmzwkjj1wx9bsvn7fqdaccqk.png\"><\/p>\n<p>  \u0423\u0442\u0435\u043a\u043b\u043e \u0443\u0436\u0435 \u043d\u0435\u043c\u0430\u043b\u043e \u0432\u043e\u0434\u044b \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/471892\/\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043e\u0447\u0435\u0440\u043a\u0430<\/a> \u043e\u0431 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0438\u0437 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0445 \u0432 \u043d\u0451\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432\/\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0425\u043e\u0442\u0438\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043e\u0432 \u00ab\u0424\u043b\u0430\u043d\u0442\u0430\u00bb \u0432 \u043d\u0435\u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b\u0445 \u0432\u043e\u0434\u0430\u0445 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 (\u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c) \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<a name=\"habracut\"><\/a><\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u21161. Kafka \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u0442 Docker\u2019a \u0432 K8s<\/h2>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u0445, \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u043e\u0442\u0440\u0430\u0441\u043b\u0438 \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0443\u0436\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043b\u043e\u0442\u043d\u043e \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b\u0438\u0441\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0440\u0435\u0434\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0437\u0430\u0431\u0430\u0432\u043d\u044b\u0435 (\u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c) \u0431\u0430\u0433\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0432 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 Docker\/Kubernetes.<\/p>\n<p>  \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u043a\u0443 ZooKeeper + Kafka \u0434\u043b\u044f Sentry, \u043d\u0443 \u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e: \u0431\u0435\u0440\u0435\u043c \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0442\u044f\u0436\u0435\u043b\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 Helm-\u0447\u0430\u0440\u0442 Kafka \u0438\u0437 \u0432\u0441\u0435\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e <a href=\"https:\/\/github.com\/helm\/charts\/tree\/master\/incubator\/kafka\">\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 GitHub<\/a>, \u043e\u0431\u0440\u0435\u0437\u0430\u0435\u043c \u0432\u0441\u0451 \u043b\u0438\u0448\u043d\u0435\u0435, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0432\u043e\u0451 \u043f\u043e\u0434 \u043d\u0443\u0436\u0434\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430. <\/p>\n<p>  \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u2014 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<pre><code class=\"plaintext\">===&gt; Configuring ... port is deprecated. Please use KAFKA_ADVERTISED_LISTENERS instead. <\/code><\/pre>\n<p>  \u0421\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u2014 \u043e\u043a, \u0434\u043e\u0431\u0430\u0432\u0438\u043c:<\/p>\n<pre><code class=\"plaintext\">env:   - name: KAFKA_ADVERTISED_LISTENERS     value: {{ printf &quot;%s:%s&quot; .Chart.Name  .Values.port._default }} <\/code><\/pre>\n<p>  \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0442\u043e \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u0438\u0448\u0435\u0442? \u0418 \u0442\u043e\u0433\u0434\u0430 \u0432\u0441\u0442\u0430\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a\u043e\u0439 \u043e\u0431\u0440\u0430\u0437 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438 \u0447\u0442\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c? \u0427\u0430\u0440\u0442 \u0438\u0437 \u043a\u0440\u0443\u043f\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 <a href=\"https:\/\/hub.docker.com\/r\/confluentinc\/cp-kafka\/tags\">confluentinc\/cp-kafka<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u0435\u0442 \u0448\u0438\u0440\u043e\u043a\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 entrypoint (\u043a\u0430\u043a \u0438 \u0443 \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u0440\u0430\u0437\u043e\u0432 Confluent Community). \u0415\u0441\u043b\u0438 \u0436\u0435 \u0438\u0437\u0443\u0447\u0438\u0442\u044c, \u0447\u0442\u043e \u0438 \u0432 \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/confluentinc\/kafka-images\/blob\/master\/kafka\/include\/etc\/confluent\/docker\/configure\">\u0441\u043a\u0440\u0438\u043f\u0442<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438 \u0442\u0430\u0438\u0442\u0441\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c:<\/p>\n<pre><code class=\"plaintext\">if [[ -n &quot;${KAFKA_PORT-}&quot; ]] then   echo &quot;port is deprecated. Please use KAFKA_ADVERTISED_LISTENERS instead.&quot;   exit 1 fi <\/code><\/pre>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0451 \u044f\u0441\u043d\u043e, \u043d\u043e \u0432\u0435\u0434\u044c \u043c\u044b \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e (\u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u0433\u043e) \u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u043b\u0438!..<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u0442\u0430\u043a\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442\u2026 \u043a\u0430\u043a \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435, \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0435\u0439 \u0444\u043e\u0440\u043c\u0430\u0442\u0430: <\/p>\n<pre><code class=\"plaintext\">root@kafka-0:\/# env |grep KAFKA_PORT KAFKA_PORT_9092_TCP_PORT=9092 KAFKA_PORT_9092_TCP_PROTO=tcp KAFKA_PORT=tcp:\/\/192.168.252.192:9092 KAFKA_PORT_9092_TCP=tcp:\/\/192.168.252.192:9092 KAFKA_PORT_9092_TCP_ADDR=192.168.252.192 <\/code><\/pre>\n<p>  \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e kubelet \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 pod\u2019\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u2014 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043d\u0430\u0439\u0442\u0438 \u0430\u0434\u0440\u0435\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0447\u0442\u043e \u043a\u0440\u0430\u0442\u043a\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 <a href=\"https:\/\/kubernetes.io\/docs\/concepts\/services-networking\/service\/#environment-variables\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 K8s<\/a>.<\/p>\n<p>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432 Kubernetes \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u044f\u0432\u043d\u043e\u0435 (\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 \u043e\u0442 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u043e\u0433\u043e <i>kafka<\/i>).<\/p>\n<p>  \u041f\u0440\u043e\u0431\u0443\u0435\u043c, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c:<\/p>\n<pre><code class=\"plaintext\">$ kubectl -n sentry logs sentry-kafka-0 ===&gt; ENV Variables ... ... SENTRY_KAFKA_PORT=tcp:\/\/192.168.224.150:9092 ... ===&gt; Configuring ... ===&gt; Running preflight checks ... ===&gt; Check if \/var\/lib\/kafka\/data is writable ... <\/code><\/pre>\n<p>  \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c! \u0412\u044b \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b!<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u21162. \u041a\u0430\u043a \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0435 100 \u0431\u0430\u0439\u0442 \u0441\u0442\u0430\u043b\u0438 \u043f\u0440\u0438\u0447\u0438\u043d\u043e\u0439 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/h2>\n<p>  \u041c\u044b \u043b\u044e\u0431\u0438\u043c ClickHouse \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u044d\u0442\u0443 \u0411\u0414 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438. \u0410 \u0435\u0449\u0435 \u043c\u044b <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/480946\/\">\u0445\u0440\u0430\u043d\u0438\u043c \u0442\u0430\u043c \u043b\u043e\u0433\u0438<\/a> K8s-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u2014 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0430\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 <a href=\"https:\/\/github.com\/flant\/loghouse\">loghouse<\/a>. \u0422\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u0441 \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0448\u044c \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442 \u0430\u0432\u0430\u0440\u0438\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 ClickHouse, \u043f\u0440\u0438\u0447\u0435\u043c \u0440\u0430\u0437\u043d\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0442\u044f\u0436\u0435\u0441\u0442\u0438\u2026 \u043d\u043e \u044d\u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439 \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u0439.<\/p>\n<p>  \u0423 \u043d\u0430\u0441 \u0432 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0438 \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442 \u0435\u0441\u0442\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440 ClickHouse \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432: 5 \u0448\u0430\u0440\u0434\u043e\u0432, 10 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u0445 \u0443\u0437\u043b\u043e\u0432 \u043f\u043e 45 \u0422\u0431 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439. \u0412 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 \u043c\u043d\u043e\u0433\u043e replicated-\u0442\u0430\u0431\u043b\u0438\u0446, \u0430 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0442\u0435\u0440 ZooKeeper \u0438\u0437 3 \u0443\u0437\u043b\u043e\u0432 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445.<\/p>\n<p>  \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043d\u043e\u0447\u044c\u044e \u043d\u0430\u043c\u0435\u0440\u0442\u0432\u043e \u0437\u0430\u0432\u0438\u0441 \u043e\u0434\u0438\u043d \u0438\u0437 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0438 ZooKeeper\u2019\u0430. \u0411\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0442\u0435\u0440 ZK \u043f\u043e\u0442\u0435\u0440\u044f\u043b \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u044c, \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c ClickHouse. \u041f\u0435\u0440\u0432\u0430\u044f \u043c\u044b\u0441\u043b\u044c \u2014 \u00ab\u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0431\u0438\u043b\u043e\u0441\u044c\u00bb, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430.<\/p>\n<p>  \u0421\u043a\u0430\u0437\u0430\u043d\u043e \u2014 \u0441\u0434\u0435\u043b\u0430\u043d\u043e! \u041e\u0434\u043d\u0430\u043a\u043e ZooKeeper \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0441\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u0438\u0434\u0435\u0440\u0430 \u0438 \u0440\u0430\u0437\u043b\u0438\u0442\u044c \u0441\u043d\u0430\u043f\u0448\u043e\u0442 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0438\u0441\u043f\u044b\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<pre><code class=\"plaintext\">2020-07-03 18:19:50,681 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:2181)(secure=disabled):Follower@129] - Exception when following the leader java.net.SocketTimeoutException: Read timed out .... <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0431\u0435\u0437 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u0432 ClickHouse, \u0442\u043e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043d\u0435 \u043b\u0443\u0447\u0448\u0435:<\/p>\n<pre><code class=\"plaintext\">CREATE TABLE ctest.stor1 (`date` Date, `created` DateTime, `value` Int32) ENGINE = ReplicatedMergeTree('\/clickhouse\/tables\/{shard}\/stor1', '{replica}', date, value, 8192); .... Received exception from server (version 19.14.3): Code: 999. DB::Exception: Received from 127.0.0.1:9000. Coordination::Exception. Coordination::Exception: All connection tries failed while connecting to ZooKeeper. Addresses: 192.168.110.60:2181, 192.168.110.61:2181, 192.168.110.62:2181 .... Code: 209, e.displayText() = DB::NetException: Timeout exceeded while reading from socket (192.168.110.62:2181): while receiving handshake from ZooKeeper (version 19.14.3.3 (official build)), 192.168.110.62:2181 (Connection loss). <\/code><\/pre>\n<p>  \u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e: \u0432\u0435\u0434\u044c \u043c\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a\u2026 \u043d\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445, \u043d\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u0430\u043c\u0438\u0445 CH \u0438 ZK. \u041d\u043e \u043a\u043e\u0441\u0432\u0435\u043d\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0441\u0435\u0442\u044c\u044e, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u043e\u043d\u0438 \u044f\u0432\u043d\u043e \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b \u043d\u0430 ZK. <\/p>\n<p>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u0432\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0438\u0437\u043b\u0438\u0448\u043d\u044e\u044e \u0434\u0435\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e <i>\u0432\u0441\u0435\u0445<\/i> \u043d\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0445 \u0434\u043b\u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u2014 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0438\u0448\u044c \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u043d\u0435\u0440\u0432\u043d\u0438\u0447\u0430\u043b\u0438 \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e. \u0418\u0442\u043e\u0433\u043e\u043c \u0436\u0435 \u044d\u0442\u0438\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u0442\u0430\u043b\u2026 \u0441\u0430\u043c\u044b\u0439 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 <strong>MTU<\/strong>!<\/p>\n<pre><code class=\"plaintext\">2: ens3: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000     link\/ether 52:54:00:e5:6d:fc brd ff:ff:ff:ff:ff:ff     inet 192.168.110.60\/24 brd 192.168.110.255 scope global ens3        valid_lft forever preferred_lft forever <\/code><\/pre>\n<p>  \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0435\u0442\u044c \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0430\u0445 \u0434\u043b\u044f ZK \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u0430\u0432\u043d\u043e \u2014 \u0432 2018 \u0433\u043e\u0434\u0443, \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 Ubuntu 18.04 \u0438 \u0442\u043e\u0433\u0434\u0430 \u0431\u044b\u043b \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d \u0435\u0449\u0435 \u043d\u0435 \u0441\u0442\u0430\u0432\u0448\u0438\u0439 \u043f\u043e-\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c <strong>netplan<\/strong>. \u0410 \u043e\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 MTU \u0432 1500 \u0431\u0430\u0439\u0442. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f, \u043a\u0430\u043a \u043c\u043d\u043e\u0433\u0438\u0435 \u0437\u043d\u0430\u044e\u0442, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 MTU \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 Hetzner vSwitch \u2014 1400 \u0431\u0430\u0439\u0442.<\/p>\n<p>  \u0418\u0442\u043e\u0433: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u043b\u0430, \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 100 \u0431\u0430\u0439\u0442 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0444\u0430\u0442\u0430\u043b\u044c\u043d\u043e\u0439. \u041f\u0440\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0438 MTU \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0437\u0430\u0432\u0451\u043b\u0441\u044f \u0438 \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c (\u0430 \u043c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f).<\/p>\n<h3>\u0411\u043e\u043d\u0443\u0441!<\/h3>\n<p>  \u041f\u0440\u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0432 ZK \u043c\u044b \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 (\u043f\u043e\u043c\u0438\u043c\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e) \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b (\u043a\u043e\u0433\u0434\u0430 \u043a\u043b\u044e\u0447 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u044f\u043c\u043e \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 ENGINE) \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 20 \u0432\u0435\u0440\u0441\u0438\u0438 ClickHouse \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c (deprecated):<\/p>\n<pre><code class=\"plaintext\">CREATE TABLE ctest.stor1foo (`date` Date, `created` DateTime, `value` Int32) ENGINE = ReplicatedMergeTree('\/clickhouse\/tables\/{shard}\/stor1foo', '{replica}', date, value, 8192); <\/code><\/pre>\n<p>  \u0412 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 ClickHouse \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442:<\/p>\n<pre><code class=\"plaintext\">CREATE TABLE ctest.stor1bar (  `date` Date,  `created` DateTime,  `value` Int32 ) ENGINE = ReplicatedMergeTree('\/clickhouse\/tables\/{shard}\/stor1bar', '{replica}') PARTITION BY date ORDER BY value SETTINGS index_granularity = 8192 <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u0433\u043b\u044f\u0434\u0438\u0442\u0435\u0441\u044c: \u043f\u043e \u0441\u0443\u0442\u0438 \u043e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0434\u0435\u043b\u0430\u044e\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438. \u041d\u043e \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0438\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0442 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"plaintext\">[zk: localhost:2181(CONNECTED) 5] get \/clickhouse\/tables\/1\/stor1foo\/metadata metadata format version: 1 date column: date sampling expression: index granularity: 8192 mode: 0 sign column: primary key: value granularity bytes: 10485760  [zk: localhost:2181(CONNECTED) 6] get \/clickhouse\/tables\/1\/stor1bar\/metadata metadata format version: 1 date column: sampling expression: index granularity: 8192 mode: 0 sign column: primary key: value data format version: 1 partition key: date granularity bytes: 10485760 <\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u0432 \u043f\u043e\u043b\u044f\u0445 <code>date column <\/code>\u0438<code> partition key<\/code>, \u0445\u043e\u0442\u044f \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u043c\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 CH, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0430.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u21163. \u041a\u0430\u043a \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043d K8s-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u2026 \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u2014 \u043f\u0435\u0440\u0435\u0433\u0440\u0435\u0442<\/h2>\n<p>  \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043e \u0441\u0431\u043e\u044f\u0445 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041f\u0440\u0438 \u043e\u0441\u043c\u043e\u0442\u0440\u0435 pod\u2019\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e pod\u2019\u044b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0438 \u0442\u043e\u043b\u043a\u043e\u043c \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442.<\/p>\n<p>  \u0421\u0435\u0440\u0432\u0438\u0441 \u0431\u044b\u043b \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0443\u0437\u043b\u0430\u0445 K8s, \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 CPU \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u043e\u043b\u043e\u0441\u0441\u0430\u043b\u044c\u043d\u043e\u0439. \u0420\u043e\u0441\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u0435\u043b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0437\u043b\u0430\u0445 \u043d\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0431\u043b\u0438\u0437\u043a\u043e \u0434\u0440\u0443\u0433 \u043a \u0434\u0440\u0443\u0433\u0443 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0441\u0442\u043e\u043b\u044c \u043f\u043b\u043e\u0445\u0430, \u0447\u0442\u043e \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 kubelet \u043f\u043e\u043f\u0440\u043e\u0441\u0442\u0443 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c. <\/p>\n<p>  \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0445 \u0443\u0437\u043b\u0430\u0445 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u0435\u043b\u0438\u043a\u043e: \u043b\u044c\u0432\u0438\u043d\u0430\u044f \u0434\u043e\u043b\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u043d\u0430 <code>kidle_inj<\/code>, \u0442.\u0435. \u044f\u0434\u0440\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u043e idle-\u043f\u0440\u043e\u0446\u0435\u0441\u0441.<\/p>\n<pre><code class=\"plaintext\">$ dmesg -T | grep intel_powercl [Sat Jun 13 06:29:00 2020] intel_powerclamp: Start idle injection to reduce power [Sat Jun 13 06:29:02 2020] intel_powerclamp: Stop forced idle injection [Sat Jun 13 06:29:05 2020] intel_powerclamp: Start idle injection to reduce power [Sat Jun 13 06:29:07 2020] intel_powerclamp: Stop forced idle injection [Sat Jun 13 06:29:08 2020] intel_powerclamp: Start idle injection to reduce power <\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 bare metal, \u0442.\u0435. \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u0445 \u0443\u0437\u043b\u0430\u0445. \u0412\u043e\u0437\u043d\u0438\u043a \u0437\u0430\u043a\u043e\u043d\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u0447\u0442\u043e \u0441 \u0438\u0445 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u043e\u0439?<\/p>\n<pre><code class=\"bash\">$ sensors coretemp-isa-0000 Adapter: ISA adapter Package id 0:  +92.0\u00b0C  (high = +80.0\u00b0C, crit = +100.0\u00b0C) Core 0:        +90.0\u00b0C  (high = +80.0\u00b0C, crit = +100.0\u00b0C) Core 1:        +91.0\u00b0C  (high = +80.0\u00b0C, crit = +100.0\u00b0C) Core 2:        +92.0\u00b0C  (high = +80.0\u00b0C, crit = +100.0\u00b0C) Core 3:        +91.0\u00b0C  (high = +80.0\u00b0C, crit = +100.0\u00b0C) <\/code><\/pre>\n<p>  90 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432!<\/p>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u044b, \u0430 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043a\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443.<\/p>\n<p>  \u041e\u0442\u0432\u0435\u0442\u043e\u043c \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0441\u0442\u0430\u043b\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0448\u0438\u043d \u043d\u0430 30 \u043c\u0438\u043d\u0443\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442. \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e, \u043c\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u0438 (drain\u2019\u043e\u043c) \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0439 \u0443\u0437\u0435\u043b. \u0410 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u043e\u0442\u0432\u0435\u0442 \u0414\u0426:<\/p>\n<blockquote><p>Dear Client,<br \/>  unfortunately the CPU fan was faulty, we&#8217;ve replaced this and started the server again.  <\/p><\/blockquote>\n<p>  \u0427\u0442\u043e \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u043a\u0430\u0437\u0430\u0442\u044c! \u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0448\u0430\u0433\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b: \u043f\u043e\u043e\u0447\u0435\u0440\u0435\u0434\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0443\u0437\u043b\u043e\u0432 \u0438\u0437 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0446\u0438\u044f \u043d\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0441 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c\u0438 \u0432 \u0414\u0426, \u043c\u0435\u043d\u044f\u044e\u0449\u0438\u043c\u0438 \u043a\u0443\u043b\u0435\u0440\u044b. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0433\u043b\u0430\u0437\u0430\u0445 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u043d\u043e\u0440\u043c\u0443.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u21164. \u041e\u0434\u0430 pg_repack \u0434\u043b\u044f PostgreSQL<\/h2>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e \u043c\u044b \u043d\u0435 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u0441\u043b\u0443\u0433\u0438 DBA. \u0414\u0430, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u0432, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b. \u0417\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0442\u0430\u043a\u0438\u0435 \u0432\u0435\u0449\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e \u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432: \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u0448\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u0448\u043b\u0438 (\u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u0439\u0442\u0438, \u0435\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e).<\/p>\n<p>  \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043d\u0430\u0448 \u0434\u0435\u0436\u0443\u0440\u043d\u044b\u0439 \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0440\u043e\u0441\u0442 \u0434\u043e\u043b\u0433\u0438\u0445 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0422\u043e\u0447\u043d\u0435\u0435, \u0435\u0433\u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430: \u043f\u043b\u0430\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u043d\u0435\u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0431\u0430\u0437\u044b \u0441\u0442\u0430\u043b\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u043f\u043e\u043f\u0430\u043b\u0430 \u043f\u043e\u0434 \u0442\u0440\u0438\u0433\u0433\u0435\u0440 \u0434\u043e\u043b\u0433\u0438\u0445 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439.<\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0448\u0430\u0433 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433, \u0441\u0442\u0430\u043b\u043e \u044f\u0441\u043d\u043e, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f <a href=\"https:\/\/www.postgresql.org\/docs\/11\/pgstattuple.html\"><code>pgstattuple<\/code><\/a> \u043e\u0446\u0435\u043d\u0438\u043b\u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438:<\/p>\n<pre><code class=\"plaintext\">SELECT schemaname,        tablename,        dead_tuple_count(stats) AS dead_tuples,        pg_size_pretty(dead_tuple_len(stats)) AS dead_space,        pg_size_pretty(free_space(stats)) AS free_space,        last_autovacuum,        last_autoanalyze FROM   (SELECT pgt.schemaname AS schemaname,           pgt.tablename AS tablename,           pgstattuple(pgt.schemaname || '.' || pgt.tablename)            AS stats,           uts.last_autovacuum AS last_autovacuum,           uts.last_autoanalyze AS last_autoanalyze    FROM pg_tables AS pgt    LEFT JOIN pg_stat_user_tables          AS uts          ON pgt.schemaname = uts.schemaname    AND pgt.tablename = uts.relname    WHERE pgt.schemaname NOT IN ('repack','pg_catalog')) AS r ORDER BY dead_tuples DESC; <\/code><\/pre>\n<p>  \u2026 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u0432:<\/p>\n<pre><code class=\"plaintext\">SELECT schemaname,        indexname,        tablename,        dead_tuple_count(stats) AS dead_tuples,        pg_size_pretty(dead_tuple_len(stats)) AS dead_space,        pg_size_pretty(free_space(stats)) AS free_space FROM   (SELECT pgt.schemaname AS schemaname,           pgt.indexname AS indexname,           pgt.tablename AS tablename,           pgstattuple(pgt.schemaname || '.' || pgt.indexname) AS stats    FROM pg_indexes AS pgt    WHERE pgt.schemaname NOT IN ('repack',                                 'pg_catalog')      AND pgt.indexname NOT IN ('some',                                'important',                                'triggers')) AS r ORDER BY dead_tuples DESC; <\/code><\/pre>\n<p>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u044b \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c <a href=\"https:\/\/github.com\/reorg\/pg_repack\"><code>pg_repack<\/code><\/a> \u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0440\u044f\u0434 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u0432.<\/p>\n<p>  \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f repack\u2019\u0430 \u043d\u0430 \u0411\u0414 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 620 \u0413\u0431 \u0437\u0430\u043d\u044f\u043b\u0430 \u0446\u0435\u043b\u0443\u044e \u043d\u043e\u0447\u044c \u0438 \u0443\u0442\u0440\u043e. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0441\u0442\u0430\u043b \u0432\u044b\u0438\u0433\u0440\u044b\u0448 \u043e\u043a\u043e\u043b\u043e 150 \u0413\u0431 \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u00ab\u043f\u0440\u0438\u0447\u0435\u0441\u044b\u0432\u0430\u043d\u0438\u0435\u00bb \u0431\u0430\u0437\u044b \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u043e\u0441\u0442\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0411\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u043f\u043b\u0430\u043d \u2014 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441 PostgreSQL v11 \u043d\u0430 v12, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043d\u0451\u043c <a href=\"https:\/\/www.postgresql.org\/docs\/release\/12.0\/\">\u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u044b<\/a> \u0442\u0435\u0445\u043d\u0438\u043a\u0438 \u0434\u043b\u044f \u0441\u043d\u0438\u0436\u0435\u043d\u0438\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u2014 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u0442\u0430\u043d\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u043d\u0430\u043c \u043c\u0435\u0448\u0430\u0442\u044c.<\/p>\n<p>  \u0412\u044b\u0432\u043e\u0434 \u0431\u0430\u043d\u0430\u043b\u0435\u043d: \u0441\u043b\u0435\u0434\u0438\u0442\u0435 \u0437\u0430 \u0431\u0430\u0437\u0430\u043c\u0438, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u0443\u043c\u043e\u043c \u0438 \u043d\u0435 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0439\u0442\u0435 \u0438\u0445 \u0432 \u043b\u0430\u043f\u0448\u0443, \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u0443\u044e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u0414\u0430\u0436\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0435\u043f\u043e\u0434\u043d\u043e\u0441\u0438\u0442\u044c \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u044b (\u043a\u0430\u043a \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435, \u0442\u0430\u043a \u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c), \u0447\u0442\u043e, \u043d\u0435\u0441\u043e\u043c\u043d\u0435\u043d\u043d\u043e, \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430\u0448\u0443 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0433\u043e \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0435\u0449\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435. \u0410 \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c \u0443 \u0432\u0430\u0441? \u0423 \u043d\u0430\u0441 \u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0439 \u0435\u0449\u0435 \u043c\u043d\u043e\u0433\u043e, \u0442\u0430\u043a \u0447\u0442\u043e \u0434\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0438 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438!<\/p>\n<h2>P.S.<\/h2>\n<p>  \u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0442\u0430\u043a\u0436\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0431\u043b\u043e\u0433\u0435:<\/p>\n<ul>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/471892\/\">6 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439 \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 SRE-\u0431\u0443\u0434\u043d\u0435\u0439<\/a>\u00bb;<\/li>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/501424\/\">\u0418\u0437 \u0436\u0438\u0437\u043d\u0438 \u0441 Kubernetes: \u041a\u0430\u043a \u043c\u044b \u0432\u044b\u043d\u043e\u0441\u0438\u043b\u0438 \u0421\u0423\u0411\u0414 (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u0438\u0437 review-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0439 \u0432 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435<\/a>\u00bb;<\/li>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/448420\/\">\u0418\u0437 \u0436\u0438\u0437\u043d\u0438 \u0441 Kubernetes: \u041a\u0430\u043a HTTP-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u0441\u043f\u0430\u043d\u0446\u0435\u0432 \u043d\u0435 \u0436\u0430\u043b\u043e\u0432\u0430\u043b<\/a>\u00bb;<\/li>\n<li> \u00ab<a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/443458\/\">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]<\/a>\u00bb.<\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/510486\/\"> https:\/\/habr.com\/ru\/company\/flant\/blog\/510486\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/510486\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ay\/hb\/mz\/ayhbmzwkjj1wx9bsvn7fqdaccqk.png\"><\/p>\n<p>  \u0423\u0442\u0435\u043a\u043b\u043e \u0443\u0436\u0435 \u043d\u0435\u043c\u0430\u043b\u043e \u0432\u043e\u0434\u044b \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/471892\/\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043e\u0447\u0435\u0440\u043a\u0430<\/a> \u043e\u0431 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0438\u0437 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0445 \u0432 \u043d\u0451\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432\/\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0425\u043e\u0442\u0438\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043e\u0432 \u00ab\u0424\u043b\u0430\u043d\u0442\u0430\u00bb \u0432 \u043d\u0435\u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b\u0445 \u0432\u043e\u0434\u0430\u0445 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 (\u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c) \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-307251","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307251","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=307251"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/307251\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}