Create service.yaml
This commit is contained in:
committed by
GitHub
parent
32f37c00ef
commit
cc4b0d7f65
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