mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
24 lines
685 B
YAML
24 lines
685 B
YAML
---
|
|
kubernetes_packages:
|
|
- name: kubelet
|
|
state: present
|
|
- name: kubeadm
|
|
state: present
|
|
- name: kubectl
|
|
state: present
|
|
- name: kubernetes-cni
|
|
state: present
|
|
|
|
kubernetes_allow_swap: False
|
|
|
|
kubernetes_allow_pods_on_master: True
|
|
kubernetes_enable_web_ui: True
|
|
|
|
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
|
|
kubernetes_yum_repo_url: "https://packages.cloud.google.com/yum/repos/kubernetes-el7-{{ kubernetes_yum_arch }}"
|