No Description

Kamesh Sampath d8aafb233a Lint fixes 5 years ago
defaults fe577ea176 Basic working version of the role 5 years ago
meta d8aafb233a Lint fixes 5 years ago
molecule d8aafb233a Lint fixes 5 years ago
tasks d8aafb233a Lint fixes 5 years ago
.editorconfig fe577ea176 Basic working version of the role 5 years ago
.gitignore fe577ea176 Basic working version of the role 5 years ago
.venv fe577ea176 Basic working version of the role 5 years ago
.yamllint fe577ea176 Basic working version of the role 5 years ago
LICENSE fe577ea176 Basic working version of the role 5 years ago
README.md d8aafb233a Lint fixes 5 years ago
requirements.txt fe577ea176 Basic working version of the role 5 years ago
requirements.yml d8aafb233a Lint fixes 5 years ago

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.12.1 | | minikube_home_dir| The directory where KinD files will be stored | $HOME/.minikube | | minikube_driver| The minikube driver | docker| | 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 bu default | registry and registry-aliases |

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