mirror of https://github.com/k3s-io/k3s
commit
ffe0288b68
|
@ -1,4 +1,4 @@
|
||||||
k3s_version: v0.8.0
|
k3s_version: v0.8.1
|
||||||
ansible_user: debian
|
ansible_user: debian
|
||||||
systemd_dir: /etc/systemd/system
|
systemd_dir: /etc/systemd/system
|
||||||
master_ip: "{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}"
|
master_ip: "{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}"
|
||||||
|
|
|
@ -9,7 +9,7 @@ services:
|
||||||
- 2379:2379
|
- 2379:2379
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: rancher/k3s:v0.8.0
|
image: rancher/k3s:v0.8.1
|
||||||
command: server --disable-agent --bootstrap write
|
command: server --disable-agent --bootstrap write
|
||||||
environment:
|
environment:
|
||||||
- K3S_STORAGE_BACKEND=etcd3
|
- K3S_STORAGE_BACKEND=etcd3
|
||||||
|
@ -25,7 +25,7 @@ services:
|
||||||
- 6443:6443
|
- 6443:6443
|
||||||
|
|
||||||
server2:
|
server2:
|
||||||
image: rancher/k3s:v0.8.0
|
image: rancher/k3s:v0.8.1
|
||||||
command: server --disable-agent --bootstrap read
|
command: server --disable-agent --bootstrap read
|
||||||
# restart to wait for the bootstrap data prepared by the primary server
|
# restart to wait for the bootstrap data prepared by the primary server
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -38,7 +38,7 @@ services:
|
||||||
- 16443:6443
|
- 16443:6443
|
||||||
|
|
||||||
node:
|
node:
|
||||||
image: rancher/k3s:v0.8.0
|
image: rancher/k3s:v0.8.1
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /run
|
- /run
|
||||||
- /var/run
|
- /var/run
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: rancher/k3s:v0.8.0
|
image: rancher/k3s:v0.8.1
|
||||||
command: server --disable-agent
|
command: server --disable-agent
|
||||||
environment:
|
environment:
|
||||||
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
||||||
|
@ -15,7 +15,7 @@ services:
|
||||||
- 6443:6443
|
- 6443:6443
|
||||||
|
|
||||||
node:
|
node:
|
||||||
image: rancher/k3s:v0.8.0
|
image: rancher/k3s:v0.8.1
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /run
|
- /run
|
||||||
- /var/run
|
- /var/run
|
||||||
|
|
Loading…
Reference in New Issue