123456789101112131415161718192021222324252627282930313233343536373839404142 |
- apiVersion: apps/v1
- 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
- selector:
- matchLabels:
- k8s-app: calico-typha-autoscaler
- template:
- metadata:
- labels:
- k8s-app: calico-typha-autoscaler
- annotations:
- scheduler.alpha.kubernetes.io/critical-pod: ''
- spec:
- priorityClassName: system-cluster-critical
- securityContext:
- supplementalGroups: [ 65534 ]
- fsGroup: 65534
- containers:
- - image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.6.0
- 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
- serviceAccountName: typha-cpha
|