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

13 lines
197 B
YAML

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