diff --git a/DevOps/Kubernetes/Helm/manifests/configmap-confyaml.md b/DevOps/Kubernetes/Helm/manifests/configmap-confyaml.md deleted file mode 100644 index 476dcd1..0000000 --- a/DevOps/Kubernetes/Helm/manifests/configmap-confyaml.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: configmap-confyaml -description: -published: true -date: 2023-11-07T16:24:39.804Z -tags: -editor: markdown -dateCreated: 2023-11-07T16:21:49.220Z ---- - -```yaml ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: openresty-conf -data: - default.conf: | - server { - listen 80; - server_name localhost; - - location / { - root /usr/local/openresty/nginx/html; - index index.html index.htm; - } - - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/local/openresty/nginx/html; - } - } - -``` \ No newline at end of file diff --git a/DevOps/Kubernetes/Helm/manifests/configmap-htmlyaml.md b/DevOps/Kubernetes/Helm/manifests/configmap-htmlyaml.md deleted file mode 100644 index edcacb9..0000000 --- a/DevOps/Kubernetes/Helm/manifests/configmap-htmlyaml.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: configmap-htmlyaml -description: -published: true -date: 2023-11-07T16:24:44.112Z -tags: -editor: markdown -dateCreated: 2023-11-07T16:22:02.706Z ---- - -```yaml ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: openresty-html -data: - index.html: | - - - Тестовая страница - - - -

Тестовая страница

- - - - 50x.html: | - - - - - - Error - - - -

An error occurred.

-

Sorry, the page you are looking for is currently unavailable.
- Please try again later.

- - -``` \ No newline at end of file diff --git a/DevOps/Kubernetes/Helm/manifests/deploymentyaml.md b/DevOps/Kubernetes/Helm/manifests/deploymentyaml.md deleted file mode 100644 index bb4a86e..0000000 --- a/DevOps/Kubernetes/Helm/manifests/deploymentyaml.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: deploymentyaml -description: -published: true -date: 2023-11-07T16:24:48.334Z -tags: -editor: markdown -dateCreated: 2023-11-07T16:22:15.907Z ---- - -```yaml ---- -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/ingressyaml.md b/DevOps/Kubernetes/Helm/manifests/ingressyaml.md deleted file mode 100644 index c779a0d..0000000 --- a/DevOps/Kubernetes/Helm/manifests/ingressyaml.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: ingressyaml -description: -published: true -date: 2023-11-07T16:24:52.559Z -tags: -editor: markdown -dateCreated: 2023-11-07T16:22:28.827Z ---- - -```yaml ---- -kind: Ingress -apiVersion: networking.k8s.io/v1 -metadata: - name: application - annotations: - kubernetes.io/ingress.class: "system-ingress" - certmanager.k8s.io/cluster-issuer: monitoring-issuer -spec: - rules: - - host: "application.kryukov.local" - http: - paths: - - pathType: Prefix - path: / - backend: - service: - name: openresty - port: - number: 80 -``` \ No newline at end of file