22 lines
530 B
YAML
22 lines
530 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
# This must match the --default-backend-service argument of the l7 lb
|
||
|
# controller and is required because GCE mandates a default backend.
|
||
|
name: default-http-backend
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
k8s-app: glbc
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
kubernetes.io/name: "GLBCDefaultBackend"
|
||
|
spec:
|
||
|
# The default backend must be of type NodePort.
|
||
|
type: NodePort
|
||
|
ports:
|
||
|
- port: 80
|
||
|
targetPort: 8080
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
selector:
|
||
|
k8s-app: glbc
|