Skip to content

Commit

Permalink
refactor: cgroupsv2 bool can be defaulted (#331)
Browse files Browse the repository at this point in the history
* refactor: cgroupsv2 bool can be defaulted

* fix: ci lint
  • Loading branch information
Bryce-Soghigian authored May 8, 2024
1 parent 2beb773 commit e5d0914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/imagefamily/bootstrap/aksbootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ var (
KubenetTemplate: base64.StdEncoding.EncodeToString(kubenetTemplate), // s
ContainerdConfigContent: "", // kd
IsKata: false, // n
NeedsCgroupV2: true, // s only static for karpenter

}
)
Expand Down Expand Up @@ -448,7 +449,6 @@ func (a AKS) applyOptions(nbv *NodeBootstrapVariables) {
nbv.GPUDriverVersion = a.GPUDriverVersion
nbv.GPUImageSHA = a.GPUImageSHA
}
nbv.NeedsCgroupV2 = true
// merge and stringify labels
kubeletLabels := lo.Assign(kubeletNodeLabelsBase, a.Labels)
getAgentbakerGeneratedLabels(a.ResourceGroup, kubeletLabels)
Expand Down

0 comments on commit e5d0914

Please sign in to comment.