Create service.yml
This commit is contained in:
committed by
GitHub
parent
79f369dad7
commit
068e19bc0c
14
solar-system/service.yml
Normal file
14
solar-system/service.yml
Normal 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
|
||||
Reference in New Issue
Block a user