Skip to content

aryyawijaya/ansible-microk8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-microk8s

Set up mickrok8s (Kubernetes) using Ansible

Set static IP

ansible-playbook -i <current_ip_vm/prefix_length>, set-static-ip.yaml -K -e "ip=<desired_static_ip>" -e "gateway=<gateway>" -e "hostname=<hostname_vm>"

Set up microk8s

ansible-playbook -i inventory.ini set-up-microk8s.yaml -K

Use kubectl command

SSH to VM

ssh <desired_static_ip>

Test kubectl command

kubectl version

kubectl-version

About

Set up mickrok8s (Kubernetes) using Ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages