Create service.yaml

This commit is contained in:
Barahalikar Siddharth
2022-06-08 01:11:29 +05:30
committed by GitHub
parent a617e9331a
commit 9e3cc7e48b

12
health-check/service.yaml Normal file
View 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