fix: upgrade k3s version
This commit is contained in:
parent
a48a8a97a1
commit
319e3065f0
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
server:
|
server:
|
||||||
image: rancher/k3s:v1.17.2-k3s1
|
image: rancher/k3s:v1.18.20-k3s1
|
||||||
command: server --disable-agent --no-deploy coredns --no-deploy servicelb --no-deploy traefik --no-deploy local-storage --no-deploy metrics-server --log /output/k3s.log --kube-proxy-arg=conntrack-max-per-core=0 --kube-proxy-arg=conntrack-max-per-core=0
|
command: server --disable-agent --no-deploy coredns --no-deploy servicelb --no-deploy traefik --no-deploy local-storage --no-deploy metrics-server --log /output/k3s.log
|
||||||
environment:
|
environment:
|
||||||
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
||||||
- K3S_KUBECONFIG_OUTPUT=/output/kubeconfig.yaml
|
- K3S_KUBECONFIG_OUTPUT=/output/kubeconfig.yaml
|
||||||
|
@ -12,9 +12,8 @@ server:
|
||||||
- 6443:6443
|
- 6443:6443
|
||||||
|
|
||||||
node:
|
node:
|
||||||
image: rancher/k3s:v1.17.2-k3s1
|
image: rancher/k3s:v1.18.20-k3s1
|
||||||
privileged: true
|
privileged: true
|
||||||
command: agent --kube-proxy-arg=conntrack-max-per-core=0 --kube-proxy-arg=conntrack-max-per-core=0
|
|
||||||
links:
|
links:
|
||||||
- server
|
- server
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue