Skip to content

Commit fdf2253

Browse files
committed
KEP-3866 kube-proxy nftables mode to beta
1 parent 2f2c1fb commit fdf2253

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/features/kube_features.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ const (
525525
// owner: @danwinship
526526
// kep: https://kep.k8s.io/3866
527527
// alpha: v1.29
528+
// beta: v1.31
528529
//
529530
// Allows running kube-proxy with `--mode nftables`.
530531
NFTablesProxyMode featuregate.Feature = "NFTablesProxyMode"
@@ -1131,7 +1132,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
11311132

11321133
NewVolumeManagerReconstruction: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.32
11331134

1134-
NFTablesProxyMode: {Default: false, PreRelease: featuregate.Alpha},
1135+
NFTablesProxyMode: {Default: true, PreRelease: featuregate.Beta},
11351136

11361137
NodeLogQuery: {Default: false, PreRelease: featuregate.Beta},
11371138

pkg/proxy/apis/config/validation/validation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ func TestValidateKubeProxyConntrackConfiguration(t *testing.T) {
827827
func TestValidateProxyMode(t *testing.T) {
828828
newPath := field.NewPath("KubeProxyConfiguration")
829829
successCases := []kubeproxyconfig.ProxyMode{""}
830-
expectedNonExistentErrorMsg := "must be iptables, ipvs or blank (blank means the best-available proxy [currently iptables])"
830+
expectedNonExistentErrorMsg := "must be iptables, ipvs, nftables or blank (blank means the best-available proxy [currently iptables])"
831831

832832
if runtime.GOOS == "windows" {
833833
successCases = append(successCases, kubeproxyconfig.ProxyModeKernelspace)

0 commit comments

Comments
 (0)