Browse Source
Move kubernetes/master to kubernetes/control-plane (#7218 )
This is a small step to replace "master" with "control-plane" in
Kubespray project.
pull/7236/head
Kenichi Omichi
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with
4 additions and
4 deletions
cluster.yml
docs/vars.md
extra_playbooks/upgrade-only-k8s.yml
roles/kubernetes/control-plane/defaults/main/etcd.yml
roles/kubernetes/control-plane/defaults/main/kube-proxy.yml
roles/kubernetes/control-plane/defaults/main/main.yml
roles/kubernetes/control-plane/handlers/main.yml
roles/kubernetes/control-plane/meta/main.yml
roles/kubernetes/control-plane/tasks/encrypt-at-rest.yml
roles/kubernetes/control-plane/tasks/kubeadm-certificate.yml
roles/kubernetes/control-plane/tasks/kubeadm-cleanup-old-certs.yml
roles/kubernetes/control-plane/tasks/kubeadm-etcd.yml
roles/kubernetes/control-plane/tasks/kubeadm-fix-apiserver.yml
roles/kubernetes/control-plane/tasks/kubeadm-migrate-certs.yml
roles/kubernetes/control-plane/tasks/kubeadm-secondary.yml
roles/kubernetes/control-plane/tasks/kubeadm-setup.yml
roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml
roles/kubernetes/control-plane/tasks/kubeadm-version.yml
roles/kubernetes/control-plane/tasks/main.yml
roles/kubernetes/control-plane/tasks/pre-upgrade.yml
roles/kubernetes/control-plane/templates/apiserver-audit-policy.yaml.j2
roles/kubernetes/control-plane/templates/apiserver-audit-webhook-config.yaml.j2
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2
roles/kubernetes/control-plane/templates/kubeadm-controlplane.v1beta2.yaml.j2
roles/kubernetes/control-plane/templates/secrets_encryption.yaml.j2
roles/kubernetes/control-plane/templates/webhook-authorization-config.yaml.j2
roles/kubernetes/control-plane/templates/webhook-token-auth-config.yaml.j2
upgrade-cluster.yml
@ -65,7 +65,7 @@
any_errors_fatal : "{{ any_errors_fatal | default(true) }}"
roles:
- { role : kubespray-defaults }
- { role: kubernetes/master , tags : master }
- { role: kubernetes/control-plane , tags : master }
- { role: kubernetes/client, tags : client }
- { role: kubernetes-apps/cluster_roles, tags : cluster-roles }
@ -153,7 +153,7 @@ node_taints:
* `audit_log_maxsize` : 100
* `audit_policy_file` : "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml"
By default, the `audit_policy_file` contains [default rules ](https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/master /templates/apiserver-audit-policy.yaml.j2 ) that can be overridden with the `audit_policy_custom_rules` variable.
By default, the `audit_policy_file` contains [default rules ](https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/control-plane /templates/apiserver-audit-policy.yaml.j2 ) that can be overridden with the `audit_policy_custom_rules` variable.
### Custom flags for Kube Components
@ -41,7 +41,7 @@
- { role : kubespray-defaults}
- { role: upgrade/pre-upgrade, tags : pre-upgrade }
- { role: kubernetes/node, tags : node }
- { role: kubernetes/master , tags: master, upgrade_cluster_setup : true }
- { role: kubernetes/control-plane , tags: master, upgrade_cluster_setup : true }
- { role: kubernetes/client, tags : client }
- { role: kubernetes-apps/cluster_roles, tags : cluster-roles }
- { role: upgrade/post-upgrade, tags : post-upgrade }
@ -85,7 +85,7 @@
- { role: upgrade/pre-upgrade, tags : pre-upgrade }
- { role: container-engine, tags : "container-engine" , when : deploy_container_engine|default(true) }
- { role: kubernetes/node, tags : node }
- { role: kubernetes/master , tags: master, upgrade_cluster_setup : true }
- { role: kubernetes/control-plane , tags: master, upgrade_cluster_setup : true }
- { role: kubernetes/client, tags : client }
- { role: kubernetes/node-label, tags : node-label }
- { role: kubernetes-apps/cluster_roles, tags : cluster-roles }