38 lines
998 B
YAML
38 lines
998 B
YAML
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: kube-addon-manager
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
component: kube-addon-manager
|
||
|
spec:
|
||
|
hostNetwork: true
|
||
|
containers:
|
||
|
- name: kube-addon-manager
|
||
|
# When updating version also bump it in:
|
||
|
# - cluster/images/hyperkube/static-pods/addon-manager-singlenode.json
|
||
|
# - cluster/images/hyperkube/static-pods/addon-manager-multinode.json
|
||
|
# - cluster/gce/coreos/kube-manifests/kube-addon-manager.yaml
|
||
|
image: {{kube_docker_registry}}/kube-addon-manager:v6.1
|
||
|
command:
|
||
|
- /bin/bash
|
||
|
- -c
|
||
|
- /opt/kube-addons.sh 1>>/var/log/kube-addon-manager.log 2>&1
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 5m
|
||
|
memory: 50Mi
|
||
|
volumeMounts:
|
||
|
- name: addons
|
||
|
mountPath: /etc/kubernetes/
|
||
|
readOnly: true
|
||
|
- name: varlog
|
||
|
mountPath: /var/log/kube-addon-manager.log
|
||
|
volumes:
|
||
|
- name: addons
|
||
|
hostPath:
|
||
|
path: /etc/kubernetes/
|
||
|
- name: varlog
|
||
|
hostPath:
|
||
|
path: /var/log/kube-addon-manager.log
|