Skip to content

script and ansible role to install minikube along with kubectl, and start minikube

License

Notifications You must be signed in to change notification settings

YashIndane/minikube-bare-metal-installation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minikube-bare-metal-installation

Script & ansible role to install minikube along with kubectl on a linux machine. This installs the setup on bare-metal, not on a seprate VM. This helps to install the kubectl controller and the minikube on the same machine. After installation it starts minikube.

Ansible-galaxy link -> link

Using Python Script

In your linux terminal, to get the script

wget https://raw.githubusercontent.com/YashIndane/minikube-bare-metal-installation/main/minikube_k8s.py

To run

python3 minikube_k8s.py

On successfull run

alternative way to run -

bash setupmini.sh

To check status after setup run this -

minikube status

Using playbook

Run by -

ansible-playbook <path-of-mini.yml>

Using Ansible role

The setup.yml file can be saved in any location, and mention the ip of target node in ìnventory file.

Set the roles path by -

ansible-playbook  <setup.yml-complete-path> --roles-path <complete-role-folder-path>

In the ansible.cfg file -

roles = <complete-role-folder-path>

Run the role by -

ansible-playbook <complete path of setup.yml>

About

script and ansible role to install minikube along with kubectl, and start minikube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published