Adds suggested changes to #29663

Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
Abhibhaw Asthana
2021-09-25 01:50:09 +05:30
committed by GitHub
parent a886ec620c
commit 8bc9488622
@@ -435,7 +435,10 @@ the kubelet, and the `--fail-swap-on` command line flag or `failSwapOn`
[configuration setting](/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
must be set to false.
{{< warning >}}When memory swap feature is turned on, kubernetes features that were written to tmps could be swapped to write to disk.{{< /warning >}}
{{< warning >}}
When the memory swap feature is turned on, Kubernetes data such as the content
of Secret objects that were written to tmpfs now could be swapped to disk.
{{< /warning >}}
A user can also optionally configure `memorySwap.swapBehavior` in order to
specify how a node will use swap memory. For example,