diff --git a/src/tasks/dockerDeploy/kubernetes/ingress/default-backend-svc.json b/src/tasks/dockerDeploy/kubernetes/ingress/default-backend-svc.json index e630e5c..c80d35b 100644 --- a/src/tasks/dockerDeploy/kubernetes/ingress/default-backend-svc.json +++ b/src/tasks/dockerDeploy/kubernetes/ingress/default-backend-svc.json @@ -3,9 +3,9 @@ "spec": { "ports": [ { - "targetPort": 80, + "targetPort": 8080, "protocol": "TCP", - "port": 8080, + "port": 80, "name": "default-http-backend" } ], @@ -15,6 +15,9 @@ }, "apiVersion": "v1", "metadata": { - "name": "default-http-backend" + "name": "default-http-backend", + "labels": { + "app": "default-http-backend" + } } } \ No newline at end of file diff --git a/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb-svc.json b/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb-svc.json index 29a92cc..c6f4b57 100644 --- a/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb-svc.json +++ b/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb-svc.json @@ -22,6 +22,9 @@ }, "apiVersion": "v1", "metadata": { - "name": "nginx-ingress-lb" + "name": "nginx-ingress-lb", + "labels": { + "k8s-app": "nginx-ingress-lb" + } } } \ No newline at end of file diff --git a/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb.json b/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb.json index 7556fde..371a0df 100644 --- a/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb.json +++ b/src/tasks/dockerDeploy/kubernetes/ingress/nginx-ingress-lb.json @@ -9,11 +9,6 @@ }, "spec": { "replicas": 1, - "selector": { - "matchLabels": { - "k8s-app": "nginx-ingress-lb" - } - }, "template": { "metadata": { "labels": {