acandid.kubernetes
Kubernetes
How to Install and Set Up a Kubernetes Cluster on RHEL/CentOS and Ubuntu 20.04
- Install required packages
- Set up the master server
- Set up worker nodes
Requirements
- SELinux and Firewall settings are not part of this role.
Role Variables
You can change these variables if needed:
Variable | Default | Description |
---|---|---|
kubernetes_user |
Username for Kubernetes admin | |
kubernetes_user_pass |
Password for Kubernetes admin user | |
kubernetes_network |
weave | Networking for Pods |
Variables for Red Hat family:
Variable | Default |
---|---|
kubernetes_url_repo |
Kubernetes Repository |
kubernetes_url_key |
Kubernetes GPG Key |
kubernetes_containerd |
Containerd Repository |
kubernetes_pkg |
Packages needed for Kubernetes |
containerd_pkg |
Packages needed for Containerd |
Variables for Debian family:
Variable | Default |
---|---|
kubernetes_url_repo |
Kubernetes Repository |
kubernetes_url_key |
Kubernetes GPG Key |
containerd_url_key |
Containerd GPG Key |
kubernetes_pkg |
Packages needed for Kubernetes |
containerd_pkg |
Packages needed for Containerd |
Dependencies
There are no dependencies.
To work correctly, create the playbook and inventory as shown below.
Playbook
- hosts: kubernetes_masters,kubernetes_workers
become: yes
roles:
- /path/acandid.kubernetes
Inventory
[kubernetes_masters]
master_node01
[kubernetes_workers]
workers_node01
workers_node02
workers_node03
Contributing
We welcome issues, feature requests, and ideas in the Issues section.
Author Information
LinkedIn: https://br.linkedin.com/in/almircandido/
Informazioni sul progetto
Install and configuring the Kubernetes Cluster on RHEL/CentOS and Ubuntu 20.04.
Installa
ansible-galaxy install acandid.kubernetes
Licenza
Unknown
Download
106
Proprietario