From 877b73430bd09a8d7dc26684f9252fd0599c825c Mon Sep 17 00:00:00 2001 From: Kevin Hannon Date: Fri, 12 Jan 2024 14:42:51 -0500 Subject: [PATCH] add no swap as the default option for swap Kubernetes-commit: 6a4e19a4ec9e11b77c9357375df4cadd8229836f --- config/v1beta1/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/v1beta1/types.go b/config/v1beta1/types.go index 7a920e1e..b17d0a7a 100644 --- a/config/v1beta1/types.go +++ b/config/v1beta1/types.go @@ -954,8 +954,8 @@ type ShutdownGracePeriodByPodPriority struct { type MemorySwapConfiguration struct { // swapBehavior configures swap memory available to container workloads. May be one of - // "", "LimitedSwap": workload combined memory and swap usage cannot exceed pod memory limit - // "UnlimitedSwap": workloads can use unlimited swap, up to the allocatable limit. + // "", "NoSwap": workloads can not use swap, default option. + // "LimitedSwap": workload swap usage is limited. The swap limit is proportionate to the container's memory request. // +featureGate=NodeSwap // +optional SwapBehavior string `json:"swapBehavior,omitempty"`