capitanh.microk8s_ansible_role

Microk8s Ansible Role

This role sets up the Microk8s Kubernetes distribution. By default, the following services are enabled:

  • DNS
  • Storage
  • Ingress
  • Host Access

You can choose which services to enable by listing them in the microk8s_services variable.

A few additional tools are also installed:

  • K9s
  • Helm
  • Vclusters

Requirements

The shell completion and alias settings are for Zsh; they do not affect Bash configurations.

Role Variables

The variables for this role are:

channel: latest     # The snap channel to use for installing Microk8s; defaults to latest
admin_user:        # User account to use
microk8s_services: # Default services to enable
  - dns
  - storage
  - ingress
  - host-access

Dependencies

  • Pip

Example Playbook

Register the role in requirements.yml:

    - src: capitanh.microk8s_ansible_role
      name: microk8s

Include it in your playbooks:

    - hosts: servers
      roles:
      - microk8s

License

BSD

Informazioni sul progetto

Microk8s Ansible Role

Installa
ansible-galaxy install capitanh.microk8s_ansible_role
Licenza
Unknown
Download
2.5k
Proprietario