Use Ansible to remove k3s from cluster: Difference between revisions
Jump to navigation
Jump to search
(Created page with "More on Use Ansible to manager cluster * Ansible playbook for removing k3s from hosts <pre>#clean up k3s --- - name: clean up k3s installation hosts: red remote_user:...") |
No edit summary |
||
Line 1: | Line 1: | ||
More on [[Use Ansible to manager cluster]] | More information on how to [[Use Ansible to manager cluster]] | ||
* Ansible playbook for removing k3s from hosts | * Ansible playbook for removing k3s from hosts |
Latest revision as of 18:56, 17 September 2021
More information on how to Use Ansible to manager cluster
- Ansible playbook for removing k3s from hosts
#clean up k3s --- - name: clean up k3s installation hosts: red remote_user: pi tasks: - name: stop service command: /usr/local/bin/k3s-killall.sh ignore_unreachable: yes - name: uninstall master node command: /usr/local/bin/k3s-uninstall.sh ignore_unreachable: yes - name: clean up k3s installation hosts: [yellow black green] remote_user: pi tasks: - name: stop service command: /usr/local/bin/k3s-killall.sh ignore_unreachable: yes - name: Uninstall worker node command: /usr/local/bin/k3s-agent-uninstall.sh ignore_unreachable: yes