From c85db7f2cbf01d347f64626726e3da83fc53ebc2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2022 00:55:43 +0200 Subject: move old ingress controller to graveyard --- .../_graveyard_/ingress-default-backend.yml | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 contrib/k8s-emc/_graveyard_/ingress-default-backend.yml (limited to 'contrib/k8s-emc/_graveyard_/ingress-default-backend.yml') diff --git a/contrib/k8s-emc/_graveyard_/ingress-default-backend.yml b/contrib/k8s-emc/_graveyard_/ingress-default-backend.yml new file mode 100644 index 0000000..835239f --- /dev/null +++ b/contrib/k8s-emc/_graveyard_/ingress-default-backend.yml @@ -0,0 +1,59 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: emc + name: ingress-default-http-backend + labels: + app: default-http-backend + tier: ingress +spec: + replicas: 1 + selector: + matchLabels: + app: default-http-backend + tier: ingress + template: + metadata: + labels: + app: default-http-backend + tier: ingress + spec: + terminationGracePeriodSeconds: 60 + nodeSelector: + streaming.spreadspace.org/zone: dist-lb + containers: + - name: backend + image: gcr.io/google_containers/defaultbackend:1.4 + livenessProbe: + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 30 + timeoutSeconds: 5 + ports: + - containerPort: 8080 + resources: + limits: + cpu: 10m + memory: 20Mi + requests: + cpu: 10m + memory: 20Mi +--- + +apiVersion: v1 +kind: Service +metadata: + namespace: emc + name: ingress-default-http-backend + labels: + app: default-http-backend + tier: ingress +spec: + ports: + - port: 80 + targetPort: 8080 + selector: + app: default-http-backend + tier: ingress -- cgit v1.2.3