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
0f4f2eb0
Commit
0f4f2eb0
authored
Jun 11, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9617 from davidopp/master
Add a warning that setting --port flag to Kubelet breaks "kubectl log…
parents
b0f20d3f
b83a3295
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
server.go
cmd/kubelet/app/server.go
+4
-4
No files found.
cmd/kubelet/app/server.go
View file @
0f4f2eb0
...
...
@@ -186,10 +186,10 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs
.
DurationVar
(
&
s
.
FileCheckFrequency
,
"file-check-frequency"
,
s
.
FileCheckFrequency
,
"Duration between checking config files for new data"
)
fs
.
DurationVar
(
&
s
.
HTTPCheckFrequency
,
"http-check-frequency"
,
s
.
HTTPCheckFrequency
,
"Duration between checking http for new data"
)
fs
.
StringVar
(
&
s
.
ManifestURL
,
"manifest-url"
,
s
.
ManifestURL
,
"URL for accessing the container manifest"
)
fs
.
BoolVar
(
&
s
.
EnableServer
,
"enable-server"
,
s
.
EnableServer
,
"Enable the
info
server"
)
fs
.
Var
(
&
s
.
Address
,
"address"
,
"The IP address for the
info server
to serve on (set to 0.0.0.0 for all interfaces)"
)
fs
.
UintVar
(
&
s
.
Port
,
"port"
,
s
.
Port
,
"The port for the
info server to serve on"
)
fs
.
UintVar
(
&
s
.
ReadOnlyPort
,
"read-only-port"
,
s
.
ReadOnlyPort
,
"The read-only port for the
info server
to serve on (set to 0 to disable)"
)
fs
.
BoolVar
(
&
s
.
EnableServer
,
"enable-server"
,
s
.
EnableServer
,
"Enable the
Kubelet's
server"
)
fs
.
Var
(
&
s
.
Address
,
"address"
,
"The IP address for the
Kubelet
to serve on (set to 0.0.0.0 for all interfaces)"
)
fs
.
UintVar
(
&
s
.
Port
,
"port"
,
s
.
Port
,
"The port for the
Kubelet to serve on. Note that
\"
kubectl logs
\"
will not work if you set this flag."
)
// see #9325
fs
.
UintVar
(
&
s
.
ReadOnlyPort
,
"read-only-port"
,
s
.
ReadOnlyPort
,
"The read-only port for the
Kubelet
to serve on (set to 0 to disable)"
)
fs
.
StringVar
(
&
s
.
TLSCertFile
,
"tls-cert-file"
,
s
.
TLSCertFile
,
""
+
"File containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). "
+
"If --tls_cert_file and --tls_private_key_file are not provided, a self-signed certificate and key "
+
...
...
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