Create service.yaml

This commit is contained in:
Barahalikar Siddharth
2022-06-08 01:12:22 +05:30
committed by GitHub
parent 32f37c00ef
commit cc4b0d7f65

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