File tree 5 files changed +15
-8
lines changed
kubernetes/preinstall/tasks 5 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ The following tags are defined in playbooks:
118
118
| local-path-provisioner | Configure External provisioner: local-path |
119
119
| local-volume-provisioner | Configure External provisioner: local-volume |
120
120
| macvlan | Network plugin macvlan |
121
- | master (DEPRECATED) | Deprecated - see ` control-plane ` |
122
121
| metallb | Installing and configuring metallb |
123
122
| metrics_server | Configuring metrics_server |
124
123
| netchecker | Installing netchecker K8s app |
Original file line number Diff line number Diff line change 38
38
environment : " {{ proxy_disable_env }}"
39
39
roles :
40
40
- { role: kubespray_defaults }
41
- - { role: kubernetes/control-plane, tags: master }
41
+ - { role: kubernetes/control-plane, tags: control-plane }
42
42
- { role: kubernetes/client, tags: client }
43
43
- { role: kubernetes-apps/cluster_roles, tags: cluster-roles }
44
44
75
75
environment : " {{ proxy_disable_env }}"
76
76
roles :
77
77
- { role: kubespray_defaults }
78
- - { role: win_nodes/kubernetes_patch, tags: ["master ", "win_nodes"] }
78
+ - { role: win_nodes/kubernetes_patch, tags: ["control-plane ", "win_nodes"] }
79
79
80
80
- name : Install Kubernetes apps
81
81
hosts : kube_control_plane
Original file line number Diff line number Diff line change 39
39
- kube_network_plugin != "calico" or calico_datastore == "etcd"
40
40
- ('k8s_cluster' in group_names)
41
41
tags :
42
- - master # master tag is deprecated and replaced by control-plane
43
42
- control-plane
44
43
- network
45
44
51
50
- kube_network_plugin != "calico" or calico_datastore == "etcd"
52
51
- ('k8s_cluster' in group_names)
53
52
tags :
54
- - master # master tag is deprecated and replaced by control-plane
55
53
- control-plane
56
54
- network
57
55
Original file line number Diff line number Diff line change 14
14
- bootstrap_os
15
15
- apps
16
16
- network
17
- - master # master tag is deprecated and replaced by control-plane
18
17
- control-plane
19
18
- node
20
19
with_items :
38
37
- bootstrap_os
39
38
- apps
40
39
- network
41
- - master # master tag is deprecated and replaced by control-plane
42
40
- control-plane
43
41
- node
44
42
with_items :
Original file line number Diff line number Diff line change 1
1
---
2
- # This should only contains check of the inventory itself, nothing depending on facts
2
+ # This should only contains check of:
3
+ # - the inventory
4
+ # - extra variables
5
+ # - ansible commandline
6
+ # -> nothing depending on facts or similar cluster state
3
7
# Checks depending on current state (of the nodes or the cluster)
4
8
# should be in roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
9
+ - name : Stop if removed tags are used
10
+ assert :
11
+ msg : The tag 'master' is removed. Use 'control-plane' instead
12
+ that :
13
+ - ('master' not in ansible_run_tags)
14
+ - ('master' not in ansible_skip_tags)
15
+ # TODO: Remove checks after next release
16
+
5
17
- name : Stop if kube_control_plane group is empty
6
18
assert :
7
19
that : groups.get( 'kube_control_plane' )
You can’t perform that action at this time.
0 commit comments