Skip to content

Is ImageMaximumGCAge supported through the configuration system? #10125

Answered by brandond
Mixih asked this question in Q&A
Discussion options

You must be logged in to vote

You'd want to start k3s with --kubelet-arg=config=/etc/rancher/k3s/kubelet-config.yaml and then create that configuration file:

# /etc/rancher/k3s/kubelet-config.yaml
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
imageMaximumGCAge: 1d
featureGates:
  ImageMaximumGCAge: true

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Mixih
Comment options

@brandond
Comment options

@Mixih
Comment options

Answer selected by brandond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants