34 lines
874 B
YAML
34 lines
874 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: controller
|
|
app.kubernetes.io/instance: ingress-nginx
|
|
app.kubernetes.io/name: ingress-nginx
|
|
app.kubernetes.io/part-of: ingress-nginx
|
|
app.kubernetes.io/version: 1.5.1
|
|
name: ingress-nginx-controller
|
|
namespace: ingress-nginx
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
ipFamilies:
|
|
- IPv4
|
|
- IPv6
|
|
ipFamilyPolicy: RequireDualStack
|
|
ports:
|
|
- appProtocol: http
|
|
name: http
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: http
|
|
- appProtocol: https
|
|
name: https
|
|
port: 443
|
|
protocol: TCP
|
|
targetPort: https
|
|
selector:
|
|
app.kubernetes.io/component: controller
|
|
app.kubernetes.io/instance: ingress-nginx
|
|
app.kubernetes.io/name: ingress-nginx
|
|
type: ClusterIP
|