Skip to content

Commit

Permalink
Update javaapp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
legah2045 authored Nov 3, 2020
1 parent fbf29dd commit 5d7b2c4
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions javaapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,14 @@ spec:
ports:
- containerPort: 8080
---
# Node Port Service
apiVersion: v1
kind: Service
metadata:
labels:
name: javawebapp
name: javawebappservice
spec:
type: ClusterIP #NodePort
ports:
- port: 8080
targetPort: 8080
type: ClusterIP
selector:
name: javawebapp
app: javawebapp
ports:
- port: 80
targetPort: 8080

0 comments on commit 5d7b2c4

Please sign in to comment.