2017-08-24 01:15:18 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: calico-typha-horizontal-autoscaler
|
|
|
|
namespace: kube-system
|
|
|
|
labels:
|
|
|
|
k8s-app: calico-typha-autoscaler
|
|
|
|
kubernetes.io/cluster-service: "true"
|
|
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: calico-typha-autoscaler
|
|
|
|
annotations:
|
|
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
|
|
spec:
|
2018-02-02 03:26:41 +00:00
|
|
|
priorityClassName: system-cluster-critical
|
2017-08-24 01:15:18 +00:00
|
|
|
containers:
|
2018-03-02 01:54:16 +00:00
|
|
|
- image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2-r2
|
2017-08-24 01:15:18 +00:00
|
|
|
name: autoscaler
|
|
|
|
command:
|
|
|
|
- /cluster-proportional-autoscaler
|
|
|
|
- --namespace=kube-system
|
|
|
|
- --configmap=calico-typha-horizontal-autoscaler
|
|
|
|
- --target=deployment/calico-typha
|
|
|
|
- --logtostderr=true
|
|
|
|
- --v=2
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
limits:
|
|
|
|
cpu: 10m
|
2017-10-16 15:43:47 +00:00
|
|
|
serviceAccountName: typha-cpha
|