Skip to content

Commit 814a303

Browse files
author
Ryan Phillips
committed
change alpha-endpoint-reconciler-type to endpoint-reconciler-type
* Putting 'experimental' or 'alpha' into names has been known to cause issues during promotion
1 parent 1e67fea commit 814a303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/kube-apiserver/app/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet) {
166166
fs.IntVar(&s.MasterCount, "apiserver-count", s.MasterCount,
167167
"The number of apiservers running in the cluster, must be a positive number.")
168168

169-
fs.StringVar(&s.EndpointReconcilerType, "alpha-endpoint-reconciler-type", string(s.EndpointReconcilerType),
169+
fs.StringVar(&s.EndpointReconcilerType, "endpoint-reconciler-type", string(s.EndpointReconcilerType),
170170
"Use an endpoint reconciler ("+strings.Join(reconcilers.AllTypes.Names(), ", ")+")")
171171

172172
// See #14282 for details on how to test/try this option out.

cmd/kube-apiserver/app/options/options_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func TestAddFlags(t *testing.T) {
4646
"--admission-control-config-file=/admission-control-config",
4747
"--advertise-address=192.168.10.10",
4848
"--allow-privileged=false",
49-
"--alpha-endpoint-reconciler-type=" + string(reconcilers.MasterCountReconcilerType),
5049
"--anonymous-auth=false",
5150
"--apiserver-count=5",
5251
"--audit-log-maxage=11",
@@ -72,6 +71,7 @@ func TestAddFlags(t *testing.T) {
7271
"--enable-aggregator-routing=true",
7372
"--enable-logs-handler=false",
7473
"--enable-swagger-ui=true",
74+
"--endpoint-reconciler-type=" + string(reconcilers.MasterCountReconcilerType),
7575
"--etcd-quorum-read=false",
7676
"--etcd-keyfile=/var/run/kubernetes/etcd.key",
7777
"--etcd-certfile=/var/run/kubernetes/etcdce.crt",

0 commit comments

Comments
 (0)