mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Ansible Role - Kubernetes
defaults | ||
handlers | ||
meta | ||
tasks | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md |
Ansible Role: Kubernetes
An Ansible Role that installs Kubernetes on Linux.
Requirements
Requires Docker; recommended role for Docker installation: geerlingguy.docker
.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
kubernetes_packages:
- name: kubelet
state: present
- name: kubeadm
state: present
- name: kubernetes-cni
state: present
TODO.
kubernetes_apt_release_channel: main
kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-{{ ansible_distribution_release }} {{ kubernetes_apt_release_channel }}"
kubernetes_apt_ignore_key_error: False
TODO.
Dependencies
None.
Example Playbook
- hosts: all
roles:
- geerlingguy.docker
- geerlingguy.kubernetes
License
MIT / BSD
Author Information
This role was created in 2018 by Jeff Geerling, author of Ansible for DevOps.