c12s-application-set/deploy/c12s/base/ingress-nginx-service.yaml

21 lines
377 B
YAML
Raw Permalink Normal View History

2022-12-21 04:54:54 +00:00
---
apiVersion: v1
kind: Service
metadata:
name: ingress-nginx-controller
namespace: ingress-nginx
spec:
type: LoadBalancer
externalTrafficPolicy: Local
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: https
selector:
app.kubernetes.io/name: ingress-nginx