canonical/microk8s

invalid configuration: memorySwap.swapBehavior "UnlimitedSwap"

koss822 opened this issue · 2 comments

Summary

(error: invalid configuration: memorySwap.swapBehavior "UnlimitedSwap" must be one of: "", "LimitedSwap" or "NoSwap", path: &TypeMeta{Kind:,APIVersion:,})

What Should Happen Instead?

but according to https://kubernetes.io/blog/2023/08/24/swap-linux-beta/ it is a valid option

Reproduction Steps

/var/snap/microk8s/7232/args/kubelet
--config=/var/snap/microk8s/current/args/kubelet.yml

/var/snap/microk8s/7232/args/kubelet.yml
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
ImageMaximumGCAge: 240h
memorySwap:
swapBehavior: UnlimitedSwap

Introspection Report

inspection-report-20241014_135827.tar.gz

Are you interested in contributing with a fix?

no

thanks, missed this one