From 7541f6a2a8c0b23d65df51bdd1250f36146ea35f Mon Sep 17 00:00:00 2001 From: Mustafa Emal Date: Tue, 16 Jan 2024 12:39:44 +0100 Subject: [PATCH] deployment and loadbalancer modified --- 02_services/loadbalancer-services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_services/loadbalancer-services.yml b/02_services/loadbalancer-services.yml index f0ad7ba..82fb3e8 100644 --- a/02_services/loadbalancer-services.yml +++ b/02_services/loadbalancer-services.yml @@ -3,6 +3,7 @@ kind: Service metadata: name: nginx-loadbalancer spec: + type: LoadBalancer selector: app: simple-nginx ports: @@ -10,7 +11,6 @@ spec: port: 80 targetPort: 9376 clusterIP: 10.96.8.7 - type: LoadBalancer status: loadBalancer: ingress: