Skip to content

capitanh/microk8s_ansible_role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published