geerlingguy.ansible-role-ku.../README.md

63 lines
1.3 KiB
Markdown
Raw Normal View History

2018-05-09 16:19:11 +02:00
# Ansible Role: Kubernetes
[![Build Status](https://travis-ci.org/geerlingguy/ansible-role-kubernetes.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-kubernetes)
An Ansible Role that installs [Kubernetes](https://kubernetes.io) 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.
2018-05-09 21:51:36 +02:00
kubernetes_enable_web_ui: False
2018-05-09 16:19:11 +02:00
TODO.
kubernetes_apt_release_channel: main
kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}"
2018-05-09 16:19:11 +02:00
kubernetes_apt_ignore_key_error: False
TODO.
## Dependencies
None.
## Example Playbook
```yaml
- hosts: all
roles:
- geerlingguy.docker
- geerlingguy.kubernetes
```
## License
MIT / BSD
## Author Information
This role was created in 2018 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).