File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
staging/src/k8s.io/kubelet/config/v1beta1 Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,6 @@ type KubeletConfiguration struct {
482
482
// +optional
483
483
PodCIDR string `json:"podCIDR,omitempty"`
484
484
// PodPidsLimit is the maximum number of pids in any pod.
485
- // Requires the SupportPodPidsLimit feature gate to be enabled.
486
485
// Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
487
486
// lowering it may prevent container processes from forking after the change.
488
487
// Default: -1
Original file line number Diff line number Diff line change @@ -120,11 +120,8 @@ func runPodPidsLimitTests(f *framework.Framework) {
120
120
// Serial because the test updates kubelet configuration.
121
121
var _ = SIGDescribe ("PodPidsLimit [Serial]" , func () {
122
122
f := framework .NewDefaultFramework ("pids-limit-test" )
123
- ginkgo .Context ("With config updated with pids feature enabled " , func () {
123
+ ginkgo .Context ("With config updated with pids limits " , func () {
124
124
tempSetCurrentKubeletConfig (f , func (initialConfig * kubeletconfig.KubeletConfiguration ) {
125
- if initialConfig .FeatureGates == nil {
126
- initialConfig .FeatureGates = make (map [string ]bool )
127
- }
128
125
initialConfig .PodPidsLimit = int64 (1024 )
129
126
})
130
127
runPodPidsLimitTests (f )
You can’t perform that action at this time.
0 commit comments