2018-02-13 09:08:44 +08:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2018-06-07 17:25:25 +08:00
|
|
|
name: default-backend
|
2018-02-13 09:08:44 +08:00
|
|
|
namespace: {{ ingress_nginx_namespace }}
|
|
|
|
labels:
|
2018-09-02 12:19:38 +08:00
|
|
|
app.kubernetes.io/name: default-backend
|
|
|
|
app.kubernetes.io/part-of: ingress-nginx
|
2018-02-13 09:08:44 +08:00
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: 8080
|
|
|
|
selector:
|
2018-09-02 12:19:38 +08:00
|
|
|
app.kubernetes.io/name: default-backend
|