mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-28 19:05:53 +01:00
31 lines
800 B
YAML
31 lines
800 B
YAML
---
|
|
kubernetes_packages:
|
|
- name: kubelet
|
|
state: present
|
|
- name: kubeadm
|
|
state: present
|
|
- name: kubectl
|
|
state: present
|
|
- name: kubernetes-cni
|
|
state: present
|
|
|
|
kubernetes_role: master
|
|
|
|
kubernetes_kubelet_extra_args: ""
|
|
|
|
kubernetes_allow_pods_on_master: True
|
|
kubernetes_enable_web_ui: True
|
|
kuberenetes_debug: False
|
|
|
|
kubernetes_pod_network_cidr: '10.244.0.0/16'
|
|
kubernetes_apiserver_advertise_address: '0.0.0.0'
|
|
kubernetes_version: 'stable-1.10'
|
|
kubernetes_ignore_preflight_errors: 'all'
|
|
|
|
kubernetes_apt_release_channel: main
|
|
# Note that xenial repo is used for all Debian derivatives at this time.
|
|
kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}"
|
|
kubernetes_apt_ignore_key_error: False
|
|
|
|
kubernetes_yum_arch: x86_64
|