Create service.yaml

This commit is contained in:
Barahalikar Siddharth
2022-07-30 00:12:33 +05:30
committed by GitHub
parent e3b7f3f14c
commit 859227248b

14
jenkins-demo/service.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: solar-system
name: solar-system-serevice
spec:
ports:
- port: 3000
protocol: TCP
targetPort: 3000
selector:
app: solar-system
type: NodePort