microk8s_ansible_role

Microk8s Ansible Role

This role installs microk8s kubernetes distribution. The following services are enabled by default:

  • dns
  • storage
  • ingress
  • host-access

You can select the enabled services by listing then in microk8s_services variable.

A few other tools are also installed:

  • k9s
  • helm
  • vclusters

Requirements

Shell completion and alias are for zsh, no bash config is affected

Role Variables

Tne variables for this role are:

channe: latest     # Which snap channel to use when installing microk8s, defaults to latest
admin_user:        # User account to use
microk8s_services: # Default list of 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

About

Microk8s Ansible Role

Install
ansible-galaxy install capitanh/microk8s_ansible_role
GitHub repository
License
Unknown
Downloads
2396
Owner