...
1apiVersion: v1
2kind: Pod
3metadata:
4 annotations:
5 kubeadm.kubernetes.io/etcd.advertise-client-urls: https://10.10.10.3:2379
6 creationTimestamp: null
7 labels:
8 component: etcd
9 tier: control-plane
10 name: etcd
11 namespace: kube-system
12spec:
13 containers:
14 - command:
15 - etcd
16 - --advertise-client-urls=https://10.10.10.3:2379
17 - --auto-compaction-mode=periodic
18 - --auto-compaction-retention=5m
19 - --cert-file=/etc/kubernetes/pki/etcd/server.crt
20 - --client-cert-auth=true
21 - --data-dir=/var/lib/etcd
22 - --experimental-initial-corrupt-check=true
23 - --experimental-watch-progress-notify-interval=5s
24 - --initial-advertise-peer-urls=https://10.10.10.3:2380
25 - --initial-cluster=liam-master-1=https://10.10.10.3:2380
26 - --key-file=/etc/kubernetes/pki/etcd/server.key
27 - --listen-client-urls=https://127.0.0.1:2379,https://10.10.10.3:2379
28 - --listen-metrics-urls=http://127.0.0.1:2381
29 - --listen-peer-urls=https://10.10.10.3:2380
30 - --name=liam-master-1
31 - --peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt
32 - --peer-client-cert-auth=true
33 - --peer-key-file=/etc/kubernetes/pki/etcd/peer.key
34 - --peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
35 - --snapshot-count=10000
36 - --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
37 - --force-new-cluster=true
38 image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/thirdparty/registry.k8s.io/etcd:3.5.9-0
39 imagePullPolicy: IfNotPresent
40 livenessProbe:
41 failureThreshold: 8
42 httpGet:
43 host: 127.0.0.1
44 path: /health?exclude=NOSPACE&serializable=true
45 port: 2381
46 scheme: HTTP
47 initialDelaySeconds: 10
48 periodSeconds: 10
49 timeoutSeconds: 15
50 name: etcd
51 resources:
52 requests:
53 cpu: 100m
54 memory: 100Mi
55 startupProbe:
56 failureThreshold: 24
57 httpGet:
58 host: 127.0.0.1
59 path: /health?serializable=false
60 port: 2381
61 scheme: HTTP
62 initialDelaySeconds: 10
63 periodSeconds: 10
64 timeoutSeconds: 15
65 volumeMounts:
66 - mountPath: /var/lib/etcd
67 name: etcd-data
68 - mountPath: /etc/kubernetes/pki/etcd
69 name: etcd-certs
70 hostNetwork: true
71 priority: 2000001000
72 priorityClassName: system-node-critical
73 securityContext:
74 seccompProfile:
75 type: RuntimeDefault
76 volumes:
77 - hostPath:
78 path: /etc/kubernetes/pki/etcd
79 type: DirectoryOrCreate
80 name: etcd-certs
81 - hostPath:
82 path: /var/lib/etcd
83 type: DirectoryOrCreate
84 name: etcd-data
85status: {}
View as plain text