Ansible Role - Kubernetes
Go to file
2018-05-09 16:09:32 -05:00
defaults Fix install on CentOS 7. 2018-05-09 16:09:32 -05:00
handlers Initial commit. 2018-05-09 09:19:11 -05:00
meta Fix install on CentOS 7. 2018-05-09 16:09:32 -05:00
tasks Fix install on CentOS 7. 2018-05-09 16:09:32 -05:00
tests More updates to make things work better in various situations. 2018-05-09 11:15:30 -05:00
.gitignore Initial commit. 2018-05-09 09:19:11 -05:00
.travis.yml Fix install on CentOS 7. 2018-05-09 16:09:32 -05:00
LICENSE Initial commit. 2018-05-09 09:19:11 -05:00
README.md Fix install on CentOS 7. 2018-05-09 16:09:32 -05:00

Ansible Role: Kubernetes

Build Status

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_allow_swap: False

TODO.

kubernetes_allow_pods_on_master: True

TODO.

kubernetes_enable_web_ui: False

TODO.

kubernetes_apt_release_channel: main
kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}"
kubernetes_apt_ignore_key_error: False

TODO.

kubernetes_yum_arch: x86_64

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.