c12s-application-set/deploy/k8s-poc-demo/base/service.yaml
2022-12-16 03:29:49 +01:00

13 lines
205 B
YAML

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