...

Text file src/k8s.io/kubernetes/cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-deployment.yaml

Documentation: k8s.io/kubernetes/cluster/addons/calico-policy-controller

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: calico-typha-horizontal-autoscaler
     5  namespace: kube-system
     6  labels:
     7    k8s-app: calico-typha-autoscaler
     8    addonmanager.kubernetes.io/mode: Reconcile
     9spec:
    10  replicas: 1
    11  selector:
    12    matchLabels:
    13      k8s-app: calico-typha-autoscaler
    14  template:
    15    metadata:
    16      labels:
    17        k8s-app: calico-typha-autoscaler
    18    spec:
    19      priorityClassName: system-cluster-critical
    20      securityContext:
    21        supplementalGroups: [ 65534 ]
    22        fsGroup: 65534
    23      containers:
    24      - image: registry.k8s.io/cluster-proportional-autoscaler-amd64:1.7.1
    25        name: autoscaler
    26        command:
    27          - /cluster-proportional-autoscaler
    28          - --namespace=kube-system
    29          - --configmap=calico-typha-horizontal-autoscaler
    30          - --target=deployment/calico-typha
    31          - --logtostderr=true
    32          - --v=2
    33        resources:
    34          requests:
    35            cpu: 10m
    36          limits:
    37            cpu: 10m
    38      serviceAccountName: typha-cpha

View as plain text