apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubeadm.kubernetes.io/etcd.advertise-client-urls: https://162.253.55.20:2379
    kubernetes.io/config.hash: b0509c1619d7a889c35a6ece60375688
    kubernetes.io/config.mirror: b0509c1619d7a889c35a6ece60375688
    kubernetes.io/config.seen: "2026-11-12T07:24:47.114183896Z"
    kubernetes.io/config.source: file
  creationTimestamp: "2026-11-12T07:24:48Z"
  labels:
    component: etcd
    tier: control-plane
  name: etcd-controller-2
  namespace: kube-system
  ownerReferences:
  - apiVersion: v1
    controller: true
    kind: Node
    name: controller-2
    uid: 498821fc-3262-4d7e-abf4-39baf3ed804d
  resourceVersion: "4494"
  uid: e53c8ae6-7eb8-4182-bede-0561f2e7777e
spec:
  containers:
  - command:
    - etcd
    - --advertise-client-urls=https://162.253.55.20:2379
    - --cert-file=/etc/kubernetes/pki/etcd/server.crt
    - --client-cert-auth=true
    - --data-dir=/var/lib/etcd
    - --experimental-initial-corrupt-check=true
    - --experimental-watch-progress-notify-interval=5s
    - --initial-advertise-peer-urls=https://162.253.55.20:2380
    - --initial-cluster=controller-2=https://162.253.55.20:2380
    - --key-file=/etc/kubernetes/pki/etcd/server.key
    - --listen-client-urls=https://127.0.0.1:2379,https://162.253.55.20:2379
    - --listen-metrics-urls=http://127.0.0.1:2381
    - --listen-peer-urls=https://162.253.55.20:2380
    - --name=controller-2
    - --peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt
    - --peer-client-cert-auth=true
    - --peer-key-file=/etc/kubernetes/pki/etcd/peer.key
    - --peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
    - --snapshot-count=10000
    - --tls-min-version=TLS1.3
    - --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
    image: registry.k8s.io/etcd:3.5.24-0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 8
      httpGet:
        host: 127.0.0.1
        path: /livez
        port: 2381
        scheme: HTTP
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 15
    name: etcd
    readinessProbe:
      failureThreshold: 3
      httpGet:
        host: 127.0.0.1
        path: /readyz
        port: 2381
        scheme: HTTP
      periodSeconds: 1
      successThreshold: 1
      timeoutSeconds: 15
    resources:
      requests:
        cpu: 100m
        memory: 100Mi
    startupProbe:
      failureThreshold: 24
      httpGet:
        host: 127.0.0.1
        path: /readyz
        port: 2381
        scheme: HTTP
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 15
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/lib/etcd
      name: etcd-data
    - mountPath: /etc/kubernetes/pki/etcd
      name: etcd-certs
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  hostNetwork: true
  nodeName: controller-2
  preemptionPolicy: PreemptLowerPriority
  priority: 2000001000
  priorityClassName: system-node-critical
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    seccompProfile:
      type: RuntimeDefault
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    operator: Exists
  volumes:
  - hostPath:
      path: /etc/kubernetes/pki/etcd
      type: DirectoryOrCreate
    name: etcd-certs
  - hostPath:
      path: /var/lib/etcd
      type: DirectoryOrCreate
    name: etcd-data
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-11-12T07:24:48Z"
    status: "True"
    type: PodReadyToStartContainers
  - lastProbeTime: null
    lastTransitionTime: "2026-11-12T07:24:47Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-11-12T07:25:04Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-11-12T07:25:04Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-11-12T07:24:47Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://f3aba566d547a873aedf4b90773fff48ecee0d6240e5afcd2a473a8864712f0d
    image: registry.k8s.io/etcd:3.5.24-0
    imageID: registry.k8s.io/etcd@sha256:251e7e490f64859d329cd963bc879dc04acf3d7195bb52c4c50b4a07bedf37d6
    lastState:
      terminated:
        containerID: containerd://92d1649d5a8594a1b604ce7db92f074558767ff6499e3af50879d048431b0cf7
        exitCode: 1
        finishedAt: "2026-11-12T07:24:48Z"
        reason: Error
        startedAt: "2026-11-12T07:24:48Z"
    name: etcd
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-11-12T07:24:49Z"
    volumeMounts:
    - mountPath: /var/lib/etcd
      name: etcd-data
    - mountPath: /etc/kubernetes/pki/etcd
      name: etcd-certs
  hostIP: 162.253.55.20
  hostIPs:
  - ip: 162.253.55.20
  phase: Running
  podIP: 162.253.55.20
  podIPs:
  - ip: 162.253.55.20
  qosClass: Burstable
  startTime: "2026-11-12T07:24:47Z"
