Nincs leírás

Kamesh Sampath 6aed577d34 fix: make kubeconfig dir configurable 4 éve
.vscode fb68696917 check minikube versions only if minikube exists 5 éve
defaults 6aed577d34 fix: make kubeconfig dir configurable 4 éve
meta d8aafb233a Lint fixes 5 éve
molecule d8aafb233a Lint fixes 5 éve
tasks 6aed577d34 fix: make kubeconfig dir configurable 4 éve
.editorconfig fe577ea176 Basic working version of the role 5 éve
.envrc e29ced815a fix: ablity to create multiple clusters at once 4 éve
.gitignore fe577ea176 Basic working version of the role 5 éve
.venv fe577ea176 Basic working version of the role 5 éve
.yamllint fe577ea176 Basic working version of the role 5 éve
LICENSE fe577ea176 Basic working version of the role 5 éve
README.md e29ced815a fix: ablity to create multiple clusters at once 4 éve
requirements.txt fe577ea176 Basic working version of the role 5 éve
requirements.yml d8aafb233a Lint fixes 5 éve

README.md

Ansible role for minikube

Ansible to create minikube cluster.

Requirements

  • Docker Desktop or Docker for Linux

  • Ansible >= v2.9.10

    pip3 install \
    -r https://raw.githubusercontent.com/kameshsampath/ansible-role-minikube/master/requirements.txt
    ansible-galaxy role install -r https://raw.githubusercontent.com/kameshsampath/ansible-role-minikube/master/requirements.yml
    

NOTE: For Windows its recommended to use Windows Subsystem for Linux (WSL)

Role Variables

| Variable Name| Description | Default | |--|--|--| | minikube_profile_name| Name of the minikube cluster| minikube | | minikube_create| If True creates the cluster | True | | minikube_destroy| If True destroys the cluster | True | | minikube_version| The minikube version | v1.23.2 | | minikube_home_dir| The directory where minikube files will be stored | $HOME/.minikube | | minikube_driver| The minikube driver | hyperkit | | minikube_memory| The memory to use for minikube | 8g | | minikube_cpus| The cpus to use for minikube | 4 | | minikube_disk_size| The disk size to use for minikube | 50g | | minikube_addons| the addons to enable by default | registry and registry-aliases | | kubernetes-version| The kubernetes version to use | stable |

Creating a minikube cluster

  ansible-galaxy role install -r 

License

Apache v2

Author Information

Kamesh Sampath

Issues

Issues

Testing

Requirements

  • Extra Python modules

    pip3 install \
    -r https://raw.githubusercontent.com/kameshsampath/ansible-role-minikube/master/molecule/requirements.txt
    

All tests are built using molecule with following scenarios:

  • default

    molecule test
    
  • pre_reqs

    molecule test -s pre_reqs