From f9423152076f3112a0a6dc7c96e74387fb1a9434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atakan=20=C3=96zceviz?= Date: Tue, 21 May 2019 09:57:24 +0200 Subject: [PATCH] Changed to NodePort --- samples/MicroserviceDemo/k8s/expose-service.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/samples/MicroserviceDemo/k8s/expose-service.yaml b/samples/MicroserviceDemo/k8s/expose-service.yaml index b1b668a533..682e63f103 100644 --- a/samples/MicroserviceDemo/k8s/expose-service.yaml +++ b/samples/MicroserviceDemo/k8s/expose-service.yaml @@ -3,39 +3,36 @@ kind: Service metadata: name: auth-server-expose spec: - type: LoadBalancer + type: NodePort selector: app: auth-server ports: - protocol: TCP port: 51511 targetPort: 51511 - nodePort: 30001 --- apiVersion: v1 kind: Service metadata: name: backend-admin-app-expose spec: - type: LoadBalancer + type: NodePort selector: app: backend-admin-app ports: - protocol: TCP port: 80 targetPort: 80 - nodePort: 30002 --- apiVersion: v1 kind: Service metadata: name: public-website-expose spec: - type: LoadBalancer + type: NodePort selector: app: public-website ports: - protocol: TCP port: 80 - targetPort: 80 - nodePort: 30003 \ No newline at end of file + targetPort: 80 \ No newline at end of file