start ansible scripts
This commit is contained in:
14
ansible/playbooks/deploy_k8s.yml
Normal file
14
ansible/playbooks/deploy_k8s.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: 1. Prepare all nodes for Kubernetes
|
||||
hosts: kube_cluster
|
||||
roles:
|
||||
- role: common
|
||||
|
||||
- name: 2. Initialize and configure the control plane
|
||||
hosts: control_plane
|
||||
roles:
|
||||
- role: control-plane
|
||||
|
||||
- name: 3. Join worker nodes to the cluster
|
||||
hosts: workers
|
||||
roles:
|
||||
- role: workers
|
||||
Reference in New Issue
Block a user