c12s-application-set/deploy/k8s-poc-demo/base/service.yaml
2022-12-20 17:44:16 +01:00

13 lines
202 B
YAML

apiVersion: v1
kind: Service
metadata:
name: k8s-poc-nginx-service
spec:
type: ClusterIP
selector:
app: k8s-poc-nginx
ports:
- port: 80
targetPort: 80
name: http
protocol: TCP