diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-07-08 00:55:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-07-08 00:55:43 +0200 |
commit | c85db7f2cbf01d347f64626726e3da83fc53ebc2 (patch) | |
tree | 0a7799ce1a4daa30f43ff40ba12c0143fa7d344d /contrib/k8s-emc/_graveyard_/ingress-ds.yml | |
parent | renew emc stream-site (diff) |
move old ingress controller to graveyard
Diffstat (limited to 'contrib/k8s-emc/_graveyard_/ingress-ds.yml')
-rw-r--r-- | contrib/k8s-emc/_graveyard_/ingress-ds.yml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/contrib/k8s-emc/_graveyard_/ingress-ds.yml b/contrib/k8s-emc/_graveyard_/ingress-ds.yml new file mode 100644 index 0000000..885a812 --- /dev/null +++ b/contrib/k8s-emc/_graveyard_/ingress-ds.yml @@ -0,0 +1,70 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + namespace: emc + name: ingress-nginx-controller + labels: + app: nginx + tier: ingress +spec: + selector: + matchLabels: + app: nginx + tier: ingress + template: + metadata: + labels: + app: nginx + tier: ingress + annotations: + prometheus.io/port: '10254' + prometheus.io/scrape: 'true' + spec: + serviceAccountName: ingress-nginx + nodeSelector: + streaming.spreadspace.org/zone: dist-lb + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + containers: + - name: nginx-controller + image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.18.0 + args: + - /nginx-ingress-controller + - --default-backend-service=$(POD_NAMESPACE)/ingress-default-http-backend + - --configmap=$(POD_NAMESPACE)/ingress-nginx-config + - --tcp-services-configmap=$(POD_NAMESPACE)/ingress-tcp-config + - --udp-services-configmap=$(POD_NAMESPACE)/ingress-udp-config + - --annotations-prefix=nginx.ingress.kubernetes.io + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + ports: + - name: http + containerPort: 80 + - name: https + containerPort: 443 + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 |