Create service.yaml
This commit is contained in:
committed by
GitHub
parent
a617e9331a
commit
9e3cc7e48b
12
health-check/service.yaml
Normal file
12
health-check/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: random-shapes-svc
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 80
|
||||||
|
selector:
|
||||||
|
app: random-shapes
|
||||||
|
type: NodePort
|
||||||
Reference in New Issue
Block a user