Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
814a3037
Commit
814a3037
authored
Oct 23, 2017
by
Ryan Phillips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change alpha-endpoint-reconciler-type to endpoint-reconciler-type
* Putting 'experimental' or 'alpha' into names has been known to cause issues during promotion
parent
1e67feac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
options.go
cmd/kube-apiserver/app/options/options.go
+1
-1
options_test.go
cmd/kube-apiserver/app/options/options_test.go
+1
-1
No files found.
cmd/kube-apiserver/app/options/options.go
View file @
814a3037
...
@@ -166,7 +166,7 @@ func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet) {
...
@@ -166,7 +166,7 @@ func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet) {
fs
.
IntVar
(
&
s
.
MasterCount
,
"apiserver-count"
,
s
.
MasterCount
,
fs
.
IntVar
(
&
s
.
MasterCount
,
"apiserver-count"
,
s
.
MasterCount
,
"The number of apiservers running in the cluster, must be a positive number."
)
"The number of apiservers running in the cluster, must be a positive number."
)
fs
.
StringVar
(
&
s
.
EndpointReconcilerType
,
"
alpha-
endpoint-reconciler-type"
,
string
(
s
.
EndpointReconcilerType
),
fs
.
StringVar
(
&
s
.
EndpointReconcilerType
,
"endpoint-reconciler-type"
,
string
(
s
.
EndpointReconcilerType
),
"Use an endpoint reconciler ("
+
strings
.
Join
(
reconcilers
.
AllTypes
.
Names
(),
", "
)
+
")"
)
"Use an endpoint reconciler ("
+
strings
.
Join
(
reconcilers
.
AllTypes
.
Names
(),
", "
)
+
")"
)
// See #14282 for details on how to test/try this option out.
// See #14282 for details on how to test/try this option out.
...
...
cmd/kube-apiserver/app/options/options_test.go
View file @
814a3037
...
@@ -46,7 +46,6 @@ func TestAddFlags(t *testing.T) {
...
@@ -46,7 +46,6 @@ func TestAddFlags(t *testing.T) {
"--admission-control-config-file=/admission-control-config"
,
"--admission-control-config-file=/admission-control-config"
,
"--advertise-address=192.168.10.10"
,
"--advertise-address=192.168.10.10"
,
"--allow-privileged=false"
,
"--allow-privileged=false"
,
"--alpha-endpoint-reconciler-type="
+
string
(
reconcilers
.
MasterCountReconcilerType
),
"--anonymous-auth=false"
,
"--anonymous-auth=false"
,
"--apiserver-count=5"
,
"--apiserver-count=5"
,
"--audit-log-maxage=11"
,
"--audit-log-maxage=11"
,
...
@@ -72,6 +71,7 @@ func TestAddFlags(t *testing.T) {
...
@@ -72,6 +71,7 @@ func TestAddFlags(t *testing.T) {
"--enable-aggregator-routing=true"
,
"--enable-aggregator-routing=true"
,
"--enable-logs-handler=false"
,
"--enable-logs-handler=false"
,
"--enable-swagger-ui=true"
,
"--enable-swagger-ui=true"
,
"--endpoint-reconciler-type="
+
string
(
reconcilers
.
MasterCountReconcilerType
),
"--etcd-quorum-read=false"
,
"--etcd-quorum-read=false"
,
"--etcd-keyfile=/var/run/kubernetes/etcd.key"
,
"--etcd-keyfile=/var/run/kubernetes/etcd.key"
,
"--etcd-certfile=/var/run/kubernetes/etcdce.crt"
,
"--etcd-certfile=/var/run/kubernetes/etcdce.crt"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment