From 8b070fe6848b16f03500d50725708dd12b0f00d6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Tue, 12 Mar 2024 20:16:38 -0500 Subject: [PATCH] one ingress --- hello-world/deployments/deployment.yaml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/hello-world/deployments/deployment.yaml b/hello-world/deployments/deployment.yaml index 8031c28..ae423c8 100644 --- a/hello-world/deployments/deployment.yaml +++ b/hello-world/deployments/deployment.yaml @@ -104,12 +104,11 @@ kind: Ingress metadata: labels: service: hello-world - name: hello-world-ingress-active + name: hello-world-ingress namespace: hello-world spec: rules: - - host: localhost - http: + - http: paths: - backend: service: @@ -118,22 +117,8 @@ spec: number: 5000 path: /active pathType: Prefix -status: - loadBalancer: {} ---- - -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - labels: - service: hello-world - name: hello-world-ingress-preview - namespace: hello-world -spec: - rules: - - host: localhost - http: + - http: paths: - backend: service: