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
334efc74
Unverified
Commit
334efc74
authored
Apr 16, 2019
by
Erik Wilson
Committed by
GitHub
Apr 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #358 from erikwilson/0.3.0-to-0.4.0
Update readme & docker-compose for 0.4.0
parents
7822549f
0beda77d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+2
-2
docker-compose-agent.yml
docker-compose-agent.yml
+1
-1
docker-compose.yml
docker-compose.yml
+2
-2
No files found.
README.md
View file @
334efc74
...
@@ -230,9 +230,9 @@ serves as an example of how to run k3s from Docker. To run from `docker-compose
...
@@ -230,9 +230,9 @@ serves as an example of how to run k3s from Docker. To run from `docker-compose
To run the agent only in Docker use the following
`docker-compose-agent.yml`
is in the root of this repo that
To run the agent only in Docker use the following
`docker-compose-agent.yml`
is in the root of this repo that
serves as an example of how to run k3s agent from Docker. Alternatively the Docker run command can also be used;
serves as an example of how to run k3s agent from Docker. Alternatively the Docker run command can also be used;
sudo docker run -d --tmpfs /run --tmpfs /var/run -e K3S_URL=${SERVER_URL} -e K3S_TOKEN=${NODE_TOKEN} --privileged rancher/k3s:v0.
3
.0
sudo docker run -d --tmpfs /run --tmpfs /var/run -e K3S_URL=${SERVER_URL} -e K3S_TOKEN=${NODE_TOKEN} --privileged rancher/k3s:v0.
4
.0
sudo docker run -d --tmpfs /run --tmpfs /var/run -e K3S_URL=https://k3s.example.com:6443 -e K3S_TOKEN=K13849a67fc385fd3c0fa6133a8649d9e717b0258b3b09c87ffc33dae362c12d8c0::node:2e373dca319a0525745fd8b3d8120d9c --privileged rancher/k3s:v0.
3
.0
sudo docker run -d --tmpfs /run --tmpfs /var/run -e K3S_URL=https://k3s.example.com:6443 -e K3S_TOKEN=K13849a67fc385fd3c0fa6133a8649d9e717b0258b3b09c87ffc33dae362c12d8c0::node:2e373dca319a0525745fd8b3d8120d9c --privileged rancher/k3s:v0.
4
.0
Hyperkube
Hyperkube
...
...
docker-compose-agent.yml
View file @
334efc74
version
:
'
3'
version
:
'
3'
services
:
services
:
node
:
node
:
image
:
rancher/k3s:v0.
3
.0
image
:
rancher/k3s:v0.
4
.0
tmpfs
:
tmpfs
:
-
/run
-
/run
-
/var/run
-
/var/run
...
...
docker-compose.yml
View file @
334efc74
version
:
'
3'
version
:
'
3'
services
:
services
:
server
:
server
:
image
:
rancher/k3s:v0.
3
.0
image
:
rancher/k3s:v0.
4
.0
command
:
server --disable-agent
command
:
server --disable-agent
environment
:
environment
:
-
K3S_CLUSTER_SECRET=somethingtotallyrandom
-
K3S_CLUSTER_SECRET=somethingtotallyrandom
...
@@ -15,7 +15,7 @@ services:
...
@@ -15,7 +15,7 @@ services:
-
6443:6443
-
6443:6443
node
:
node
:
image
:
rancher/k3s:v0.
3
.0
image
:
rancher/k3s:v0.
4
.0
tmpfs
:
tmpfs
:
-
/run
-
/run
-
/var/run
-
/var/run
...
...
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