...
1apiVersion: v1
2kind: Pod
3metadata:
4 name: etcd-manager
5 namespace: kube-system
6 labels:
7 platform.edge.ncr.com/component: etcd-manager
8spec:
9 hostNetwork: true
10 containers:
11 - args:
12 - run
13 - --kubeconfig=/etc/kubernetes/admin.conf
14 - --containerd-socket=/run/containerd/containerd.sock
15 - --controlplane-etcd-host=127.0.0.1
16 - --controlplane-etcd-port=2379
17 - --etcd-client-request-timeout=3s
18 - --etcd-client-initial-backoff=2s
19 - --etcd-client-backoff-factor=1
20 - --etcd-client-max-retries=1
21 - --kube-client-request-timeout=3s
22 - --kube-client-initial-backoff=2s
23 - --kube-client-backoff-factor=1
24 - --kube-client-max-retries=1
25 - --blocking-kube-client-request-timeout=5s
26 - --blocking-kube-client-initial-backoff=15s
27 - --blocking-kube-client-backoff-factor=1
28 - --blocking-kube-client-max-retries=20
29 - --max-unhealthy-duration=10m
30 - --log-level=INFO
31 image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/etcdmanager
32 name: etcd-manager
33 ports:
34 - name: metrics
35 protocol: TCP
36 containerPort: 9085
37 resources:
38 limits:
39 cpu: "50m"
40 memory: 100Mi
41 requests:
42 cpu: 5m
43 memory: 35Mi
44 volumeMounts:
45 - name: kubernetes
46 mountPath: /etc/kubernetes
47 - name: run-containerd
48 mountPath: /run/containerd
49 - name: run-systemd
50 mountPath: /run/systemd
51 - name: run-etcdmanager
52 mountPath: /run/etcd-manager
53 volumes:
54 - name: kubernetes
55 hostPath:
56 type: Directory
57 path: /etc/kubernetes
58 - name: run-containerd
59 hostPath:
60 type: Directory
61 path: /run/containerd
62 - name: run-etcdmanager
63 hostPath:
64 type: DirectoryOrCreate
65 path: /run/etcd-manager
66 - name: run-systemd
67 hostPath:
68 type: Directory
69 path: /run/systemd
View as plain text