You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The minor version of Kubernetes to install. The plain `kubernetes_version` is used to pin an apt package version on Debian, and as the Kubernetes version passed into the `kubeadm init` command (see `kubernetes_version_kubeadm`). The `kubernetes_version_rhel_package` variable must be a specific Kubernetes release, and is used to pin the version on Red Hat / CentOS servers.
35
35
36
36
```yaml
37
-
kubernetes_role: master
37
+
kubernetes_role: control_plane
38
38
```
39
39
40
-
Whether the particular server will serve as a Kubernetes `master` (default) or `node`. The master will have `kubeadm init` run on it to intialize the entire K8s control plane, while `node`s will have `kubeadm join` run on them to join them to the `master`.
40
+
Whether the particular server will serve as a Kubernetes `control_plane` (default) or `node`. The control plane will have `kubeadm init` run on it to intialize the entire K8s control plane, while `node`s will have `kubeadm join` run on them to join them to the `control_plane`.
41
41
42
42
### Variables to configure kubeadm and kubelet with `kubeadm init` through a config file (recommended)
43
43
@@ -109,10 +109,10 @@ Extra args to pass to the generated `kubeadm join` command during K8s node initi
109
109
### Additional variables
110
110
111
111
```yaml
112
-
kubernetes_allow_pods_on_master: true
112
+
kubernetes_allow_pods_on_control_plane: true
113
113
```
114
114
115
-
Whether to remove the taint that denies pods from being deployed to the Kubernetes master. If you have a single-node cluster, this should definitely be `True`. Otherwise, set to `False` if you want a dedicated Kubernetes master which doesn't run any other pods.
115
+
Whether to remove the taint that denies pods from being deployed to the Kubernetes control plane. If you have a single-node cluster, this should definitely be `True`. Otherwise, set to `False` if you want a dedicated Kubernetes control plane which doesn't run any other pods.
Options passed to `kubeadm init` when initializing the Kubernetes master. The `kubernetes_apiserver_advertise_address` defaults to `ansible_default_ipv4.address` if it's left empty.
140
+
Options passed to `kubeadm init` when initializing the Kubernetes control plane. The `kubernetes_apiserver_advertise_address` defaults to `ansible_default_ipv4.address` if it's left empty.
141
141
142
142
```yaml
143
143
kubernetes_apt_release_channel: main
@@ -177,25 +177,25 @@ None.
177
177
178
178
## Example Playbooks
179
179
180
-
### Single node (master-only) cluster
180
+
### Single node (control-plane-only) cluster
181
181
182
182
```yaml
183
183
- hosts: all
184
184
185
185
vars:
186
-
kubernetes_allow_pods_on_master: true
186
+
kubernetes_allow_pods_on_control_plane: true
187
187
188
188
roles:
189
189
- geerlingguy.docker
190
190
- geerlingguy.kubernetes
191
191
```
192
192
193
-
### Two or more nodes (single master) cluster
193
+
### Two or more nodes (single control-plane) cluster
194
194
195
-
Master inventory vars:
195
+
Control plane inventory vars:
196
196
197
197
```yaml
198
-
kubernetes_role: "master"
198
+
kubernetes_role: "control_plane"
199
199
```
200
200
201
201
Node(s) inventory vars:
@@ -210,14 +210,14 @@ Playbook:
210
210
- hosts: all
211
211
212
212
vars:
213
-
kubernetes_allow_pods_on_master: true
213
+
kubernetes_allow_pods_on_control_plane: true
214
214
215
215
roles:
216
216
- geerlingguy.docker
217
217
- geerlingguy.kubernetes
218
218
```
219
219
220
-
Then, log into the Kubernetes master, and run `kubectl get nodes` as root, and you should see a list of all the servers.
220
+
Then, log into the Kubernetes control plane, and run `kubectl get nodes` as root, and you should see a list of all the servers.
0 commit comments