2018-01-09 18:57:14 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Pod
|
|
|
|
metadata:
|
|
|
|
name: kube-addon-manager
|
|
|
|
namespace: kube-system
|
|
|
|
annotations:
|
|
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
2018-07-18 14:47:22 +00:00
|
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
2018-01-09 18:57:14 +00:00
|
|
|
labels:
|
|
|
|
component: kube-addon-manager
|
|
|
|
spec:
|
|
|
|
hostNetwork: true
|
|
|
|
containers:
|
|
|
|
- name: kube-addon-manager
|
|
|
|
# When updating version also bump it in:
|
|
|
|
# - test/kubemark/resources/manifests/kube-addon-manager.yaml
|
2018-11-26 18:23:56 +00:00
|
|
|
image: k8s.gcr.io/kube-addon-manager:v8.9
|
2018-01-09 18:57:14 +00:00
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -c
|
2018-03-06 22:33:18 +00:00
|
|
|
- exec /opt/kube-addons.sh 1>>/var/log/kube-addon-manager.log 2>&1
|
2018-01-09 18:57:14 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 5m
|
|
|
|
memory: 50Mi
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /etc/kubernetes/
|
|
|
|
name: addons
|
|
|
|
readOnly: true
|
|
|
|
- mountPath: /var/log
|
|
|
|
name: varlog
|
|
|
|
readOnly: false
|
2018-11-26 18:23:56 +00:00
|
|
|
env:
|
|
|
|
- name: KUBECTL_EXTRA_PRUNE_WHITELIST
|
|
|
|
value: {{kubectl_extra_prune_whitelist}}
|
2018-01-09 18:57:14 +00:00
|
|
|
volumes:
|
|
|
|
- hostPath:
|
|
|
|
path: /etc/kubernetes/
|
|
|
|
name: addons
|
|
|
|
- hostPath:
|
|
|
|
path: /var/log
|
|
|
|
name: varlog
|