Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecgalaxy/microk8s
Ansible role which installs MicroK8s and add-ons - Repository mirror - development takes place on code.europa.eu
https://github.com/ecgalaxy/microk8s
ansible-role kubernetes microk8s
Last synced: 1 day ago
JSON representation
Ansible role which installs MicroK8s and add-ons - Repository mirror - development takes place on code.europa.eu
- Host: GitHub
- URL: https://github.com/ecgalaxy/microk8s
- Owner: ecgalaxy
- License: eupl-1.2
- Created: 2024-02-27T08:43:55.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-07-29T14:19:47.000Z (3 months ago)
- Last Synced: 2024-07-29T18:39:42.592Z (3 months ago)
- Topics: ansible-role, kubernetes, microk8s
- Homepage: https://code.europa.eu/ecgalaxy/microk8s
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
ECGALAXY microk8s
===============Ansible role that installs [MicroK8s](https://microk8s.io/) and addons.
Requirements
------------- Ubuntu 22.04 LTS, which is the only platform currently supported.
- [Snap](https://snapcraft.io/).Role Variables
--------------- `microk8s_version`: The version of microk8s to install.
- `microk8s_user`: The user on the target host who will be using microk8s. **(required)**
- `microk8s_addons`: A list of addons to be enabled. (default: `[]`)During execution, the `microk8s` group is created and the specified `microk8s_user` added to it.
This user may need to logout and login to be able to use the `microk8s` command.
Another way for the user is to execute `newgrp microk8s` in the terminal.
Dependencies
------------None.
Example Playbook
----------------- hosts: all
roles:
- ecgalaxy.microk8s
vars:
microk8s_user: user1
microk8s_addons:
- ingress
- metrics-serverOne-liner
---------bash <(curl -s https://code.europa.eu/-/snippets/1/raw/main/ansible-role.sh) ecgalaxy.microk8s --extra-vars '{"microk8s_user":"the_username_here"}'
See [ansible-role](https://code.europa.eu/-/snippets/1) for instructions.
Please verify the script integrity first.
License
-------Copyright the European Union 2022.
Licensed under the EUPL-1.2 or later.
Author Information
------------------ECGALAXY team.