Skip to content

Commit 1542bed

Browse files
committed
improve example for kubelet config file
1 parent d7da6f8 commit 1542bed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ Here is an example of what this file might look like:
3030
```
3131
apiVersion: kubelet.config.k8s.io/v1beta1
3232
kind: KubeletConfiguration
33+
address: "192.168.0.8",
34+
port: 20250,
35+
serializeImagePulls: false,
3336
evictionHard:
3437
memory.available: "200Mi"
3538
```
3639

37-
In the example, the Kubelet is configured to evict Pods when available memory drops below 200Mi.
40+
In the example, the Kubelet is configured to serve on IP address 192.168.0.8 and port 20250, pull images in parallel,
41+
and evict Pods when available memory drops below 200Mi.
3842
All other Kubelet configuration values are left at their built-in defaults, unless overridden
3943
by flags. Command line flags which target the same value as a config file will override that value.
4044

0 commit comments

Comments
 (0)