apiVersion: v1
kind: Pod
metadata:
  labels:
    k8s-app: etcd-manager-main
  name: etcd-manager-main
  namespace: kube-system
spec:
  containers:
  - args:
    - --log-file=/var/log/etcd.log
    - --also-stdout
    - /ko-app/etcd-manager
    - --backup-store=memfs://clusters.example.com/minimal-etcd.example.com/backups/etcd/main
    - --client-urls=https://__name__:4001
    - --cluster-name=etcd
    - --containerized=true
    - --dns-suffix=.internal.minimal-etcd.example.com
    - --grpc-port=3996
    - --peer-urls=https://__name__:2380
    - --quarantine-client-urls=https://__name__:3994
    - --v=10
    - --volume-name-tag=k8s.io/etcd/main
    - --volume-provider=aws
    - --volume-tag=k8s.io/etcd/main
    - --volume-tag=k8s.io/role/control-plane=1
    - --volume-tag=kubernetes.io/cluster/minimal-etcd.example.com=owned
    command:
    - /go-runner
    env:
    - name: AWS_REGION
      value: us-test-1
    - name: ETCD_MANAGER_DAILY_BACKUPS_RETENTION
      value: 90d
    image: gcr.io/k8s-staging-etcdadm/etcd:v20210430-v0.1.3-739-g7da12acc
    name: etcd-manager
    resources:
      requests:
        cpu: 200m
        memory: 100Mi
    securityContext:
      privileged: true
    volumeMounts:
    - mountPath: /rootfs
      name: rootfs
    - mountPath: /run
      name: run
    - mountPath: /etc/kubernetes/pki/etcd-manager
      name: pki
    - mountPath: /opt/etcd-v3.6.99
      name: etcd-v3-6-99
    - mountPath: /var/log/etcd.log
      name: varlogetcd
  hostNetwork: true
  hostPID: true
  priorityClassName: system-cluster-critical
  tolerations:
  - key: CriticalAddonsOnly
    operator: Exists
  volumes:
  - hostPath:
      path: /
      type: Directory
    name: rootfs
  - hostPath:
      path: /run
      type: DirectoryOrCreate
    name: run
  - hostPath:
      path: /etc/kubernetes/pki/etcd-manager-main
      type: DirectoryOrCreate
    name: pki
  - image:
      pullPolicy: IfNotPresent
      reference: gcr.io/etcd-development/etcd:v3.6.99
    name: etcd-v3-6-99
  - hostPath:
      path: /var/log/etcd.log
      type: FileOrCreate
    name: varlogetcd
status: {}
