-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflannel-edge-access.yaml
169 lines (169 loc) · 7.07 KB
/
flannel-edge-access.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
apiVersion: apps/v1
kind: DaemonSet
metadata:
annotations:
deprecated.daemonset.template.generation: "3"
kubectl.kubernetes.io/last-applied-configuration: |
"{\"apiVersion\":\"apps/v1\",\"kind\":\"DaemonSet\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"flannel\",\"tier\":\"node\"},\"name\":\"kube-flannel-ds-arm64\",\"namespace\":\"kube-system\"},\"spec\":{\"selector\":{\"matchLabels\":{\"app\":\"flannel\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"flannel\",\"tier\":\"node\"}},\"spec\":{\"affinity\":{\"nodeAffinity\":{\"requiredDuringSchedulingIgnoredDuringExecution\":{\"nodeSelectorTerms\":[{\"matchExpressions\":[{\"key\":\"kubernetes.io/os\",\"operator\":\"In\",\"values\":[\"linux\"]},{\"key\":\"kubernetes.io/arch\",\"operator\":\"In\",\"values\":[\"arm64\"]}]}]}}},\"containers\":[{\"command\":[\"/opt/bin/flanneld\",\"--ip-masq\",\"--kube-subnet-mgr\"],\"env\":[{\"name\":\"POD_NAME\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.name\"}}},{\"name\":\"POD_NAMESPACE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.namespace\"}}},{\"name\":\"EVENT_QUEUE_DEPTH\",\"value\":\"5000\"}],\"image\":\"docker.io/flannel/flannel:v0.22.0\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"kube-flannel\",\"resources\":{\"limits\":{\"cpu\":\"300m\",\"memory\":\"500M\"},\"requests\":{\"cpu\":\"150m\",\"memory\":\"64M\"}},\"securityContext\":{\"capabilities\":{\"add\":[\"NET_ADMIN\",\"NET_RAW\"]},\"privileged\":false},\"volumeMounts\":[{\"mountPath\":\"/run/flannel\",\"name\":\"run\"},{\"mountPath\":\"/etc/kube-flannel/\",\"name\":\"flannel-cfg\"},{\"mountPath\":\"/run/xtables.lock\",\"name\":\"xtables-lock\"}]}],\"dnsPolicy\":\"ClusterFirstWithHostNet\",\"hostNetwork\":true,\"initContainers\":[{\"args\":[\"-f\",\"/flannel\",\"/opt/cni/bin/flannel\"],\"command\":[\"cp\"],\"image\":\"docker.io/flannel/flannel-cni-plugin:v1.1.2\",\"name\":\"install-cni-plugin\",\"volumeMounts\":[{\"mountPath\":\"/opt/cni/bin\",\"name\":\"cni-plugin\"}]},{\"args\":[\"-f\",\"/etc/kube-flannel/cni-conf.json\",\"/etc/cni/net.d/10-flannel.conflist\"],\"command\":[\"cp\"],\"image\":\"docker.io/flannel/flannel:v0.22.0\",\"name\":\"install-cni\",\"volumeMounts\":[{\"mountPath\":\"/etc/cni/net.d\",\"name\":\"cni\"},{\"mountPath\":\"/etc/kube-flannel/\",\"name\":\"flannel-cfg\"}]}],\"priorityClassName\":\"system-node-critical\",\"serviceAccountName\":\"flannel\",\"tolerations\":[{\"operator\":\"Exists\"}],\"volumes\":[{\"hostPath\":{\"path\":\"/run/flannel\"},\"name\":\"run\"},{\"hostPath\":{\"path\":\"/etc/cni/net.d\"},\"name\":\"cni\"},{\"configMap\":{\"name\":\"kube-flannel-cfg\"},\"name\":\"flannel-cfg\"},{\"hostPath\":{\"path\":\"/run/xtables.lock\",\"type\":\"FileOrCreate\"},\"name\":\"xtables-lock\"},{\"hostPath\":{\"path\":\"/opt/cni/bin\"},\"name\":\"cni-plugin\"}]}},\"updateStrategy\":{\"rollingUpdate\":{\"maxUnavailable\":\"20%\"},\"type\":\"RollingUpdate\"}}"
creationTimestamp: "2024-09-25T14:00:36Z"
generation: 3
labels:
app: flannel
tier: node
name: kube-flannel-ds-arm64
namespace: kube-system
resourceVersion: "112005"
uid: 983de6fd-bdff-40e6-a0c5-70a2800bab52
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
app: flannel
template:
metadata:
creationTimestamp: null
labels:
app: flannel
tier: node
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
- key: kubernetes.io/arch
operator: In
values:
- arm64
containers:
- command:
- /opt/bin/flanneld
- --ip-masq
- --kube-subnet-mgr
- --kubeconfig-file=/root/.kube/config
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: EVENT_QUEUE_DEPTH
value: "5000"
image: docker.io/flannel/flannel:v0.22.0
imagePullPolicy: IfNotPresent
name: kube-flannel
resources:
limits:
cpu: 300m
memory: 500M
requests:
cpu: 150m
memory: 64M
securityContext:
capabilities:
add:
- NET_ADMIN
- NET_RAW
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /run/flannel
name: run
- mountPath: /etc/kube-flannel/
name: flannel-cfg
- mountPath: /run/xtables.lock
name: xtables-lock
- mountPath: /root/.kube/config
name: kubeconfig
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
initContainers:
- args:
- -f
- /flannel
- /opt/cni/bin/flannel
command:
- cp
image: docker.io/flannel/flannel-cni-plugin:v1.1.2
imagePullPolicy: IfNotPresent
name: install-cni-plugin
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /opt/cni/bin
name: cni-plugin
- args:
- -f
- /etc/kube-flannel/cni-conf.json
- /etc/cni/net.d/10-flannel.conflist
command:
- cp
image: docker.io/flannel/flannel:v0.22.0
imagePullPolicy: IfNotPresent
name: install-cni
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/cni/net.d
name: cni
- mountPath: /etc/kube-flannel/
name: flannel-cfg
priorityClassName: system-node-critical
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: flannel
serviceAccountName: flannel
terminationGracePeriodSeconds: 30
tolerations:
- operator: Exists
volumes:
- hostPath:
path: /run/flannel
type: ""
name: run
- hostPath:
path: /etc/cni/net.d
type: ""
name: cni
- configMap:
defaultMode: 420
name: kube-flannel-cfg
name: flannel-cfg
- hostPath:
path: /run/xtables.lock
type: FileOrCreate
name: xtables-lock
- hostPath:
path: /opt/cni/bin
type: ""
name: cni-plugin
- hostPath:
path: /home/msevinc/.kube/config
type: ""
name: kubeconfig
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 20%
type: RollingUpdate
status:
currentNumberScheduled: 4
desiredNumberScheduled: 4
numberAvailable: 4
numberMisscheduled: 0
numberReady: 4
observedGeneration: 3
updatedNumberScheduled: 4