@@ -35,14 +35,22 @@ address: "192.168.0.8"
35
35
port : 20250
36
36
serializeImagePulls : false
37
37
evictionHard :
38
- memory.available : " 200Mi"
38
+ memory.available : " 100Mi"
39
+ nodefs.available : " 10%"
40
+ nodefs.inodesFree : " 5%"
41
+ imagefs.available : " 15%"
39
42
` ` `
40
43
41
- In the example, the kubelet is configured to serve on IP address 192.168.0.8 and port 20250, pull images in parallel,
42
- and evict Pods when available memory drops below 200Mi. Since only one of the four evictionHard thresholds is configured,
43
- other evictionHard thresholds are reset to 0 from their built-in defaults.
44
- All other kubelet configuration values are left at their built-in defaults, unless overridden
45
- by flags. Command line flags which target the same value as a config file will override that value.
44
+ In this example, the kubelet is configured with the following settings:
45
+
46
+ 1. ` address`: The kubelet will serve on IP address `192.168.0.8`.
47
+ 2. `port` : The kubelet will serve on port `20250`.
48
+ 3. `serializeImagePulls` : Image pulls will be done in parallel.
49
+ 4. `evictionHard` : The kubelet will evict Pods under one of the following conditions:
50
+ - When the node's available memory drops below 100MiB.
51
+ - When the node's main filesystem's available space is less than 10%.
52
+ - When the image filesystem's available space is less than 15%.
53
+ - When more than 95% of the node's main filesystem's inodes are in use.
46
54
47
55
{{< note >}}
48
56
In the example, by changing the default value of only one parameter for
@@ -51,6 +59,9 @@ will be set to zero. In order to provide custom values, you should provide all
51
59
the threshold values respectively.
52
60
{{< /note >}}
53
61
62
+ The `imagefs` is an optional filesystem that container runtimes use to store container
63
+ images and container writable layers.
64
+
54
65
# # Start a kubelet process configured via the config file
55
66
56
67
{{< note >}}
0 commit comments