{"id":319796,"date":"2021-03-18T09:00:49","date_gmt":"2021-03-18T09:00:49","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=319796"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=319796","title":{"rendered":"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Helm \u0447\u0430\u0440\u0442\u0430\u043c\u0438 \u0438 \u0442\u0435\u043c\u043f\u043b\u0435\u0439\u0442\u0430\u043c\u0438 \u2014 \u0427\u0430\u0441\u0442\u044c 1"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p>\u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u043a\u0440\u0430\u0442\u043a\u043e \u043e\u0431\u0441\u0443\u0434\u0438\u043c, \u043a\u0430\u043a Helm \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 Kubernetes, \u0438 \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Helm \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0447\u0430\u0440\u0442\u0430.<\/p>\n<p>  <\/p>\n<p>\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u0430\u0441\u043f\u0435\u043a\u0442 Kubernetes. Helm \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0435\u0433\u043e, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0435\u0434\u0438\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0443\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0432\u0435\u0440\u0441\u0438\u0439. Helm \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b (\u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0427\u0430\u0440\u0442\u0430\u043c\u0438 \u0432 Helm) \u0434\u043b\u044f Kubernetes \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u0438, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 yum \u0438 apt.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043c Helm \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0430\u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0447\u0430\u0440\u0442. \u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Helm. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u043d\u0438\u043c, \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u043c \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c, \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0441\u0442\u0430\u0442\u044c\u0435: <a href=\"https:\/\/www.alibabacloud.com\/help\/doc-detail\/86511.htm\" rel=\"nofollow noopener noreferrer\">https:\/\/www.alibabacloud.com\/help\/doc-detail\/86511.htm<\/a><\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u0444\u0430\u0439\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438 \u0447\u0430\u0441\u0442\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432\u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0421 \u0442\u0430\u043a\u0438\u043c \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0440\u0430\u0431\u043e\u0447\u0438\u043c \u0447\u0430\u0440\u0442\u043e\u043c \u043b\u0435\u0433\u0447\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0447\u0435\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441 \u043d\u0443\u043b\u044f.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/docs.helm.sh\/using_helm\/\" rel=\"nofollow noopener noreferrer\">\u0427\u0430\u0440\u0442<\/a> \u2014 \u044d\u0442\u043e \u043f\u0430\u043a\u0435\u0442 Helm. \u041e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u0441\u043b\u0443\u0436\u0431\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 Kubernetes.<\/p>\n<p>  <\/p>\n<p>\u0414\u0443\u043c\u0430\u0439\u0442\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c \u043a\u0430\u043a \u043e Kubernetes-\u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435 \u0444\u043e\u0440\u043c\u0443\u043b\u044b Homebrew, Apt dpkg \u0438\u043b\u0438 Yum RPM-\u0444\u0430\u0439\u043b\u0435.<\/p>\n<p>  <\/p>\n<h3 id=\"sozdanie-polnoy-struktury-katalogov-rabochego-charta\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0447\u0430\u0440\u0442\u0430<\/h3>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm create myhelm1 Creating myhelm1<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u044b\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0447\u0430\u0440\u0442 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 myhelm.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">myhelm1\/   |   |- .helmignore     # Contains patterns for files to ignore when packaging Helm charts.   |   |- Chart.yaml      # Meta Information about your chart   |   |- values.yaml     # The default values for your templates   |   |- charts\/         # Charts that this chart depends on: dependencies    |   |- templates\/      # The template files<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u0430\u043c \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u0438\u0445 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445.<\/p>\n<p>  <\/p>\n<p>\u0426\u0435\u043b\u044c \u2014 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0430\u0440\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0433\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430. \u0417\u0430\u0442\u0435\u043c \u043c\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u043c, \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b \u0447\u0430\u0440\u0442 \u0438 \u043a\u0430\u043a \u043e\u043d \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b.<\/p>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0438\u0434\u0435\u0442 \u0444\u0430\u0439\u043b <code>values.yaml<\/code>. \u041e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0448\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 Kubernetes, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u0412\u0432\u0435\u0440\u0445\u0443 \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <code>nginx<\/code>. \u042d\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432\u0435\u0441\u043e\u043c 55 \u041c\u0411. \u042f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0431\u044b\u0441\u0442\u0440\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>busybox<\/code> \u2014 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 650 \u041a\u0411.<\/p>\n<p>  <\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 <code>values.yaml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/values.yaml  # Default values for myhelm1. # This is a YAML-formatted file. # Declare variables to be passed into your templates.  replicaCount: 1  image:   repository: nginx   tag: stable   pullPolicy: IfNotPresent<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 <code>values.yaml<\/code> \u0432\u0432\u0435\u0440\u0445\u0443, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c busybox, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0433\u043e\u0432.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/values.yaml  # Default values for myhelm1. # This is a YAML-formatted file. # Declare variables to be passed into your templates.  replicaCount: 1  image:   repository: radial\/busyboxplus   tag: base   pullPolicy: IfNotPresent<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0438\u0434\u0435\u0442 \u0444\u0430\u0439\u043b <code>deployment.yaml<\/code>.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 (deployment), \u043a\u0430\u043a \u0438 \u043b\u044e\u0431\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0432 Kubernetes. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439 \u043e\u043d \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0437 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/p>\n<p>  <\/p>\n<p>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <code>deployment.yaml<\/code> \u043e\u043a\u043e\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438 27 \u2014 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443. \u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0431\u0440\u0430\u0437 busybox. \u0415\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0430\u0448\u0438 \u043f\u043e\u0434\u044b, \u043e\u043d\u0438 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0432\u044b\u0439\u0434\u0443\u0442, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0438 \u043e\u0434\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u0434\u0443 <code>busybox<\/code> \u0441\u043f\u0430\u0442\u044c 60 \u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<p>  <\/p>\n<p>(\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043e\u0442\u0440\u044b\u0432\u043a\u0435 \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043d\u0438\u0436\u0435, \u043a\u0430\u043a \u0431\u0443\u0434\u0443\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 <code>values.yaml<\/code>. \u041c\u044b \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0443 \u043f\u043e\u0437\u0436\u0435 \u2014 \u043f\u043e\u043a\u0430 \u043c\u044b \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u043e\u0431\u0449\u0435\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u0435.)<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/templates\/deployment.yaml      spec:       containers:         - name: {{ .Chart.Name }}           image: &quot;{{ .Values.image.repository }}:{{ .Values.image.tag }}&quot;           imagePullPolicy: {{ .Values.image.pullPolicy }}            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c Helm \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0448 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0447\u0430\u0440\u0442.<\/p>\n<p>  <\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 <code>helm install .\/myhelm1\/<\/code> \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u0439\u0442\u0435 \u0432\u044b\u0432\u043e\u0434.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\/myhelm1\/  NAME:   loopy-otter LAST DEPLOYED: Thu Feb 14 08:48:42 2019 NAMESPACE: default STATUS: DEPLOYED  RESOURCES: ==&gt; v1\/Service NAME                 TYPE       CLUSTER-IP     EXTERNAL-IP  PORT(S)  AGE loopy-otter-myhelm1  ClusterIP  10.109.163.87  &lt;none&gt;       80\/TCP   0s  ==&gt; v1\/Deployment NAME                 DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE loopy-otter-myhelm1  1        0        0           0          0s  ==&gt; v1\/Pod(related) NAME                                  READY  STATUS   RESTARTS  AGE loopy-otter-myhelm1-67b67bf4c8-tsdcq  0\/1    Pending  0         0s  NOTES: 1. Get the application URL by running these commands:   export POD_NAME=$(kubectl get pods --namespace default -l &quot;app.kubernetes.io\/name=myhelm1,app.kubernetes.io\/instance=loopy-otter&quot; -o jsonpath=&quot;{.items[0].metadata.name}&quot;)   echo &quot;Visit http:\/\/127.0.0.1:8080 to use your application&quot;   kubectl port-forward $POD_NAME 8080:80<\/code><\/pre>\n<p>  <\/p>\n<p>Helm \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0430 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e: <code>NAME: loopy-otter<\/code><\/p>\n<p>  <\/p>\n<p>\u0412\u0430\u0448 \u0431\u0443\u0434\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u043c. \u041d\u0435\u043d\u0430\u0432\u0438\u0436\u0443 \u044d\u0442\u0438 \u0433\u043b\u0443\u043f\u044b\u0435 \u0438\u043c\u0435\u043d\u0430. \u041f\u043e\u0437\u0436\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0432\u0438\u0434\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441, \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0430.<\/p>\n<p>  <\/p>\n<p>\u0413\u0440\u0443\u0431\u043e \u0433\u043e\u0432\u043e\u0440\u044f, Helm \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u0432\u0441\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b <code>.yaml<\/code> \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432, \u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u0442\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <code>values.yaml<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e nginx. \u042d\u0442\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <code>busybox<\/code>.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u0432\u0437\u044f\u0442\u044b \u0438\u0437 NOTES.txt, \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430.<\/p>\n<p>  <\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043d\u0430\u0448 Pod \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">kubectl get pods NAME                                   READY   STATUS    RESTARTS   AGE loopy-otter-myhelm1-67b67bf4c8-tsdcq   0\/1     Running   0          13s<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043e\u0431\u0437\u043e\u0440\u0430 \u0434\u0435\u043c\u043e \u0433\u043e\u0442\u043e\u0432\u0430. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code>helm delete<\/code>, \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/docs.helm.sh\/using_helm\/\" rel=\"nofollow noopener noreferrer\">\u0420\u0435\u043b\u0438\u0437<\/a> \u2014 \u044d\u0442\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0447\u0430\u0440\u0442\u0430, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0439 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Kubernetes.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm delete loopy-otter release &quot;loopy-otter&quot; deleted<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"helmignore-notestxt\">helmignore NOTES.txt<\/h3>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <code>.helmignore<\/code> \u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <code>NOTES.txt<\/code> \u0432\u043d\u0438\u0437\u0443.<\/p>\n<p>  <\/p>\n<p><code>.helmignore<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043c\u0435\u043d \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0438\u043c\u0435\u043d \u0444\u0430\u0439\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 Helm \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/.helmignore  NOTES.txt<\/code><\/pre>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443, \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f. <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test1 NAME:   test1 LAST DEPLOYED: Thu Feb 14 08:56:10 2019 NAMESPACE: default STATUS: DEPLOYED  RESOURCES: ==&gt; v1\/Service NAME           TYPE       CLUSTER-IP     EXTERNAL-IP  PORT(S)  AGE test1-myhelm1  ClusterIP  10.96.102.116  &lt;none&gt;       80\/TCP   0s  ==&gt; v1\/Deployment NAME           DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE test1-myhelm1  1        0        0           0          0s  ==&gt; v1\/Pod(related) NAME                            READY  STATUS             RESTARTS  AGE test1-myhelm1-6f77bf4459-9nxpz  0\/1    ContainerCreating  0         0s<\/code><\/pre>\n<p>  <\/p>\n<p>(\u041f\u043e\u0437\u0436\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438, \u043d\u043e \u0437\u0434\u0435\u0441\u044c \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043d.)<\/p>\n<p>  <\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u0442\u0435 \u043d\u0430\u0448 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 test1.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm delete test1 release &quot;test1&quot; deleted<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"--dry-run---debug\">&#8212;dry-run &#8212;debug<\/h3>\n<p>  <\/p>\n<p>\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <code>--dry-run<\/code> \u0438 <code>--debug<\/code>, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c, \u043a\u0430\u043a Helm \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0448 \u0448\u0430\u0431\u043b\u043e\u043d \u0438 \u0444\u0430\u0439\u043b\u044b YAML \u0432 \u043d\u0430\u0448\u0438\u0445 \u0447\u0430\u0440\u0442\u0430\u0445.<\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043d\u0435 \u0437\u0430\u0441\u043e\u0440\u044f\u0435\u043c \u043d\u0430\u0448 \u0443\u0437\u0435\u043b Kubernetes \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438.<\/p>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test1 --dry-run --debug [debug] Created tunnel using local port: '49958'  [debug] SERVER: &quot;127.0.0.1:49958&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  Error: a release named test1 already exists. Run: helm ls --all test1; to check the status of the release Or run: helm del --purge test1; to delete it<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0440\u0435\u043b\u0438\u0437 \u043c\u043e\u0436\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0441\u0442\u0430\u0442\u0443\u0441 release<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm ls --all test1 NAME    REVISION        UPDATED                         STATUS  CHART           APP VERSION     NAMESPACE test1   1               Thu Feb 14 08:56:10 2019        DELETED myhelm1-0.1.0   1.0             default<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \u0435\u0433\u043e.<br \/>  \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 (<code>debug<\/code>) \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043b\u0438\u0437\u0430: \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c test2:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test2 --dry-run --debug  [debug] Created tunnel using local port: '49970'  [debug] SERVER: &quot;127.0.0.1:49970&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test2 REVISION: 1 RELEASED: Thu Feb 14 08:59:22 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: {}  COMPUTED VALUES: affinity: {} fullnameOverride: &quot;&quot; image:   pullPolicy: IfNotPresent   repository: radial\/busyboxplus   tag: base ingress:   annotations: {}   enabled: false   hosts:   - chart-example.local   paths: []   tls: [] nameOverride: &quot;&quot; nodeSelector: {} replicaCount: 1 resources: {} service:   port: 80   type: ClusterIP tolerations: []  HOOKS: --- # test2-myhelm1-test-connection apiVersion: v1 kind: Pod metadata:   name: &quot;test2-myhelm1-test-connection&quot;   labels:     app.kubernetes.io\/name: myhelm1     helm.sh\/chart: myhelm1-0.1.0     app.kubernetes.io\/instance: test2     app.kubernetes.io\/managed-by: Tiller   annotations:     &quot;helm.sh\/hook&quot;: test-success spec:   containers:     - name: wget       image: busybox       command: ['wget']       args:  ['test2-myhelm1:80']   restartPolicy: Never  MANIFEST: --- # Source: myhelm1\/templates\/service.yaml apiVersion: v1 kind: Service metadata:   name: test2-myhelm1   labels:     app.kubernetes.io\/name: myhelm1     helm.sh\/chart: myhelm1-0.1.0     app.kubernetes.io\/instance: test2     app.kubernetes.io\/managed-by: Tiller spec:   type: ClusterIP   ports:     - port: 80       targetPort: http       protocol: TCP       name: http   selector:     app.kubernetes.io\/name: myhelm1     app.kubernetes.io\/instance: test2  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test2-myhelm1   labels:     app.kubernetes.io\/name: myhelm1     helm.sh\/chart: myhelm1-0.1.0     app.kubernetes.io\/instance: test2     app.kubernetes.io\/managed-by: Tiller spec:   replicas: 1   selector:     matchLabels:       app.kubernetes.io\/name: myhelm1       app.kubernetes.io\/instance: test2   template:     metadata:       labels:         app.kubernetes.io\/name: myhelm1         app.kubernetes.io\/instance: test2     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: IfNotPresent            command: ['sh', '-c', 'sleep 60']            ports:             - name: http               containerPort: 80               protocol: TCP           livenessProbe:             httpGet:               path: \/               port: http           readinessProbe:             httpGet:               path: \/               port: http           resources:             {}<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u0435\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u0447\u0430\u0440\u0442.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u044f \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u044d\u0442\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043c \u0432\u044b\u0432\u043e\u0434.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0434 \u0425\u0443\u043a\u0430\u043c\u0438 \u0435\u0441\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e nginx. \u041d\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0447\u0435\u0440\u0435\u0437 20 \u0441\u0442\u0440\u043e\u043a \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c <code># Source: myhelm1\/templates\/service.yaml ... kind: Service<\/code> \u2014 \u043d\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u2014 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 Pod.<\/p>\n<p>  <\/p>\n<p>\u0415\u0433\u043e \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 .helmignore \u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u044d\u0442\u0438 \u0434\u0432\u0430 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430 \u0432\u043d\u0438\u0437\u0443.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/.helmignore  test-connection.yaml service.yaml<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u0434\u0443 busybox \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u043f\u043e\u0440\u0442\u044b \u0438\u043b\u0438 livenessProbes.<\/p>\n<p>  <\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u0442\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 29 \u043f\u043e 42 \u0438\u0437 <code>deployment.yaml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/templates\/deployment.yaml            ports:             - name: http               containerPort: 80               protocol: TCP           livenessProbe:             httpGet:               path: \/               port: http           readinessProbe:             httpGet:               path: \/               port: http           resources:             {}<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u0438 \u044f\u0440\u043b\u044b\u043a\u0438 \u043d\u0438\u0436\u0435 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u044d\u0442\u043e\u043c\u0443 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d\u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u0432\u044b\u0432\u043e\u0434\u0430 \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043d\u0438\u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 <code>helm install<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">  labels:     app.kubernetes.io\/name: myhelm1     helm.sh\/chart: myhelm1-0.1.0     app.kubernetes.io\/instance: test4     app.kubernetes.io\/managed-by: Tiller    selector:     matchLabels:       app.kubernetes.io\/name: myhelm1       app.kubernetes.io\/instance: test4      metadata:       labels:         app.kubernetes.io\/name: myhelm1         app.kubernetes.io\/instance: test4<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0441\u043d\u043e\u0432\u0430 \u043d\u0430\u0448\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443. <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test2 --dry-run --debug [debug] Created tunnel using local port: '49976'  [debug] SERVER: &quot;127.0.0.1:49976&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test2 REVISION: 1 RELEASED: Thu Feb 14 09:09:55 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: {}  COMPUTED VALUES: affinity: {} fullnameOverride: &quot;&quot; image:   pullPolicy: IfNotPresent   repository: radial\/busyboxplus   tag: base ingress:   annotations: {}   enabled: false   hosts:   - chart-example.local   paths: []   tls: [] nameOverride: &quot;&quot; nodeSelector: {} replicaCount: 1 resources: {} service:   port: 80   type: ClusterIP tolerations: []  HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test2-myhelm1 spec:   replicas: 1   template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: IfNotPresent            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0445:<\/p>\n<p>  <\/p>\n<ul>\n<li>USER-SUPPLIED VALUES: \u043c\u044b \u0438\u0445 \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e. \u041c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u044d\u0442\u0438\u043c \u0447\u0435\u0440\u0435\u0437 \u043c\u0438\u043d\u0443\u0442\u0443.<\/li>\n<li>COMPUTED VALUES: \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 <code>values.yaml<\/code>. \u041e\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u043d\u0430\u0448 \u0444\u0430\u0439\u043b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435.<\/li>\n<li>HOOKS: \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445.<\/li>\n<li>\u0412\u043d\u0438\u0437\u0443 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u043d\u0430\u0448 <code>deployment.yaml<\/code>. \u041e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438, \u0432\u0437\u044f\u0442\u044b\u043c\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <code>values.yaml<\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0432\u043e\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>--dry-run --debug<\/code>. \u041e\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442, \u043d\u0435 \u0434\u0435\u043b\u0430\u044f \u044d\u0442\u043e\u0433\u043e. \u041e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e: \u043e\u0442\u043b\u0430\u0434\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 Helm \u0414\u041e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test2 NAME:   test2 LAST DEPLOYED: Thu Feb 14 09:12:01 2019 NAMESPACE: default STATUS: DEPLOYED  RESOURCES: ==&gt; v1\/Deployment NAME           DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE test2-myhelm1  1        0        0           0          0s  ==&gt; v1\/Pod(related) NAME                            READY  STATUS             RESTARTS  AGE test2-myhelm1-5bd9bb65c7-6pr4q  0\/1    ContainerCreating  0         0s<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c \u2014 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0438 \u0435\u0433\u043e Pod. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 Pod \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">kubectl get pods NAME                             READY   STATUS    RESTARTS   AGE test2-myhelm1-5bd9bb65c7-6pr4q   1\/1     Running   0          10s<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm delete test2 release &quot;test2&quot; deleted<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"imagepullpolicy--never\">imagePullPolicy = Never<\/h3>\n<p>  <\/p>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 <code>values.yaml<\/code> \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442 \u0441\u0432\u043e\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0438 (placeholders) \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432.<\/p>\n<p>  <\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c\u0443 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u043d\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u043b\u0430\u0433\u0430 <code>--set<\/code>\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 imagePullPolicy \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435.<\/p>\n<p>  <\/p>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043d\u0438\u0436\u0435.<\/p>\n<p>  <\/p>\n<p>\u0424\u0430\u0439\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f values.yaml.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/values.yaml  # Default values for myhelm1. # This is a YAML-formatted file. # Declare variables to be passed into your templates.  replicaCount: 1  image:   repository: radial\/busyboxplus   tag: base   pullPolicy: IfNotPresent<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u0433\u0434\u0435 \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435. (\u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 22-25)<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/templates\/deployment.yaml       containers:         - name: {{ .Chart.Name }}           image: &quot;{{ .Values.image.repository }}:{{ .Values.image.tag }}&quot;           imagePullPolicy: {{ .Values.image.pullPolicy }}<\/code><\/pre>\n<p>  <\/p>\n<p><code>.Values.image.pullPolicy<\/code> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0444\u0430\u0439\u043b\u0430 <code>values.yaml<\/code><\/li>\n<li>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e <code>.image.pullPolicy<\/code><\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   pullPolicy: IfNotPresent<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0432 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 <code>pullPolicy: IfNotPresent<\/code>. (\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0442\u0430\u043a \u0432\u0435\u0437\u0434\u0435.)<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u043e\u043d\u0430 \u043c\u044b \u041d\u0415 \u0445\u043e\u0442\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0437 \u0431\u044b\u043b\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f. (<code>imagePullPolicy: Never<\/code>)<\/p>\n<p>  <\/p>\n<p>\u0418\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Kubernetes:<br \/>  <em>imagePullPolicy: Never: \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u041f\u043e\u043f\u044b\u0442\u043a\u0438 \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043d\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f.<\/em><\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u0443\u044e \u043d\u0438\u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043f\u0440\u043e\u0431\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430, \u043a\u0430\u043a \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>--set<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set imagePullPolicy=Never --name test3 --dry-run --debug [debug] Created tunnel using local port: '50101'  [debug] SERVER: &quot;127.0.0.1:50101&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test3 REVISION: 1 RELEASED: Thu Feb 14 10:10:37 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: imagePullPolicy: Never  COMPUTED VALUES: affinity: {} fullnameOverride: &quot;&quot; image:   pullPolicy: IfNotPresent   repository: radial\/busyboxplus   tag: base imagePullPolicy: Never ingress:   annotations: {}   enabled: false   hosts:   - chart-example.local   paths: []   tls: [] nameOverride: &quot;&quot; nodeSelector: {} replicaCount: 1 resources: {} service:   port: 80   type: ClusterIP tolerations: []  HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test3-myhelm1  spec:   replicas: 1    template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: IfNotPresent            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>USER-SUPPLIED VALUES \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c\u0438: <code>imagePullPolicy: Never<\/code><\/p>\n<p>  <\/p>\n<p>COMPUTED VALUES: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   pullPolicy: IfNotPresent   tag: base imagePullPolicy: Never<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430\u0448\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 <code>--set<\/code> \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u043e\u0432.<\/p>\n<p>  <\/p>\n<p>\u041e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445 yaml.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043c\u044b \u0432\u0438\u0434\u0438\u043c: <code>imagePullPolicy: IfNotPresent<\/code>: \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u044d\u0442\u043e: \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0432\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u043f\u044b\u0442\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set image.PullPolicy=Never --name test3 --dry-run --debug [debug] Created tunnel using local port: '50107'  [debug] SERVER: &quot;127.0.0.1:50107&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test3 REVISION: 1 RELEASED: Thu Feb 14 10:14:11 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: image:   PullPolicy: Never            &lt; - - - - - -  COMPUTED VALUES: affinity: {} fullnameOverride: &quot;&quot; image:   PullPolicy: Never            &lt; - - - - - -   pullPolicy: IfNotPresent     &lt; - - - - - -   repository: radial\/busyboxplus<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u043e, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0435\u0432\u0435\u0440\u043d\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. (\u041f\u0435\u0440\u0432\u0430\u044f \u0431\u0443\u043a\u0432\u0430 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u2014 \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0430\u044f \u0431\u0443\u043a\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439).<\/p>\n<p>  <\/p>\n<p>\u0421\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u0433\u043b\u0430\u0441\u0438\u0442, \u0447\u0442\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441\u043e \u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b. \u041d\u0430\u0448\u0438 values.yaml \u0432\u0435\u0440\u043d\u044b. \u041d\u0430\u0448\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u0432\u0435\u0440\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u0422\u0440\u0435\u0442\u044c\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0438\u0436\u0435.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set image.pullPolicy=Never --name test3 --dry-run --debug    [debug] Created tunnel using local port: '50113'  [debug] SERVER: &quot;127.0.0.1:50113&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test3 REVISION: 1 RELEASED: Thu Feb 14 10:15:10 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: image:   pullPolicy: Never     &lt; - - - - - - - - - - - - -  COMPUTED VALUES: affinity: {} fullnameOverride: &quot;&quot; image:   pullPolicy: Never   repository: radial\/busyboxplus   tag: base ingress:   annotations: {}   enabled: false   hosts:   - chart-example.local   paths: []   tls: [] nameOverride: &quot;&quot; nodeSelector: {} replicaCount: 1 resources: {} service:   port: 80   type: ClusterIP tolerations: []  HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test3-myhelm1  spec:   replicas: 1   template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: Never     &lt; - - - - - - - - - - -             command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u043a\u0430\u043a <code>imagePullPolicy: Never<\/code>\u2026 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>COMPUTED VALUES \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">COMPUTED VALUES: image:   pullPolicy: Never<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u044b\u0432\u043e\u0434 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0445\u043e\u0440\u043e\u0448\u043e. \u041c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0432\u044b\u043f\u0443\u0441\u043a \u0432\u0436\u0438\u0432\u0443\u044e.<\/p>\n<p>  <\/p>\n<p>\u042f \u0445\u043e\u0447\u0443 \u0441\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b. \u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0432\u044b\u0435 5 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043d\u0435 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/values.yaml  # Default values for myhelm1. # This is a YAML-formatted file. # Declare variables to be passed into your templates.  replicaCount: 1  image:   repository: radial\/busyboxplus   tag: base   pullPolicy: IfNotPresent  #nameOverride: &quot;&quot; #fullnameOverride: &quot;&quot;  #service: #  type: ClusterIP #  port: 80  #ingress: #  enabled: false #  annotations: {}     # kubernetes.io\/ingress.class: nginx     # kubernetes.io\/tls-acme: &quot;true&quot; #  paths: [] #  hosts: #    - chart-example.local #  tls: []   #  - secretName: chart-example-tls   #    hosts:   #      - chart-example.local  #resources: {}   # We usually recommend not to specify default resources and to leave this as a conscious   # choice for the user. This also increases chances charts run on environments with little   # resources, such as Minikube. If you do want to specify resources, uncomment the following   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.   # limits:   #  cpu: 100m   #  memory: 128Mi   # requests:   #  cpu: 100m   #  memory: 128Mi  #nodeSelector: {}  #tolerations: []  #affinity: {}<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0430\u0448 \u0447\u0430\u0440\u0442<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set image.pullPolicy=Never --name test3 --dry-run --debug [debug] Created tunnel using local port: '50125'  [debug] SERVER: &quot;127.0.0.1:50125&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  Error: render error in &quot;myhelm1\/templates\/ingress.yaml&quot;: template: myhelm1\/templates\/ingress.yaml:1:14: executing &quot;myhelm1\/templates\/ingress.yaml&quot; at &lt;.Values.ingress.enab...&gt;: can't evaluate field enabled in type interface {}<\/code><\/pre>\n<p>  <\/p>\n<p><code>Values.ingress.enabled<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 <code>myhelm1\/templates\/ingress.yaml<\/code><\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043d ingress \u2014 \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0447\u0430\u0440\u0442\u0430 nginx, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438.<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <code>ingress.yaml<\/code> \u0432 \u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0448\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/.helmignore ingress.yaml<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043f\u044b\u0442\u043a\u0430: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0447\u0430\u0440\u0442 myhelm1 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>image.pullPolicy = Never<\/code><br \/>  \u043f\u043b\u044e\u0441 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 <code>--set replicaCount=3<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set image.pullPolicy=Never --set replicaCount=3 --name test3 --dry-run --debug [debug] Created tunnel using local port: '50140'  [debug] SERVER: &quot;127.0.0.1:50140&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test3 REVISION: 1 RELEASED: Thu Feb 14 10:23:43 2019 CHART: myhelm1-0.1.0  USER-SUPPLIED VALUES: image:   pullPolicy: Never        &lt; * * * = = = = = = = = = = = = =  replicaCount: 3    &lt; - - - - - - - - - - - - - - - -   COMPUTED VALUES: image:   pullPolicy: Never        &lt; * * * = = = = = = = = = = = = =   repository: radial\/busyboxplus   tag: base replicaCount: 3    &lt; - - - - - - - - - - - - - - - -   HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test3-myhelm1 spec:   replicas: 3   &lt; - - - - - - - - - - - - - - - - - -   template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: Never        &lt; * * * = = = = = = = = = = = = =            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p><code>--set replicaCount<\/code> \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 deployment.yaml<\/p>\n<p>  <\/p>\n<p>\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0436\u0438\u0432\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set image.pullPolicy=Never --set replicaCount=3 --name test3 NAME:   test3 LAST DEPLOYED: Thu Feb 14 10:34:45 2019 NAMESPACE: default STATUS: DEPLOYED  RESOURCES: ==&gt; v1\/Deployment NAME           DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE test3-myhelm1  3        0        0           0          0s  ==&gt; v1\/Pod(related) NAME                          READY  STATUS             RESTARTS  AGE test3-myhelm1-878d8d7c-7xshs  0\/1    Pending            0         0s test3-myhelm1-878d8d7c-fnjqn  0\/1    ContainerCreating  0         0s test3-myhelm1-878d8d7c-gjw4m  0\/1    Pending            0         0s<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e. \u0416\u0415\u041b\u0410\u0422\u0415\u041b\u042c\u041d\u041e\u0415 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u2014 3, \u0438 \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f 3 \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n<p>  <\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c 3 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0434\u0430. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>helm status<\/code>.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm status test3 LAST DEPLOYED: Thu Feb 14 10:34:45 2019 NAMESPACE: default STATUS: DEPLOYED  RESOURCES: ==&gt; v1\/Deployment NAME           DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE test3-myhelm1  3        3        3           3          20s  ==&gt; v1\/Pod(related) NAME                          READY  STATUS   RESTARTS  AGE test3-myhelm1-878d8d7c-7xshs  1\/1    Running  0         20s test3-myhelm1-878d8d7c-fnjqn  1\/1    Running  0         20s test3-myhelm1-878d8d7c-gjw4m  1\/1    Running  0         20s<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0435\u043c\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e. \u0423\u0434\u0430\u043b\u0438\u0442\u0435 \u043d\u0430\u0448 \u0440\u0435\u043b\u0438\u0437 test3.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm delete test3 release &quot;test3&quot; deleted<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"opredelenie-novogo-value\">\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e value<\/h3>\n<p>  <\/p>\n<p>\u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043c\u044b \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 <code>values.yaml<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435.<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: <code>terminationGracePeriodSeconds<\/code><\/p>\n<p>  <\/p>\n<p><em><a href=\"https:\/\/kubernetes.io\/docs\/reference\/generated\/kubernetes-api\/v1.13\/#podspec-v1-core\" rel=\"nofollow noopener noreferrer\">terminationGracePeriodSeconds<\/a> \u2014 \u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430\u044f \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0434\u0443\u043b\u044f. grace period \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0432 \u043c\u043e\u0434\u0443\u043b\u0435, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f, \u0438 \u0432\u0440\u0435\u043c\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u043c \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u044f. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 30 \u0441\u0435\u043a\u0443\u043d\u0434.<\/em><\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <code>terminationGracePeriodSeconds: 30<\/code> \u0432 \u0441\u0432\u043e\u0439 \u0444\u0430\u0439\u043b <code>values.yaml<\/code>, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0448\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 5\u201312 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u0442\u0430\u043a, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/values.yaml  replicaCount: 1  terminationGracePeriodSeconds: 30  image:   repository: radial\/busyboxplus   tag: base   pullPolicy: IfNotPresent<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u044d\u0442\u043e \u043d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0441\u0442\u0440\u043e\u043a\u0438 \u0441 22 \u043f\u043e 29 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u043c\u0438, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435)<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">nano .\/myhelm1\/templates\/deployment.yaml        containers:         - name: {{ .Chart.Name }}           image: &quot;{{ .Values.image.repository }}:{{ .Values.image.tag }}&quot;           imagePullPolicy: {{ .Values.image.pullPolicy }}            terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0431\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --name test4 --dry-run --debug [debug] Created tunnel using local port: '50239'  [debug] SERVER: &quot;127.0.0.1:50239&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test4 REVISION: 1 RELEASED: Thu Feb 14 10:54:58 2019 CHART: myhelm1-0.1.0 USER-SUPPLIED VALUES: {}  COMPUTED VALUES: image:   pullPolicy: IfNotPresent   repository: radial\/busyboxplus   tag: base replicaCount: 1 terminationGracePeriodSeconds: 30     &lt; - - - - - - -  HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test4-myhelm1 spec:   replicas: 1   template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: IfNotPresent            terminationGracePeriodSeconds: 30     &lt; - - - - - -            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e. COMPUTED VALUES: \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0438\u0437\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u0415\u0449\u0435 \u043e\u0434\u0438\u043d \u0442\u0435\u0441\u0442: \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0442\u043b\u0430\u0434\u0438\u043c \u0442\u0435\u0441\u0442, \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>terminationGracePeriodSeconds<\/code> \u043d\u0430 10.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">helm install .\\myhelm1\\ --set terminationGracePeriodSeconds=10 --name test4 --dry-run --debug [debug] Created tunnel using local port: '50245'  [debug] SERVER: &quot;127.0.0.1:50245&quot;  [debug] Original chart version: &quot;&quot; [debug] CHART PATH: C:\\k8\\myhelm1  NAME:   test4 REVISION: 1 RELEASED: Thu Feb 14 10:56:33 2019 CHART: myhelm1-0.1.0  USER-SUPPLIED VALUES: terminationGracePeriodSeconds: 10     &lt; - - - - - -  COMPUTED VALUES: image:   pullPolicy: IfNotPresent   repository: radial\/busyboxplus   tag: base replicaCount: 1 terminationGracePeriodSeconds: 10     &lt; - - - - - -  HOOKS: MANIFEST:  --- # Source: myhelm1\/templates\/deployment.yaml apiVersion: apps\/v1 kind: Deployment metadata:   name: test4-myhelm1 spec:   replicas: 1   template:     spec:       containers:         - name: myhelm1           image: &quot;radial\/busyboxplus:base&quot;           imagePullPolicy: IfNotPresent            terminationGracePeriodSeconds: 10     &lt; - - - - - -            command: ['sh', '-c', 'sleep 60']<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u043f\u0435\u0448\u043d\u043e. COMPUTED VALUES: \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <code>10<\/code> \u0438 \u043f\u0440\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0432\u043d\u0438\u0437\u0443 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f 10.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 <code>_helpers.tpl<\/code> \u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0447\u0430\u0440\u0442\u043e\u0432. (\u042d\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u042d\u0442\u043e \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430.)<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0432\u043d\u0435\u0441\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043d\u0430\u0448 \u0444\u0430\u0439\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u0444\u0430\u0439\u043b \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0438 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u0436\u0438\u0432\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0440\u044b\u0442\u044c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441 \u0447\u0430\u0440\u0442\u0430. (<code>.helmignore<\/code>)<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u0442\u0435 \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u043a\u0435\u043b\u0435\u0442\u043d\u044b\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0447\u0430\u0440\u0442\u044b, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0443\u0434\u0435\u0442\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u0438\u0437\u0443\u0447\u0438\u043b\u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 Helm \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0436\u0435 \u0434\u0435\u043d\u044c, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u0447\u0430\u0440\u0442 <code>nginx<\/code> \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043d\u0430\u0448\u0438\u043c\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438. <code>--dry-run --debug<\/code> \u2014 \u043b\u0443\u0447\u0448\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f Helm: \u043f\u0440\u043e\u0431\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439.<\/p>\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\/547682\/\"> https:\/\/habr.com\/ru\/post\/547682\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p>\u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u043a\u0440\u0430\u0442\u043a\u043e \u043e\u0431\u0441\u0443\u0434\u0438\u043c, \u043a\u0430\u043a Helm \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 Kubernetes, \u0438 \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Helm \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0447\u0430\u0440\u0442\u0430.<\/p>\n<p>  <\/p>\n<p>\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u0430\u0441\u043f\u0435\u043a\u0442 Kubernetes. Helm \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0435\u0433\u043e, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0435\u0434\u0438\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0443\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0432\u0435\u0440\u0441\u0438\u0439. Helm \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b (\u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0427\u0430\u0440\u0442\u0430\u043c\u0438 \u0432 Helm) \u0434\u043b\u044f Kubernetes \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u0438, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u044e\u0442 yum \u0438 apt.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043c\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043c Helm \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0430\u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0447\u0430\u0440\u0442. \u0412 \u044d\u0442\u043e\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Helm. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u043d\u0438\u043c, \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u043c \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c, \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0441\u0442\u0430\u0442\u044c\u0435: <a href=\"https:\/\/www.alibabacloud.com\/help\/doc-detail\/86511.htm\" rel=\"nofollow noopener noreferrer\">https:\/\/www.alibabacloud.com\/help\/doc-detail\/86511.htm<\/a><\/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-319796","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/319796","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=319796"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/319796\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=319796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=319796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=319796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}