2018-05-09 16:19:11 +02:00
|
|
|
---
|
|
|
|
kubernetes_packages:
|
|
|
|
- name: kubelet
|
|
|
|
state: present
|
|
|
|
- name: kubectl
|
|
|
|
state: present
|
2018-09-28 05:46:20 +02:00
|
|
|
- name: kubeadm
|
|
|
|
state: present
|
2018-05-09 16:19:11 +02:00
|
|
|
- name: kubernetes-cni
|
|
|
|
state: present
|
|
|
|
|
2020-09-01 18:12:42 +02:00
|
|
|
kubernetes_version: '1.19'
|
|
|
|
kubernetes_version_rhel_package: '1.19.0'
|
2018-09-28 06:19:56 +02:00
|
|
|
|
2018-05-15 05:27:26 +02:00
|
|
|
kubernetes_role: master
|
|
|
|
|
2018-05-10 00:04:46 +02:00
|
|
|
kubernetes_kubelet_extra_args: ""
|
2018-09-28 09:56:37 +02:00
|
|
|
kubernetes_kubeadm_init_extra_opts: ""
|
2019-12-15 02:50:57 +01:00
|
|
|
kubernetes_join_command_extra_opts: ""
|
2018-05-09 18:15:30 +02:00
|
|
|
|
2018-09-28 05:17:50 +02:00
|
|
|
kubernetes_allow_pods_on_master: true
|
|
|
|
kubernetes_enable_web_ui: true
|
2019-07-12 12:01:16 +02:00
|
|
|
kubernetes_web_ui_manifest_file: https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
|
2018-05-10 16:38:13 +02:00
|
|
|
|
2019-06-19 20:48:23 +02:00
|
|
|
kubernetes_pod_network:
|
2019-12-15 02:57:24 +01:00
|
|
|
# Flannel CNI.
|
|
|
|
cni: 'flannel'
|
|
|
|
cidr: '10.244.0.0/16'
|
|
|
|
# Calico CNI.
|
|
|
|
# cni: 'calico'
|
|
|
|
# cidr: '192.168.0.0/16'
|
|
|
|
|
2018-05-15 05:27:26 +02:00
|
|
|
kubernetes_apiserver_advertise_address: ''
|
2018-09-28 06:19:56 +02:00
|
|
|
kubernetes_version_kubeadm: 'stable-{{ kubernetes_version }}'
|
2018-05-10 16:37:53 +02:00
|
|
|
kubernetes_ignore_preflight_errors: 'all'
|
2018-05-09 18:15:30 +02:00
|
|
|
|
2018-05-09 16:19:11 +02:00
|
|
|
kubernetes_apt_release_channel: main
|
2018-05-09 22:15:34 +02:00
|
|
|
# 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 }}"
|
2018-09-28 05:17:50 +02:00
|
|
|
kubernetes_apt_ignore_key_error: false
|
2018-05-09 16:19:11 +02:00
|
|
|
|
2021-03-12 04:56:10 +01:00
|
|
|
kubernetes_yum_arch: '$basearch'
|
2020-11-18 04:51:21 +01:00
|
|
|
kubernetes_yum_base_url: "https://packages.cloud.google.com/yum/repos/kubernetes-el7-{{ kubernetes_yum_arch }}"
|
|
|
|
kubernetes_yum_gpg_key:
|
|
|
|
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
|
|
|
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
2018-06-05 04:45:51 +02:00
|
|
|
|
|
|
|
# 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
|
2019-06-19 20:48:23 +02:00
|
|
|
|
|
|
|
# Calico config files
|
2019-12-15 03:48:36 +01:00
|
|
|
kubernetes_calico_manifest_file: https://docs.projectcalico.org/v3.10/manifests/calico.yaml
|