...
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 image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/thirdparty/registry.k8s.io/etcd:3.5.9-0
38 imagePullPolicy: IfNotPresent
39 livenessProbe:
40 failureThreshold: 8
41 httpGet:
42 host: 127.0.0.1
43 path: /health?exclude=NOSPACE&serializable=true
44 port: 2381
45 scheme: HTTP
46 initialDelaySeconds: 10
47 periodSeconds: 10
48 timeoutSeconds: 15
49 name: etcd
50 resources:
51 requests:
52 cpu: 100m
53 memory: 100Mi
54 startupProbe:
55 failureThreshold: 24
56 httpGet:
57 host: 127.0.0.1
58 path: /health?serializable=false
59 port: 2381
60 scheme: HTTP
61 initialDelaySeconds: 10
62 periodSeconds: 10
63 timeoutSeconds: 15
64 volumeMounts:
65 - mountPath: /var/lib/etcd
66 name: etcd-data
67 - mountPath: /etc/kubernetes/pki/etcd
68 name: etcd-certs
69 hostNetwork: true
70 priority: 2000001000
71 priorityClassName: system-node-critical
72 securityContext:
73 seccompProfile:
74 type: RuntimeDefault
75 volumes:
76 - hostPath:
77 path: /etc/kubernetes/pki/etcd
78 type: DirectoryOrCreate
79 name: etcd-certs
80 - hostPath:
81 path: /var/lib/etcd
82 type: DirectoryOrCreate
83 name: etcd-data
84status: {}
View as plain text