Skip to content

Commit

Permalink
Added a node port service
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Apr 11, 2021
1 parent 1f37af4 commit 82eba35
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions April21/deployments/jenkins-demo-deployment/jenkins-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
apiVersion: v1
kind: Service
metadata:
name: jenkins-svc
name: jenkins-service
spec:
type: NodePort
selector:
app: jenkins
type: NodePort
environment: production
ports:
- port: 80
protocol: TCP
targetPort: 8080


nodePort: 32555

0 comments on commit 82eba35

Please sign in to comment.