k8s.io/kubernetes@v1.29.3/test/kubemark/resources/manifests/kube-addon-manager.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: kube-addon-manager
     5    namespace: kube-system
     6    labels:
     7      component: kube-addon-manager
     8  spec:
     9    hostNetwork: true
    10    containers:
    11    - name: kube-addon-manager
    12      image: {{kube_docker_registry}}/addon-manager/kube-addon-manager:v9.1.7
    13      command:
    14      - /bin/bash
    15      - -c
    16      - /opt/kube-addons-main.sh 1>>/var/log/kube-addon-manager.log 2>&1
    17      resources:
    18        requests:
    19          cpu: 5m
    20          memory: 50Mi
    21      volumeMounts:
    22      - name: addons
    23        mountPath: /etc/kubernetes/
    24        readOnly: true
    25      - name: varlog
    26        mountPath: /var/log/kube-addon-manager.log
    27      - mountPath: /etc/srv/kubernetes/addon-manager/
    28        name: srvkube
    29        readOnly: true
    30      env:
    31      - name: KUBECTL_OPTS
    32        value: '--kubeconfig=/etc/srv/kubernetes/addon-manager/kubeconfig'
    33    volumes:
    34    - name: addons
    35      hostPath:
    36        path: /etc/kubernetes/
    37    - name: varlog
    38      hostPath:
    39        path: /var/log/kube-addon-manager.log
    40        type: FileOrCreate
    41    - hostPath:
    42        path: /etc/srv/kubernetes/addon-manager/
    43      name: srvkube