Skip to content

Commit

Permalink
Kubelet option to disable cgroup v1 support
Browse files Browse the repository at this point in the history
Signed-off-by: Harshal Patil <harpatil@redhat.com>

Kubernetes-commit: fff2b7f5666d3bb9fadd2d3731b6072c83f0c2a8
  • Loading branch information
harche authored and k8s-publishing-bot committed Jun 17, 2024
1 parent de521a3 commit 776d934
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,14 @@ type KubeletConfiguration struct {
// If not specified, the value in containerRuntimeEndpoint is used.
// +optional
ImageServiceEndpoint string `json:"imageServiceEndpoint,omitempty"`

// FailCgroupV1 prevents the kubelet from starting on hosts
// that use cgroup v1. By default, this is set to 'false', meaning
// the kubelet is allowed to start on cgroup v1 hosts unless this
// option is explicitly enabled.
// Default: false
// +optional
FailCgroupV1 *bool `json:"failCgroupV1,omitempty"`
}

type KubeletAuthorizationMode string
Expand Down
5 changes: 5 additions & 0 deletions config/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 776d934

Please sign in to comment.