aws / karpenter-provider-aws

Karpenter is a Kubernetes Node Autoscaler built for flexibility, performance, and simplicity.
https://karpenter.sh
Apache License 2.0
6.16k stars 849 forks source link

Can not update settings.kubernetes.pod-pids-limit by userData in Bottlerocket #6350

Open gaussye opened 3 weeks ago

gaussye commented 3 weeks ago

Description

What problem are you trying to solve? I want to update the pod-pids-limit by useData in Bottlerocket, but it does to take effect. amiFamily: Bottlerocket userData: | [settings.kubernetes] "pod-pids-limit" = 9999

cat /etc/kubernetes/kubelet/config kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1

snippet

podPidsLimit: 1048576

snippet

How important is this feature to you?

jmdeal commented 3 weeks ago

Karpenter currently only supports a subset of the Bottlerocket configuration, there's another open issue, #6259, which proposes either automatically generating a new schema for each Karpenter release, or only only defining the values Karpenter needs to reason about and passing the remaining values through untouched. We would accept a PR to add support this specific field in the interim though.