Skip to content

Commit 9f1bf2c

Browse files
authored
Merge pull request #35095 from bhangra/patch-1
Remove commas from kubelet configuration example
2 parents 1355669 + 1d94b16 commit 9f1bf2c

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

content/en/docs/tasks/administer-cluster/kubelet-config-file.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,22 @@ in this struct. Make sure the Kubelet has read permissions on the file.
2828

2929
Here is an example of what this file might look like:
3030
```
31-
apiVersion: kubelet.config.k8s.io/v1beta1
32-
kind: KubeletConfiguration
33-
address: "192.168.0.8",
34-
port: 20250,
35-
serializeImagePulls: false,
36-
evictionHard:
37-
memory.available: "200Mi"
31+
apiVersion: v1
32+
kind: ConfigMap
33+
metadata:
34+
name: kubelet-config-1.20
35+
namespace: kube-system
36+
data:
37+
kubelet: |
38+
apiVersion: kubelet.config.k8s.io/v1beta1
39+
kind: KubeletConfiguration
40+
address: "192.168.0.8"
41+
port: 20250
42+
serializeImagePulls: false
43+
evictionHard:
44+
memory.available: "200Mi"
45+
~
46+
3847
```
3948

4049
In the example, the Kubelet is configured to serve on IP address 192.168.0.8 and port 20250, pull images in parallel,

0 commit comments

Comments
 (0)