Update kubeconfig paths in setup-k3s.yaml and main.yaml for consistency
This commit is contained in:
parent
208c768b2e
commit
5237c03d4b
@ -1,14 +1,13 @@
|
||||
---
|
||||
# Run: ansible-playbook -i ansible/inventory.yaml ansible/playbooks/setup-k3s.yaml
|
||||
# Run: ansible-playbook ansible/playbooks/setup-k3s.yaml -K
|
||||
#
|
||||
# What this does:
|
||||
# - Installs K3s in server mode (with Traefik disabled)
|
||||
# - Installs Helm
|
||||
# - Fetches kubeconfig to /tmp/k3s-minisforum.yaml on your workstation
|
||||
# - Fetches kubeconfig to ~/.kube/config on your workstation
|
||||
# - Labels the node as node-role=primary
|
||||
#
|
||||
# After this playbook:
|
||||
# export KUBECONFIG=/tmp/k3s-minisforum.yaml
|
||||
# kubectl get nodes # should show minisforum as Ready
|
||||
#
|
||||
# Then deploy Traefik:
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
- name: Fetch kubeconfig to workstation
|
||||
ansible.builtin.fetch:
|
||||
src: /etc/rancher/k3s/k3s.yaml
|
||||
dest: /tmp/k3s-minisforum.yaml
|
||||
dest: ~/.kube/config
|
||||
flat: true
|
||||
|
||||
- name: Fix kubeconfig server address
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user