Set the correct taint value for the masters.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -134,7 +134,7 @@ services: | ... | @@ -134,7 +134,7 @@ services: |
134 | "server", | 134 | "server", |
135 | "--with-node-id", | 135 | "--with-node-id", |
136 | "--disable=traefik,coredns", | 136 | "--disable=traefik,coredns", |
137 | "--node-taint", "master=true:NoSchedule", | 137 | "--node-taint", "node-role.kubernetes.io/master=true:NoSchedule", |
138 | "--datastore-endpoint=http://etcd1:2379", | 138 | "--datastore-endpoint=http://etcd1:2379", |
139 | "--cluster-init", | 139 | "--cluster-init", |
140 | ] | 140 | ] |
... | @@ -145,7 +145,7 @@ services: | ... | @@ -145,7 +145,7 @@ services: |
145 | "server", | 145 | "server", |
146 | "--with-node-id", | 146 | "--with-node-id", |
147 | "--disable=traefik,coredns", | 147 | "--disable=traefik,coredns", |
148 | "--node-taint", "master=true:NoSchedule", | 148 | "--node-taint", "node-role.kubernetes.io/master=true:NoSchedule", |
149 | "--datastore-endpoint=http://etcd2:2379", | 149 | "--datastore-endpoint=http://etcd2:2379", |
150 | "--server=http://k3s-master-1:6443", | 150 | "--server=http://k3s-master-1:6443", |
151 | ] | 151 | ] |
... | @@ -156,7 +156,7 @@ services: | ... | @@ -156,7 +156,7 @@ services: |
156 | "server", | 156 | "server", |
157 | "--with-node-id", | 157 | "--with-node-id", |
158 | "--disable=traefik,coredns", | 158 | "--disable=traefik,coredns", |
159 | "--node-taint", "master=true:NoSchedule", | 159 | "--node-taint", "node-role.kubernetes.io/master=true:NoSchedule", |
160 | "--datastore-endpoint=http://etcd3:2379", | 160 | "--datastore-endpoint=http://etcd3:2379", |
161 | "--server=http://k3s-master-1:6443", | 161 | "--server=http://k3s-master-1:6443", |
162 | ] | 162 | ] | ... | ... |
-
Please register or sign in to post a comment