diff --git a/demo-app/frontend.yaml b/demo-app/frontend.yaml index 5f6fe50..427c934 100644 --- a/demo-app/frontend.yaml +++ b/demo-app/frontend.yaml @@ -1,4 +1,5 @@ --- +# Service to expose web frontend apiVersion: v1 kind: Service metadata: @@ -6,7 +7,7 @@ metadata: labels: app: frontend spec: - type: ClusterIP + type: NodePort ports: - port: 80 targetPort: 80 diff --git a/demo-app/products-api.yaml b/demo-app/products-api.yaml index ac72480..165bb41 100644 --- a/demo-app/products-api.yaml +++ b/demo-app/products-api.yaml @@ -1,5 +1,4 @@ --- -# Service to expose web frontend apiVersion: v1 kind: Service diff --git a/demo-app/public-api.yaml b/demo-app/public-api.yaml index a8f687d..dda4e95 100644 --- a/demo-app/public-api.yaml +++ b/demo-app/public-api.yaml @@ -6,7 +6,7 @@ metadata: labels: app: public-api spec: - type: ClusterIP + type: NodePort ports: - port: 8080 targetPort: 8080