Skip to content

Commit

Permalink
Configure kubelet feature gates
Browse files Browse the repository at this point in the history
With minikube this is set in the profile, and configured via
--feature-gates flag. With lima we can configure this directly in
KubeletConfiguration. Currently the feature gates are hard coded in the
configuration for all cluster. We can configure based on the profile
later if needed.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Sep 13, 2024
1 parent b17256a commit 056e6ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/drenv/providers/lima/k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ provision:
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: systemd
featureGates:
StatefulSetAutoDeletePVC: true
EOF
kubeadm init --config kubeadm-config.yaml
# Installing a Pod network add-on
Expand Down

0 comments on commit 056e6ab

Please sign in to comment.