blob: 0c22df374b53debbaa852e9a024afedfb912be08 [file] [log] [blame]
---
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/cloudstack-load-balancer-proxy-protocol: enabled
spec:
type: LoadBalancer
ports:
- name: http-proxy
port: 80
protocol: TCP
targetPort: 80
- name: https-proxy
port: 443
protocol: TCP
targetPort: 443
---
kind: DaemonSet
# ...
spec:
template:
spec:
hostNetwork: true
containers:
- name: my-ingress-controller
ports:
- containerPort: 80
protocol: TCP
- containerPort: 443
protocol: TCP