Skip to content

Commit

Permalink
Add service config to leeroy-web deployment.yaml (#5630)
Browse files Browse the repository at this point in the history
  • Loading branch information
iandanforth-alation authored Apr 5, 2021
1 parent 574f4b4 commit 665b502
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/microservices/leeroy-web/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: leeroy-web
labels:
app: leeroy-web
spec:
type: NodePort
ports:
- port: 8080
name: leeroy-web
selector:
app: leeroy-web
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 665b502

Please sign in to comment.