mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +01:00
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
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.0.1.0/16'
|
|
kubernetes_apiserver_advertise_address: ''
|
|
kubernetes_version: 'stable-1.11'
|
|
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
|
|
|
|
# Flannel config files.
|
|
kubernetes_flannel_manifest_file_rbac: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
|
|
kubernetes_flannel_manifest_file: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
|