Merge pull request #35340 from kubernetes/revert-35095-patch-1

Remove commas from kubelet configuration example and add suggested changes.
This commit is contained in:
Kubernetes Prow Robot
2022-07-26 04:31:10 -07:00
committed by GitHub
@@ -27,14 +27,7 @@ The configuration file must be a JSON or YAML representation of the parameters
in this struct. Make sure the Kubelet has read permissions on the file. in this struct. Make sure the Kubelet has read permissions on the file.
Here is an example of what this file might look like: Here is an example of what this file might look like:
``` ```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: kubelet-config-1.20
namespace: kube-system
data:
kubelet: |
apiVersion: kubelet.config.k8s.io/v1beta1 apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration kind: KubeletConfiguration
address: "192.168.0.8" address: "192.168.0.8"
@@ -42,8 +35,6 @@ data:
serializeImagePulls: false serializeImagePulls: false
evictionHard: evictionHard:
memory.available: "200Mi" memory.available: "200Mi"
~
``` ```
In the example, the Kubelet is configured to serve on IP address 192.168.0.8 and port 20250, pull images in parallel, In the example, the Kubelet is configured to serve on IP address 192.168.0.8 and port 20250, pull images in parallel,