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
13765b77
Commit
13765b77
authored
Apr 26, 2019
by
galal-hussein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add extra args documentation
parent
39e2e45c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
README.md
README.md
+26
-1
No files found.
README.md
View file @
13765b77
...
...
@@ -80,7 +80,7 @@ flag
At this point, you can run the agent as a separate process or not run it on this node at all.
If you encounter an error like
`"stream server error: listen tcp: lookup some-host on X.X.X.X:53: no such host"`
when starting k3s please ensure
`/etc/hosts`
contains your current hostname (output of
`hostname`
),
when starting k3s please ensure
`/etc/hosts`
contains your current hostname (output of
`hostname`
),
set to a 127.x.x.x address. For example:
```
127.0.1.1 myhost
...
...
@@ -180,6 +180,31 @@ helper scripts
To build the full release binary run
`make`
and that will create
`./dist/artifacts/k3s`
Customizing components
----------------------
As of v0.3.0 any of the following processes can be customized with extra flags:
-
kube-apiserver (server)
-
kube-controller-manager (server)
-
kube-scheduler (server)
-
kubelet (agent)
-
kube-proxy (agent)
Adding extra argument can be done by passing the following flags to server or agent:
```
--kube-apiserver-arg value
--kube-scheduler-arg value
--kube-controller-arg value
--kubelet-arg value
--kube-proxy-arg value
```
For example to add the following arguments
`-v=9`
and
`log-file=/tmp/kubeapi.log`
to the kube-apiserver, you should pass the following:
```
k3s server --kube-apiserver-arg v=9 --kube-apiserver-arg log-file=/tmp/kubeapi.log
```
Uninstalling server
-----------------
...
...
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