Skip to content

Commit 776d934

Browse files
harchek8s-publishing-bot
authored andcommitted
Kubelet option to disable cgroup v1 support
Signed-off-by: Harshal Patil <[email protected]> Kubernetes-commit: fff2b7f5666d3bb9fadd2d3731b6072c83f0c2a8
1 parent de521a3 commit 776d934

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

config/v1beta1/types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,14 @@ type KubeletConfiguration struct {
851851
// If not specified, the value in containerRuntimeEndpoint is used.
852852
// +optional
853853
ImageServiceEndpoint string `json:"imageServiceEndpoint,omitempty"`
854+
855+
// FailCgroupV1 prevents the kubelet from starting on hosts
856+
// that use cgroup v1. By default, this is set to 'false', meaning
857+
// the kubelet is allowed to start on cgroup v1 hosts unless this
858+
// option is explicitly enabled.
859+
// Default: false
860+
// +optional
861+
FailCgroupV1 *bool `json:"failCgroupV1,omitempty"`
854862
}
855863

856864
type KubeletAuthorizationMode string

config/v1beta1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)