...
1apiVersion: v1
2kind: Service
3metadata:
4 # This must match the --default-backend-service argument of the l7 lb
5 # controller and is required because GCE mandates a default backend.
6 name: default-http-backend
7 namespace: kube-system
8 labels:
9 k8s-app: glbc
10 kubernetes.io/cluster-service: "true"
11 addonmanager.kubernetes.io/mode: Reconcile
12 kubernetes.io/name: "GLBCDefaultBackend"
13spec:
14 # The default backend must be of type NodePort.
15 type: NodePort
16 ports:
17 - port: 80
18 targetPort: 8080
19 protocol: TCP
20 name: http
21 selector:
22 k8s-app: glbc
View as plain text