{"id":305613,"date":"2020-06-19T15:00:15","date_gmt":"2020-06-19T15:00:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=305613"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=305613","title":{"rendered":"\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Kubernetes"},"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\/505968\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lc\/ag\/uf\/lcagufb_76iokvvi5hbzdgmgfqy.png\" alt=\"image\"><\/p>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c.<br \/>  \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 <a href=\"https:\/\/kubernetes.io\" rel=\"nofollow\">Kubernetes<\/a>. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 <a href=\"https:\/\/prometheus.io\/\" rel=\"nofollow\">Prometheus<\/a> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 <a href=\"https:\/\/www.postgresql.org\" rel=\"nofollow\">PostgreSQL<\/a> \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 <a href=\"https:\/\/www.docker.com\" rel=\"nofollow\">Docker<\/a>. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 <a href=\"https:\/\/helm.sh\" rel=\"nofollow\">Helm<\/a>, \u043d\u0438\u0436\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0430 \u043d\u0435\u043c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0447\u0430\u0440\u0442, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0447\u0430\u0440\u0442\u044b \u0432\u0441\u0435\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.<br \/>   <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h4>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043b\u043e\u0433\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u044d\u043a \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 <a href=\"https:\/\/www.elastic.co\/\" rel=\"nofollow\">Elasticsearch<\/a> + <a href=\"https:\/\/www.elastic.co\/products\/logstash\" rel=\"nofollow\">Logstash<\/a> + <a href=\"https:\/\/www.elastic.co\/products\/kibana\" rel=\"nofollow\">kibana<\/a>, \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u043e ELK. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0438 \u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b \u0431\u043e\u043b\u0435\u0435 \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u044b\u0439 <a href=\"https:\/\/grafana.com\/oss\/loki\/\" rel=\"nofollow\">Loki<\/a>. \u041e\u043d \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0432\u0438\u0434\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 Helm, \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0435\u0433\u043e \u043a\u0430\u043a subchart \u0438\u0437\u043c\u0435\u043d\u0438\u0432 values \u0434\u043b\u044f ingress \u0438 pv \u043f\u043e\u0434 \u043d\u0430\u0448\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">values.yaml<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">ingress:   enabled: true   annotations:      kubernetes.io\/ingress.class: nginx   hosts:     - host: kube-loki.example.domain       paths:          - \/   tls: []  ....  persistence:   type: pvc   enabled: true   accessModes:     - ReadWriteOnce   size: 100Gi   finalizers:     - kubernetes.io\/pvc-protection   existingClaim: &quot;pv-loki&quot; <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043b\u043e\u0433\u043e\u0432 \u043d\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 <a href=\"https:\/\/grafana.com\/oss\/loki\/\" rel=\"nofollow\">Loki<\/a> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <a href=\"https:\/\/github.com\/grafana\/loki\/tree\/master\/cmd\/docker-driver\" rel=\"nofollow\">Loki Docker Logging Driver<\/a><br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0441\u0435 <a href=\"https:\/\/www.docker.com\" rel=\"nofollow\">Docker<\/a> \u0445\u043e\u0441\u0442\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0436\u0435\u043b\u0430\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043b\u043e\u0433\u0438. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0435\u043c\u043e\u043d\u0443, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u042f \u0432\u044b\u0431\u043e\u0440 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0436\u0443 \u0432 yaml <a href=\"https:\/\/docs.docker.com\/compose\/\" rel=\"nofollow\">Docker Compose<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e <a href=\"https:\/\/www.ansible.com\/\" rel=\"nofollow\">Ansible<\/a> playbook.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">postgres.yaml<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">    - name: Run containers       docker_compose:         project_name: main-postgres         definition:           version: '3.7'           services:             p:               image: &quot;{{ postgres_version }}&quot;               container_name: postgresql               restart: always               volumes:                 - &quot;{{ postgres_dir }}\/data:\/var\/lib\/postgresql\/data&quot;                 - &quot;{{ postgres_dir }}\/postgres_init_scripts:\/docker-entrypoint-initdb.d&quot;               environment:                 POSTGRES_PASSWORD: {{ postgres_pass }}                 POSTGRES_USER: {{ postgres_user }}               ports:                 - &quot;{{ postgres_ip }}:{{ postgres_port }}:5432&quot;               logging:                 driver: &quot;loki&quot;                 options:                   loki-url: &quot;{{ loki_url }}&quot;                   loki-batch-size: &quot;{{ loki_batch_size }}&quot;                   loki-retries: &quot;{{ loki_retries }}&quot; ... <\/code><\/pre>\n<p>  \u0433\u0434\u0435 loki_url: <a href=\"http:\/\/kube-loki.example.domain\/loki\/api\/v1\/push\" rel=\"nofollow\">kube-loki.example.domain\/loki\/api\/v1\/push<\/a>   <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h4>\u041c\u0435\u0442\u0440\u0438\u043a\u0438<\/h4>\n<p>   \u0421\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441 PostgreSQL \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/github.com\/wrouesnel\/postgres_exporter\" rel=\"nofollow\">postgres_exporter<\/a> \u0434\u043b\u044f <a href=\"https:\/\/prometheus.io\/\" rel=\"nofollow\">Prometheus<\/a>. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <a href=\"https:\/\/www.ansible.com\/\" rel=\"nofollow\">Ansible<\/a> playbook.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">postgres.yaml<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">...             pexp:               image: &quot;wrouesnel\/postgres_exporter&quot;               container_name: pexporter               restart: unless-stopped               environment:                 DATA_SOURCE_NAME: &quot;postgresql:\/\/{{ postgres_user }}:{{ postgres_pass }}@p:5432\/postgres?sslmode=disable&quot;               ports:                 - &quot;{{ postgres_ip }}:{{ postgres_exporter_port }}:9187&quot;               logging:                 driver: &quot;json-file&quot;                 options:                   max-size: &quot;5m&quot; ... <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0438\u043c\u0435\u043d \u0432\u043d\u0435\u0448\u043d\u0438\u0445 stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u0447\u0435\u0440\u0435\u0437 Endpoints.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">postgres-service.yaml<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">apiVersion: v1 kind: Endpoints metadata:   name: postgres-exporter subsets:   - addresses:       - ip: {{ .Values.service.postgres.ip }}     ports:       - port: {{ .Values.service.postgres.port }}         protocol: TCP --- apiVersion: v1 kind: Service metadata:   name: postgres-exporter   labels:     chart:  &quot;{{ .Chart.Name }}-{{ .Chart.Version | replace &quot;+&quot; &quot;_&quot; }}&quot; spec:   ports:     - protocol: TCP       port: {{ .Values.service.postgres.port }}       targetPort: {{ .Values.service.postgres.port }} <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Prometheus \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 postgres_exporter \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u043a\u043e\u0439 values \u0432 subchart.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">values.yaml<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">scrape_configs: ...   - job_name: postgres-exporter     static_configs:       - targets:           - postgres-exporter.applicationnamespace.svc.cluster.local:9187         labels:           alias: postgres ... <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0414\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 Dashboard \u0432<br \/>  <a href=\"https:\/\/grafana.com\" rel=\"nofollow\">Grafana<\/a> \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u043e \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 values \u0432 subchart Grafana.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fg\/sd\/j4\/fgsdj4wp_ivdihvncu5tbxzyytu.png\">  <\/div>\n<\/p><\/div>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u0430 \u043a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u0432\u0430\u043c \u043f\u043e\u043d\u044f\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0438\u0434\u0435\u0438, \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0438, \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0434\u043b\u044f Loki\/Prometheus \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Kubernetes.<\/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\/505968\/\"> https:\/\/habr.com\/ru\/post\/505968\/<\/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\/505968\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lc\/ag\/uf\/lcagufb_76iokvvi5hbzdgmgfqy.png\" alt=\"image\"><\/p>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c.<br \/>  \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 <a href=\"https:\/\/kubernetes.io\" rel=\"nofollow\">Kubernetes<\/a>. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 <a href=\"https:\/\/prometheus.io\/\" rel=\"nofollow\">Prometheus<\/a> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 <a href=\"https:\/\/www.postgresql.org\" rel=\"nofollow\">PostgreSQL<\/a> \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 <a href=\"https:\/\/www.docker.com\" rel=\"nofollow\">Docker<\/a>. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 <a href=\"https:\/\/helm.sh\" rel=\"nofollow\">Helm<\/a>, \u043d\u0438\u0436\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0430 \u043d\u0435\u043c. \u0414\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0447\u0430\u0440\u0442, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0447\u0430\u0440\u0442\u044b \u0432\u0441\u0435\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.   <\/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-305613","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305613","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=305613"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305613\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}