diff --git a/DevOps.html b/DevOps.html index 5f4cd3c..b9acd11 100644 --- a/DevOps.html +++ b/DevOps.html @@ -2,7 +2,7 @@ title: DevOps description: published: true -date: 2023-11-07T17:55:18.222Z +date: 2023-11-07T18:09:58.817Z tags: editor: ckeditor dateCreated: 2023-11-03T08:57:53.006Z diff --git a/DevOps/Kubernetes/Helm.html b/DevOps/Kubernetes/Helm.html index 7e5ca6e..41b878f 100644 --- a/DevOps/Kubernetes/Helm.html +++ b/DevOps/Kubernetes/Helm.html @@ -2,7 +2,7 @@ title: Helm description: published: true -date: 2023-11-07T17:55:50.122Z +date: 2023-11-07T18:10:30.544Z tags: helm editor: ckeditor dateCreated: 2023-11-07T15:25:32.651Z diff --git a/DevOps/Kubernetes/Helm/01-base-helm.md b/DevOps/Kubernetes/Helm/01-base-helm.md index b96e21c..f3fc42d 100644 --- a/DevOps/Kubernetes/Helm/01-base-helm.md +++ b/DevOps/Kubernetes/Helm/01-base-helm.md @@ -2,7 +2,7 @@ title: 01-Основы helm description: published: true -date: 2023-11-07T17:55:45.740Z +date: 2023-11-07T18:10:26.238Z tags: helm editor: markdown dateCreated: 2023-11-07T15:18:54.227Z diff --git a/DevOps/Kubernetes/Helm/manifests/DevOps/Kubernetes/Helm/manifests/deployment.yaml b/DevOps/Kubernetes/Helm/manifests/DevOps/Kubernetes/Helm/manifests/deployment.yaml new file mode 100644 index 0000000..5b3357a --- /dev/null +++ b/DevOps/Kubernetes/Helm/manifests/DevOps/Kubernetes/Helm/manifests/deployment.yaml @@ -0,0 +1,60 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: openresty + labels: + k8s-app: openresty + annotations: + reloader.stakater.com/auto: "true" + configmap.reloader.stakater.com/reload: "openresty" +spec: + replicas: 2 + revisionHistoryLimit: 3 + selector: + matchLabels: + k8s-app: openresty + template: + metadata: + labels: + k8s-app: openresty + spec: + containers: + - name: openresty + image: openresty/openresty:centos-rpm + imagePullPolicy: IfNotPresent + ports: + - containerPort: 80 + name: http + readinessProbe: + httpGet: + path: /index.html + port: http + initialDelaySeconds: 5 + periodSeconds: 15 + livenessProbe: + httpGet: + path: /index.html + port: http + initialDelaySeconds: 5 + periodSeconds: 15 + timeoutSeconds: 5 + resources: + limits: + cpu: "0.2" + memory: "400Mi" + requests: + cpu: "0.1" + memory: "200Mi" + volumeMounts: + - name: html + mountPath: /usr/local/openresty/nginx/html/ + - name: config + mountPath: /etc/nginx/conf.d/ + volumes: + - name: html + configMap: + name: openresty-html + - name: config + configMap: + name: openresty-conf \ No newline at end of file diff --git a/DevOps/Kubernetes/Helm/manifests/configmap-conf.md b/DevOps/Kubernetes/Helm/manifests/configmap-conf.md index 0bad7ed..65b2770 100644 --- a/DevOps/Kubernetes/Helm/manifests/configmap-conf.md +++ b/DevOps/Kubernetes/Helm/manifests/configmap-conf.md @@ -1,3 +1,13 @@ +--- +title: configmap-conf +description: +published: true +date: 2023-11-07T18:10:39.727Z +tags: +editor: markdown +dateCreated: 2023-11-07T18:05:41.208Z +--- + ```yaml --- kind: ConfigMap diff --git a/DevOps/Kubernetes/Helm/manifests/configmap-html.md b/DevOps/Kubernetes/Helm/manifests/configmap-html.md index 31e7a3f..0b71d38 100644 --- a/DevOps/Kubernetes/Helm/manifests/configmap-html.md +++ b/DevOps/Kubernetes/Helm/manifests/configmap-html.md @@ -1,3 +1,13 @@ +--- +title: configmap-html +description: +published: true +date: 2023-11-07T18:10:44.131Z +tags: +editor: markdown +dateCreated: 2023-11-07T18:05:47.418Z +--- + ```yaml --- kind: ConfigMap diff --git a/DevOps/Kubernetes/Helm/manifests/deployment.md b/DevOps/Kubernetes/Helm/manifests/deployment.md index 3299329..6c8647e 100644 --- a/DevOps/Kubernetes/Helm/manifests/deployment.md +++ b/DevOps/Kubernetes/Helm/manifests/deployment.md @@ -1,4 +1,14 @@ ```yaml +--- +title: deployment +description: +published: true +date: 2023-11-07T18:10:48.929Z +tags: +editor: markdown +dateCreated: 2023-11-07T18:05:54.420Z +--- + --- kind: Deployment apiVersion: apps/v1 diff --git a/DevOps/Kubernetes/Helm/manifests/ingress.md b/DevOps/Kubernetes/Helm/manifests/ingress.md index 11c0cf9..cdb755d 100644 --- a/DevOps/Kubernetes/Helm/manifests/ingress.md +++ b/DevOps/Kubernetes/Helm/manifests/ingress.md @@ -1,3 +1,13 @@ +--- +title: ingress +description: +published: true +date: 2023-11-07T18:10:53.557Z +tags: +editor: markdown +dateCreated: 2023-11-07T18:06:01.729Z +--- + ```yaml --- kind: Ingress diff --git a/DevOps/Kubernetes/Helm/manifests/service.md b/DevOps/Kubernetes/Helm/manifests/service.md index 74989b2..57f3f51 100644 --- a/DevOps/Kubernetes/Helm/manifests/service.md +++ b/DevOps/Kubernetes/Helm/manifests/service.md @@ -2,7 +2,7 @@ title: service description: published: true -date: 2023-11-07T17:55:55.211Z +date: 2023-11-07T18:10:34.820Z tags: editor: markdown dateCreated: 2023-11-07T15:49:24.049Z diff --git a/DevOps/bash-completion.html b/DevOps/bash-completion.html index a34c18f..03910d5 100644 --- a/DevOps/bash-completion.html +++ b/DevOps/bash-completion.html @@ -2,7 +2,7 @@ title: bash-completion для kubectl description: published: true -date: 2023-11-07T17:55:14.013Z +date: 2023-11-07T18:09:54.248Z tags: bash, kubectl editor: ckeditor dateCreated: 2023-11-03T08:55:30.344Z diff --git a/Hackintosh/Soft.html b/Hackintosh/Soft.html index c43c54c..9a30453 100644 --- a/Hackintosh/Soft.html +++ b/Hackintosh/Soft.html @@ -2,7 +2,7 @@ title: ПО, которое необходимо для установки и настройки хакинтоша description: published: true -date: 2023-11-07T17:55:41.304Z +date: 2023-11-07T18:10:21.212Z tags: mac, soft, hackintosh editor: ckeditor dateCreated: 2023-11-07T10:42:22.230Z diff --git a/home.html b/home.html index 77ea51c..57db92c 100644 --- a/home.html +++ b/home.html @@ -2,7 +2,7 @@ title: Home Page description: published: true -date: 2023-11-07T17:55:27.306Z +date: 2023-11-07T18:10:07.908Z tags: editor: ckeditor dateCreated: 2023-11-03T14:27:02.804Z diff --git a/sysadmin/backup/syncthing.html b/sysadmin/backup/syncthing.html index 6adfe8f..d97109c 100644 --- a/sysadmin/backup/syncthing.html +++ b/sysadmin/backup/syncthing.html @@ -2,7 +2,7 @@ title: Syncthing - резервное копирование description: published: true -date: 2023-11-07T17:55:05.416Z +date: 2023-11-07T18:09:44.826Z tags: syncthing, backup editor: ckeditor dateCreated: 2023-11-02T11:52:22.718Z diff --git a/sysadmin/bash/bash-completion.html b/sysadmin/bash/bash-completion.html index 8d6ba78..95851bd 100644 --- a/sysadmin/bash/bash-completion.html +++ b/sysadmin/bash/bash-completion.html @@ -2,7 +2,7 @@ title: bash-completion автодополнение description: published: true -date: 2023-11-07T17:55:09.825Z +date: 2023-11-07T18:09:48.864Z tags: bash, linux editor: ckeditor dateCreated: 2023-11-03T08:47:49.396Z diff --git a/sysadmin/bash/process-forward.md b/sysadmin/bash/process-forward.md index 73cddc4..e8f0502 100644 --- a/sysadmin/bash/process-forward.md +++ b/sysadmin/bash/process-forward.md @@ -2,7 +2,7 @@ title: Отвязка процесса от терминальной сессии description: published: true -date: 2023-11-07T17:55:32.208Z +date: 2023-11-07T18:10:12.250Z tags: bash, process, screen editor: markdown dateCreated: 2023-11-07T10:15:03.139Z diff --git a/sysadmin/logs-output/output-shpargalka.md b/sysadmin/logs-output/output-shpargalka.md index e3c2496..181b699 100644 --- a/sysadmin/logs-output/output-shpargalka.md +++ b/sysadmin/logs-output/output-shpargalka.md @@ -2,7 +2,7 @@ title: Шпаргалка по выводу в терминале description: published: true -date: 2023-11-07T17:55:36.749Z +date: 2023-11-07T18:10:17.019Z tags: output, tee editor: markdown dateCreated: 2023-11-07T10:37:25.945Z diff --git a/sysadmin/ssh/ssh-auth.md b/sysadmin/ssh/ssh-auth.md index ef5437c..5d14c7e 100644 --- a/sysadmin/ssh/ssh-auth.md +++ b/sysadmin/ssh/ssh-auth.md @@ -2,7 +2,7 @@ title: Авторизация по ключу rsa по ssh description: published: true -date: 2023-11-07T17:55:23.154Z +date: 2023-11-07T18:10:03.835Z tags: ssh, rsa editor: markdown dateCreated: 2023-11-03T12:36:39.209Z