File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
keps/sig-node/2400-node-swap Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ poses low risk to Kubernetes clusters that will not enable swap.
299
299
300
300
We summarize the implementation plan as following:
301
301
302
- 1 . Add a feature gate ` NodeSwapEnabled ` to enable swap support.
302
+ 1 . Add a feature gate ` NodeSwap ` to enable swap support.
303
303
1 . Leave the default value of kubelet flag ` --fail-on-swap ` to ` true ` , to avoid
304
304
changing default behaviour.
305
305
1 . Introduce a new kubelet config parameter, ` MemorySwap ` , which configures how
@@ -336,7 +336,7 @@ type KubeletConfiguration struct {
336
336
metav1.TypeMeta
337
337
...
338
338
// Configure swap memory available to container workloads.
339
- // +featureGate=NodeSwapEnabled
339
+ // +featureGate=NodeSwap
340
340
// +optional
341
341
MemorySwap MemorySwapConfiguration
342
342
}
@@ -513,7 +513,7 @@ Pick one of these and delete the rest.
513
513
-->
514
514
515
515
- [x] Feature gate (also fill in values in ` kep.yaml ` )
516
- - Feature gate name: NodeSwapEnabled
516
+ - Feature gate name: NodeSwap
517
517
- Components depending on the feature gate: API Server, Kubelet
518
518
- [x] Other
519
519
- Describe the mechanism: ` --fail-swap-on=false ` flag for kubelet must also
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ milestone:
36
36
# The following PRR answers are required at alpha release
37
37
# List the feature gate name and the components for which it must be enabled
38
38
feature-gates :
39
- - name : NodeSwapEnabled
39
+ - name : NodeSwap
40
40
components :
41
41
- kube-apiserver
42
42
- kubelet
You can’t perform that action at this time.
0 commit comments