@@ -90,6 +90,13 @@ apiServerExtraVolumes:
90
90
# so we need to ensure the cert is valid for localhost so we can talk
91
91
# to the cluster after rewriting the kubeconfig to point to localhost
92
92
apiServerCertSANs: [localhost]
93
+ kubeletConfiguration:
94
+ baseConfig:
95
+ evictionHard:
96
+ memory.available: "1"
97
+ nodefs.available: "0%"
98
+ nodefs.inodesFree: "0%"
99
+ imagefs.available: "0%"
93
100
`
94
101
95
102
// ConfigTemplateAlphaV3 is the kubadm config template for API version v1alpha3
@@ -131,6 +138,11 @@ kind: JoinConfiguration
131
138
# no-op entry that exists soley so it can be patched
132
139
apiVersion: kubelet.config.k8s.io/v1beta1
133
140
kind: KubeletConfiguration
141
+ evictionHard:
142
+ memory.available: "1"
143
+ nodefs.available: "0%"
144
+ nodefs.inodesFree: "0%"
145
+ imagefs.available: "0%"
134
146
---
135
147
# no-op entry that exists soley so it can be patched
136
148
apiVersion: kubeproxy.config.k8s.io/v1alpha1
@@ -169,6 +181,11 @@ kind: JoinConfiguration
169
181
# no-op entry that exists soley so it can be patched
170
182
apiVersion: kubelet.config.k8s.io/v1beta1
171
183
kind: KubeletConfiguration
184
+ evictionHard:
185
+ memory.available: "1"
186
+ nodefs.available: "0%"
187
+ nodefs.inodesFree: "0%"
188
+ imagefs.available: "0%"
172
189
---
173
190
# no-op entry that exists soley so it can be patched
174
191
apiVersion: kubeproxy.config.k8s.io/v1alpha1
0 commit comments