...

Text file src/k8s.io/kubernetes/cluster/addons/cluster-loadbalancing/glbc/default-svc-controller.yaml

Documentation: k8s.io/kubernetes/cluster/addons/cluster-loadbalancing/glbc

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: l7-default-backend
     5  namespace: kube-system
     6  labels:
     7    k8s-app: glbc
     8    kubernetes.io/name: "GLBC"
     9    kubernetes.io/cluster-service: "true"
    10    addonmanager.kubernetes.io/mode: Reconcile
    11spec:
    12  selector:
    13    matchLabels:
    14      k8s-app: glbc
    15  template:
    16    metadata:
    17      labels:
    18        k8s-app: glbc
    19        name: glbc
    20    spec:
    21      securityContext:
    22        seccompProfile:
    23          type: RuntimeDefault
    24      containers:
    25      - name: default-http-backend
    26        # Any image is permissible as long as:
    27        # 1. It serves a 404 page at /
    28        # 2. It serves 200 on a /healthz endpoint
    29        image:  registry.k8s.io/networking/ingress-gce-404-server-with-metrics-amd64:v1.10.11
    30        livenessProbe:
    31          httpGet:
    32            path: /healthz
    33            port: 8080
    34            scheme: HTTP
    35          initialDelaySeconds: 30
    36          timeoutSeconds: 5
    37        ports:
    38        - containerPort: 8080
    39        resources:
    40          limits:
    41            cpu: 10m
    42            memory: 20Mi
    43          requests:
    44            cpu: 10m
    45            memory: 20Mi

View as plain text