2018-01-09 18:57:14 +00:00
|
|
|
kind: Deployment
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
metadata:
|
|
|
|
name: calico-node-vertical-autoscaler
|
|
|
|
namespace: kube-system
|
|
|
|
labels:
|
|
|
|
k8s-app: calico-node-autoscaler
|
|
|
|
kubernetes.io/cluster-service: "true"
|
|
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: calico-node-autoscaler
|
|
|
|
annotations:
|
|
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
|
|
spec:
|
2018-03-06 22:33:18 +00:00
|
|
|
priorityClassName: system-cluster-critical
|
2018-01-09 18:57:14 +00:00
|
|
|
containers:
|
2018-03-06 22:33:18 +00:00
|
|
|
- image: k8s.gcr.io/cpvpa-amd64:v0.6.0
|
2018-01-09 18:57:14 +00:00
|
|
|
name: autoscaler
|
|
|
|
command:
|
|
|
|
- /cpvpa
|
|
|
|
- --target=daemonset/calico-node
|
|
|
|
- --namespace=kube-system
|
|
|
|
- --logtostderr=true
|
|
|
|
- --poll-period-seconds=30
|
|
|
|
- --v=2
|
|
|
|
- --config-file=/etc/config/node-autoscaler
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /etc/config
|
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
configMap:
|
|
|
|
name: calico-node-vertical-autoscaler
|
|
|
|
serviceAccountName: calico-cpva
|