init
This commit is contained in:
12
ansible/playbooks/k8s/install/k8s_master.yml
Normal file
12
ansible/playbooks/k8s/install/k8s_master.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: install k8s master
|
||||
hosts: dev-kyiv01-vm-k8s-master-01
|
||||
become: true
|
||||
|
||||
roles:
|
||||
- role: k8s/install/00_python
|
||||
- role: k8s/install/01_helm
|
||||
- role: k8s/install/02_common
|
||||
- role: k8s/install/03_master
|
||||
|
||||
# ansible-playbook playbooks/k8s/install/k8s_master.yml -i inventory.ini
|
||||
10
ansible/playbooks/k8s/install/k8s_worker.yml
Normal file
10
ansible/playbooks/k8s/install/k8s_worker.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: install k8s master
|
||||
hosts: dev-kyiv01-vm-k8s-worker-01
|
||||
become: true
|
||||
roles:
|
||||
- role: k8s/install/02_common
|
||||
- role: k8s/install/04_worker
|
||||
vars:
|
||||
k8s_kubeadm_join_command: "kubeadm join 192.168.0.105:6443 --token 5n2fv0.w67ya3tqfz8ucsae --discovery-token-ca-cert-hash sha256:9e944ac89557d42bd335ef175d232b3d78fd4b2af5935db23d52e443de539aad"
|
||||
|
||||
# ansible-playbook playbooks/k8s/install/k8s_worker.yml -i inventory.ini
|
||||
Reference in New Issue
Block a user