Skip to content

kegfru/k3s_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k3s_ansible

Demo from

Ansible playbook for https://dev.to/kalaspuffar/creating-your-first-kubernetes-cluster-3kp2

Modify

Edit hosts file with actual hosts, change vars if needed.

Run

ansible-playbook k3s_ansible/lan.yml -i k3s_ansible/hosts

Kubernetes Dashboard

https://hub.docker.com/r/kubernetesui/dashboard

  1. Copy token from kubectl -n kube-system describe secret admin-user
  2. Run kubectl port-forward -n kubernetes-dashboard service/kubernetes-dashboard 10443:443 --address 0.0.0.0 from Master
  3. Go to https://master-ip:10443 and authorize with token

About

quick k3s installation with ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published