c12s-kubespray/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/ingress-nginx-default-backend-svc.yml.j2
2018-03-02 23:33:19 +08:00

14 lines
285 B
Django/Jinja

---
apiVersion: v1
kind: Service
metadata:
name: ingress-nginx-default-backend
namespace: {{ ingress_nginx_namespace }}
labels:
k8s-app: ingress-nginx-default-backend
spec:
ports:
- port: 80
targetPort: 8080
selector:
k8s-app: ingress-nginx-default-backend