Skip to content

Commit

Permalink
Updated app to run with nodeports
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Dollery committed Sep 15, 2020
1 parent 62795fb commit bed2d5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo-app/frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
# Service to expose web frontend
apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: frontend
spec:
type: ClusterIP
type: NodePort
ports:
- port: 80
targetPort: 80
Expand Down
1 change: 0 additions & 1 deletion demo-app/products-api.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# Service to expose web frontend

apiVersion: v1
kind: Service
Expand Down
2 changes: 1 addition & 1 deletion demo-app/public-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app: public-api
spec:
type: ClusterIP
type: NodePort
ports:
- port: 8080
targetPort: 8080
Expand Down

0 comments on commit bed2d5b

Please sign in to comment.