{"id":303046,"date":"2020-05-05T09:00:44","date_gmt":"2020-05-05T09:00:44","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=303046"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=303046","title":{"rendered":"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 DNS \u0432 Kubernetes. \u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c"},"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\/post\/500346\/\"><i><b>\u041f\u0440\u0438\u043c. \u043f\u0435\u0440\u0435\u0432.:<\/b> \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430 \u0438\u0437 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"https:\/\/preply.com\/\" rel=\"nofollow\">Preply<\/a>. \u0412 \u043d\u0435\u043c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 conntrack \u0432 Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0430 \u043a \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0430.<\/i><\/p>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0443\u0437\u043d\u0430\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430\u0445 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 DNS \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i0\/_h\/in\/i0_hinn-vas9mgybmw8jyokalgo.jpeg\" alt=\"image\"><\/div>\n<p>  <i>\u042d\u0442\u043e \u043d\u0435 DNS<br \/>  \u041d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0447\u0442\u043e \u044d\u0442\u043e DNS<br \/>  \u042d\u0442\u043e \u0431\u044b\u043b DNS<\/i><\/p>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430\u0445 \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u0445 \u0432 Preply<\/h2>\n<p>  <\/p>\n<blockquote><p>\u0412 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0431\u043e\u0439 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0435-\u043b\u0438\u0431\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0432 \u043f\u0440\u043e\u0434\u0430\u0448\u043a\u043d\u0435. \u041f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0445\u0440\u043e\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u043e\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u0435\u0440\u0432\u043e\u043f\u0440\u0438\u0447\u0438\u043d\u0443, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0443\u0440\u043e\u043a\u0438.<\/p>\n<p>  <i><a href=\"http:\/\/shop.oreilly.com\/product\/0636920063964.do\" rel=\"nofollow\">Seeking SRE<\/a><\/i><\/p><\/blockquote>\n<p>  \u041d\u0430 \u0435\u0436\u0435\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u044f\u0445 \u0441 \u043f\u0438\u0446\u0446\u0435\u0439, \u0432 \u043a\u0440\u0443\u0433\u0443 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043c\u044b \u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0439. \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u043d\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u0442\u0430\u043a\u0438\u0445 \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0441\u043e \u0441\u043b\u0430\u0439\u0434\u0430\u043c\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u0438\u043c \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u0435\u0434\u0448\u0435\u0433\u043e \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442\u0430. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0435 \u00ab\u0445\u043b\u043e\u043f\u0430\u0435\u043c\u00bb \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u043e\u0432, \u043c\u044b \u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u043a\u0443\u043b\u044c\u0442\u0443\u0440\u0443 \u00ab\u0431\u0435\u0437 \u0443\u043f\u0440\u0435\u043a\u043e\u0432\u00bb (<a href=\"https:\/\/codeascraft.com\/2012\/05\/22\/blameless-postmortems\/\" rel=\"nofollow\">blameless cluture<\/a>). \u041c\u044b \u0432\u0435\u0440\u0438\u043c \u0432 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u043d\u0430\u043c (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u0432 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442\u043e\u0432 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0438 \u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0438\u043c\u0438.<\/p>\n<blockquote><p>\u041b\u0438\u0446\u0430, \u0432\u043e\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0432 \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442, \u0434\u043e\u043b\u0436\u043d\u044b \u0447\u0443\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u0435\u043c, \u043d\u0435 \u043e\u043f\u0430\u0441\u0430\u044f\u0441\u044c \u043d\u0430\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0432\u043e\u0437\u043c\u0435\u0437\u0434\u0438\u044f. \u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0440\u0438\u0446\u0430\u043d\u0438\u044f! \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430 \u2014 \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u043a\u0430\u0437\u0430\u043d\u0438\u0435, \u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438.<\/p>\n<p>  <i><a href=\"https:\/\/devblog.axway.com\/dev-insights\/keep-calms-devops-s-sharing\/\" rel=\"nofollow\">Keep CALMS &amp; DevOps: S is for Sharing<\/a><\/i><\/p><\/blockquote>\n<p>  <\/p>\n<h2>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 DNS \u0432 Kubernetes. \u041f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c<\/h2>\n<p>  <b>\u0414\u0430\u0442\u0430:<\/b> 28.02.2020<\/p>\n<p>  <b>\u0410\u0432\u0442\u043e\u0440\u044b:<\/b> \u0410\u043c\u0435\u0442 \u0423., \u0410\u043d\u0434\u0440\u0435\u0439 \u0421., \u0418\u0433\u043e\u0440\u044c \u041a., \u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041f.<\/p>\n<p>  <b>\u0421\u0442\u0430\u0442\u0443\u0441:<\/b> \u0417\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u044b\u0439<\/p>\n<p>  <b>\u041a\u0440\u0430\u0442\u043a\u043e:<\/b> \u0427\u0430\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c DNS (26 \u043c\u0438\u043d) \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435<\/p>\n<p>  <b>\u0412\u043b\u0438\u044f\u043d\u0438\u0435:<\/b> 15000 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043e \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 A, B \u0438 C<\/p>\n<p>  <b>\u041f\u0435\u0440\u0432\u043e\u043f\u0440\u0438\u0447\u0438\u043d\u0430:<\/b> Kube-proxy \u043d\u0435 \u0441\u043c\u043e\u0433 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b conntrack, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043f\u043e\u0434\u0430\u043c  <\/p>\n<pre><code class=\"bash\">E0228 20:13:53.795782       1 proxier.go:610] Failed to delete kube-system\/kube-dns:dns endpoint connections, error: error deleting conntrack entries for UDP peer {100.64.0.10, 100.110.33.231}, error: conntrack command returned: ...<\/code><\/pre>\n<p>  <b>\u0422\u0440\u0438\u0433\u0433\u0435\u0440:<\/b> \u0418\u0437-\u0437\u0430 \u043d\u0438\u0437\u043a\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, CoreDNS-autoscaler \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043e\u0432 \u0432 \u0434\u0435\u043f\u043b\u043e\u0439\u043c\u0435\u043d\u0442\u0435 \u0441 \u0442\u0440\u0435\u0445 \u0434\u043e \u0434\u0432\u0443\u0445<\/p>\n<p>  <b>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/b> \u041e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0434\u0435\u043f\u043b\u043e\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043d\u043e\u0434, CoreDNS-autoscaler \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u0434\u043e\u0432 \u0434\u043b\u044f \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u0447\u0442\u043e \u0441\u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u044b conntrack<\/p>\n<p>  <b>\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0435:<\/b> Prometheus \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e 5xx \u043e\u0448\u0438\u0431\u043e\u043a \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 A, B \u0438 C \u0438 \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043b \u0437\u0432\u043e\u043d\u043e\u043a \u0434\u0435\u0436\u0443\u0440\u043d\u044b\u043c \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u0430\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/p3\/dg\/w5\/p3dgw5pbkd6ckro2p2sia5-p3ry.png\"><br \/>  <i>5xx \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 Kibana<\/i><\/p>\n<h3>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/h3>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/th>\n<th>\u0422\u0438\u043f<\/th>\n<th>\u041e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439<\/th>\n<th>\u0417\u0430\u0434\u0430\u0447\u0430<\/th>\n<\/tr>\n<tr>\n<td>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0432\u0442\u043e\u0441\u043a\u0435\u0439\u043b\u0435\u0440 \u0434\u043b\u044f CoreDNS<\/td>\n<td>\u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440.<\/td>\n<td>\u0410\u043c\u0435\u0442 \u0423.<\/td>\n<td>DEVOPS-695<\/td>\n<\/tr>\n<tr>\n<td>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0439 DNS-\u0441\u0435\u0440\u0432\u0435\u0440<\/td>\n<td>\u0443\u043c\u0435\u043d\u044c\u0448.<\/td>\n<td>\u041c\u0430\u043a\u0441 \u0412.<\/td>\n<td>DEVOPS-665<\/td>\n<\/tr>\n<tr>\n<td>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 conntrack<\/td>\n<td>\u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440.<\/td>\n<td>\u0410\u043c\u0435\u0442 \u0423.<\/td>\n<td>DEVOPS-674<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <\/p>\n<h3>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0443\u0440\u043e\u043a\u0438<\/h3>\n<p>  <b>\u0427\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e:<\/b><\/p>\n<ul>\n<li>\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0447\u0435\u0442\u043a\u043e. \u0420\u0435\u0430\u043a\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0439<\/li>\n<li>\u041c\u044b \u043d\u0435 \u0443\u043f\u0435\u0440\u043b\u0438\u0441\u044c \u043d\u0438 \u0432 \u043a\u0430\u043a\u0438\u0435 \u043b\u0438\u043c\u0438\u0442\u044b \u043d\u0430 \u043d\u043e\u0434\u0430\u0445<\/li>\n<\/ul>\n<p>  <b>\u0427\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435 \u0442\u0430\u043a:<\/b><\/p>\n<ul>\n<li>\u0412\u0441\u0435 \u0435\u0449\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0432\u043e\u043f\u0440\u0438\u0447\u0438\u043d\u0430, \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <a href=\"https:\/\/github.com\/kubernetes\/kubernetes\/issues\/66651\" rel=\"nofollow\">\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0430\u0433<\/a> \u0432 conntrack<\/li>\n<li>\u0412\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f, \u043d\u0435 \u043f\u0435\u0440\u0432\u043e\u043f\u0440\u0438\u0447\u0438\u043d\u0443 (\u0431\u0430\u0433)<\/li>\n<li>\u041c\u044b \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0443 \u043d\u0430\u0441 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 DNS, \u043d\u043e \u043d\u0435 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0438<\/li>\n<\/ul>\n<p>  <b>\u0413\u0434\u0435 \u043d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e:<\/b><\/p>\n<ul>\n<li>\u041e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0434\u0435\u043f\u043b\u043e\u0439 \u0437\u0430\u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0438\u043b CoreDNS-autoscaler, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b \u0442\u0430\u0431\u043b\u0438\u0446\u0443 conntrack<\/li>\n<li>\u0414\u0430\u043d\u043d\u044b\u0439 \u0431\u0430\u0433 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432<\/li>\n<\/ul>\n<h3>\u0425\u0440\u043e\u043d\u043e\u043b\u043e\u0433\u0438\u044f (EET)<\/h3>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u0412\u0440\u0435\u043c\u044f<\/th>\n<th>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/th>\n<\/tr>\n<tr>\n<td>22:13<\/td>\n<td>CoreDNS-autoscaler \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b \u0447\u0438\u0441\u043b\u043e \u043f\u043e\u0434\u043e\u0432 \u0441 \u0442\u0440\u0435\u0445 \u0434\u043e \u0434\u0432\u0443\u0445<\/td>\n<\/tr>\n<tr>\n<td>22:18<\/td>\n<td>\u0414\u0435\u0436\u0443\u0440\u043d\u044b\u0435 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b \u0441\u0442\u0430\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043a\u0438 \u043e\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430<\/td>\n<\/tr>\n<tr>\n<td>22:21<\/td>\n<td>\u0414\u0435\u0436\u0443\u0440\u043d\u044b\u0435 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0432\u044b\u044f\u0441\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043e\u0448\u0438\u0431\u043e\u043a<\/td>\n<\/tr>\n<tr>\n<td>22:39<\/td>\n<td>\u0414\u0435\u0436\u0443\u0440\u043d\u044b\u0435 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u043e\u0442\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e<\/td>\n<\/tr>\n<tr>\n<td>22:40<\/td>\n<td>5xx \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f, \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  <\/p>\n<ul>\n<li><b>\u0412\u0440\u0435\u043c\u044f \u0434\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/b> 4 \u043c\u0438\u043d<\/li>\n<li><b>\u0412\u0440\u0435\u043c\u044f \u0434\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439:<\/b> 21 \u043c\u0438\u043d<\/li>\n<li><b>\u0412\u0440\u0435\u043c\u044f \u0434\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f:<\/b> 1 \u043c\u0438\u043d<\/li>\n<\/ul>\n<h3>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u041b\u043e\u0433\u0438 CoreDNS:<br \/> \n<pre><code class=\"bash\">I0228 20:13:53.507780       1 event.go:221] Event(v1.ObjectReference{Kind:&quot;Deployment&quot;, Namespace:&quot;kube-system&quot;, Name:&quot;coredns&quot;, UID:&quot;2493eb55-3dc0-11ea-b3a2-02bb48f8c230&quot;, APIVersion:&quot;apps\/v1&quot;, ResourceVersion:&quot;132690686&quot;, FieldPath:&quot;&quot;}): type: 'Normal' reason: 'ScalingReplicaSet' Scaled down replica set coredns-6cbb6646c9 to 2<\/code><\/pre>\n<\/li>\n<li>\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 Kibana (\u0432\u044b\u0440\u0435\u0437\u0430\u043d\u043e), Grafana (\u0432\u044b\u0440\u0435\u0437\u0430\u043d\u043e)<\/li>\n<li><a href=\"https:\/\/www.projectcalico.org\/when-linux-conntrack-is-no-longer-your-friend\/\" rel=\"nofollow\">Where Linux conntrack is no longer your friend<\/a><\/li>\n<li><a href=\"https:\/\/kubernetes.io\/blog\/2019\/03\/29\/kube-proxy-subtleties-debugging-an-intermittent-connection-reset\/\" rel=\"nofollow\">kube-proxy Subtleties: Debugging an Intermittent Connection Reset<\/a><\/li>\n<li><a href=\"https:\/\/www.weave.works\/blog\/racy-conntrack-and-dns-lookup-timeouts\" rel=\"nofollow\">Racy conntrack and DNS lookup timeouts<\/a><\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u044f\u0434\u0440\u043e Linux \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u0430\u043a\u0443\u044e \u0448\u0442\u0443\u043a\u0443 \u043a\u0430\u043a conntrack. \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u0442\u043e \u044d\u0442\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a NAT-\u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435. \u041a\u043e\u0433\u0434\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 \u0442\u043e\u0433\u043e \u0436\u0435 \u043f\u043e\u0434\u0430 \u0432 \u0442\u043e\u0442 \u0436\u0435 \u043f\u043e\u0434 \u0447\u0442\u043e \u0438 \u0440\u0430\u043d\u044c\u0448\u0435, \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d \u0437\u0430\u043d\u043e\u0432\u043e, \u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b conntrack.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vm\/mz\/ug\/vmmzugcurlqw3wi36m-tafzog0q.jpeg\"><br \/>  <i>\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 conntrack<\/i><\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>  \u042d\u0442\u043e \u0431\u044b\u043b \u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u043e\u0432 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438. \u041a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u043c \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u043c. \u0412\u043e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b \u043d\u0435 \u0431\u043e\u0438\u043c\u0441\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u0432\u043e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u043e\u0432 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c. \u0412\u043e\u0442 \u0435\u0449\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u043e\u0432:<\/p>\n<ul>\n<li>GitLab: <a href=\"https:\/\/about.gitlab.com\/blog\/2017\/02\/10\/postmortem-of-database-outage-of-january-31\/\" rel=\"nofollow\">Postmortem of database outage of January 31<\/a><\/li>\n<li>Dropbox: <a href=\"https:\/\/dropbox.tech\/infrastructure\/outage-post-mortem\" rel=\"nofollow\">Outage post-mortem<\/a><\/li>\n<li>Spotify: <a href=\"https:\/\/labs.spotify.com\/2017\/03\/31\/spotifys-lovehate-relationship-with-dns\/\" rel=\"nofollow\">Spotify\u2019s Love\/Hate Relationship with DNS<\/a><\/li>\n<li>\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0437 <a href=\"https:\/\/gist.github.com\/cheapRoc\/d9e73fe05480330c1e36410cbdf0e867\" rel=\"nofollow\">\u044d\u0442\u043e\u0433\u043e \u0433\u0438\u0441\u0442\u0430<\/a> \u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f <a href=\"https:\/\/github.com\/hjacobs\/kubernetes-failure-stories\" rel=\"nofollow\">Kubernetes Failure Stories<\/a><\/li>\n<li>\u0422\u0430\u043a\u0436\u0435 <a href=\"https:\/\/landing.google.com\/sre\/sre-book\/chapters\/postmortem\/\" rel=\"nofollow\">\u043f\u0440\u0438\u043c\u0435\u0440<\/a> \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430 \u0441 SRE Book<\/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\/post\/500346\/\"> https:\/\/habr.com\/ru\/post\/500346\/<\/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\/post\/500346\/\"><i><b>\u041f\u0440\u0438\u043c. \u043f\u0435\u0440\u0435\u0432.:<\/b> \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430 \u0438\u0437 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"https:\/\/preply.com\/\" rel=\"nofollow\">Preply<\/a>. \u0412 \u043d\u0435\u043c \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 conntrack \u0432 Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0430 \u043a \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0430.<\/i><\/p>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0443\u0437\u043d\u0430\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u043f\u043e\u0441\u0442\u043c\u043e\u0440\u0442\u0435\u043c\u0430\u0445 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 DNS \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i0\/_h\/in\/i0_hinn-vas9mgybmw8jyokalgo.jpeg\" alt=\"image\"><\/div>\n<p>  <i>\u042d\u0442\u043e \u043d\u0435 DNS<br \/>  \u041d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0447\u0442\u043e \u044d\u0442\u043e DNS<br \/>  \u042d\u0442\u043e \u0431\u044b\u043b DNS<\/i><\/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-303046","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303046","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=303046"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/303046\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}