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