2020-09-22 22:14:48 +08:00
|
|
|
---
|
|
|
|
## Global Offline settings
|
|
|
|
### Private Container Image Registry
|
|
|
|
# registry_host: "myprivateregisry.com"
|
|
|
|
# files_repo: "http://myprivatehttpd"
|
2021-04-23 14:50:03 +08:00
|
|
|
### If using CentOS, RedHat, AlmaLinux or Fedora
|
2020-09-22 22:14:48 +08:00
|
|
|
# yum_repo: "http://myinternalyumrepo"
|
|
|
|
### If using Debian
|
|
|
|
# debian_repo: "http://myinternaldebianrepo"
|
|
|
|
### If using Ubuntu
|
|
|
|
# ubuntu_repo: "http://myinternalubunturepo"
|
|
|
|
|
|
|
|
## Container Registry overrides
|
|
|
|
# kube_image_repo: "{{ registry_host }}"
|
|
|
|
# gcr_image_repo: "{{ registry_host }}"
|
2021-07-15 18:07:46 +08:00
|
|
|
# github_image_repo: "{{ registry_host }}"
|
2020-09-22 22:14:48 +08:00
|
|
|
# docker_image_repo: "{{ registry_host }}"
|
|
|
|
# quay_image_repo: "{{ registry_host }}"
|
|
|
|
|
|
|
|
## Kubernetes components
|
2023-05-17 12:02:33 +08:00
|
|
|
# kubeadm_download_url: "{{ files_repo }}/dl.k8s.io/release/{{ kubeadm_version }}/bin/linux/{{ image_arch }}/kubeadm"
|
|
|
|
# kubectl_download_url: "{{ files_repo }}/dl.k8s.io/release/{{ kube_version }}/bin/linux/{{ image_arch }}/kubectl"
|
|
|
|
# kubelet_download_url: "{{ files_repo }}/dl.k8s.io/release/{{ kube_version }}/bin/linux/{{ image_arch }}/kubelet"
|
2020-09-22 22:14:48 +08:00
|
|
|
|
|
|
|
## CNI Plugins
|
2022-06-21 18:49:43 +08:00
|
|
|
# cni_download_url: "{{ files_repo }}/github.com/containernetworking/plugins/releases/download/{{ cni_version }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
|
2020-09-22 22:14:48 +08:00
|
|
|
|
|
|
|
## cri-tools
|
2022-06-21 18:49:43 +08:00
|
|
|
# crictl_download_url: "{{ files_repo }}/github.com/kubernetes-sigs/cri-tools/releases/download/{{ crictl_version }}/crictl-{{ crictl_version }}-{{ ansible_system | lower }}-{{ image_arch }}.tar.gz"
|
2020-09-22 22:14:48 +08:00
|
|
|
|
2023-01-22 17:14:03 +08:00
|
|
|
## [Optional] etcd: only if you use etcd_deployment=host
|
2022-06-21 18:49:43 +08:00
|
|
|
# etcd_download_url: "{{ files_repo }}/github.com/etcd-io/etcd/releases/download/{{ etcd_version }}/etcd-{{ etcd_version }}-linux-{{ image_arch }}.tar.gz"
|
2020-09-22 22:14:48 +08:00
|
|
|
|
|
|
|
# [Optional] Calico: If using Calico network plugin
|
2022-06-21 18:49:43 +08:00
|
|
|
# calicoctl_download_url: "{{ files_repo }}/github.com/projectcalico/calico/releases/download/{{ calico_ctl_version }}/calicoctl-linux-{{ image_arch }}"
|
|
|
|
# calicoctl_alternate_download_url: "{{ files_repo }}/github.com/projectcalico/calicoctl/releases/download/{{ calico_ctl_version }}/calicoctl-linux-{{ image_arch }}"
|
2021-03-19 08:06:36 +08:00
|
|
|
# [Optional] Calico with kdd: If using Calico network plugin with kdd datastore
|
2022-06-21 18:49:43 +08:00
|
|
|
# calico_crds_download_url: "{{ files_repo }}/github.com/projectcalico/calico/archive/{{ calico_version }}.tar.gz"
|
2020-09-22 22:14:48 +08:00
|
|
|
|
2022-11-02 15:30:47 +08:00
|
|
|
# [Optional] Cilium: If using Cilium network plugin
|
|
|
|
# ciliumcli_download_url: "{{ files_repo }}/github.com/cilium/cilium-cli/releases/download/{{ cilium_cli_version }}/cilium-linux-{{ image_arch }}.tar.gz"
|
|
|
|
|
2023-01-22 17:14:03 +08:00
|
|
|
# [Optional] Flannel: If using Flannel network plugin
|
2022-01-04 01:58:59 +08:00
|
|
|
# flannel_cni_download_url: "{{ files_repo }}/kubernetes/flannel/{{ flannel_cni_version }}/flannel-{{ image_arch }}"
|
|
|
|
|
2021-04-13 15:46:50 +08:00
|
|
|
# [Optional] helm: only if you set helm_enabled: true
|
2022-06-21 18:49:43 +08:00
|
|
|
# helm_download_url: "{{ files_repo }}/get.helm.sh/helm-{{ helm_version }}-linux-{{ image_arch }}.tar.gz"
|
2021-04-13 15:46:50 +08:00
|
|
|
|
|
|
|
# [Optional] crun: only if you set crun_enabled: true
|
2022-06-21 18:49:43 +08:00
|
|
|
# crun_download_url: "{{ files_repo }}/github.com/containers/crun/releases/download/{{ crun_version }}/crun-{{ crun_version }}-linux-{{ image_arch }}"
|
2021-04-13 15:46:50 +08:00
|
|
|
|
|
|
|
# [Optional] kata: only if you set kata_containers_enabled: true
|
2022-06-21 18:49:43 +08:00
|
|
|
# kata_containers_download_url: "{{ files_repo }}/github.com/kata-containers/kata-containers/releases/download/{{ kata_containers_version }}/kata-static-{{ kata_containers_version }}-{{ ansible_architecture }}.tar.xz"
|
2021-04-13 15:46:50 +08:00
|
|
|
|
2022-07-11 21:45:49 +08:00
|
|
|
# [Optional] cri-dockerd: only if you set container_manager: docker
|
|
|
|
# cri_dockerd_download_url: "{{ files_repo }}/github.com/Mirantis/cri-dockerd/releases/download/v{{ cri_dockerd_version }}/cri-dockerd-{{ cri_dockerd_version }}.{{ image_arch }}.tgz"
|
|
|
|
|
2023-02-14 10:41:30 +08:00
|
|
|
# [Optional] runc: if you set container_manager to containerd or crio
|
|
|
|
# runc_download_url: "{{ files_repo }}/github.com/opencontainers/runc/releases/download/{{ runc_version }}/runc.{{ image_arch }}"
|
|
|
|
|
2021-07-10 11:52:45 +08:00
|
|
|
# [Optional] cri-o: only if you set container_manager: crio
|
|
|
|
# crio_download_base: "download.opensuse.org/repositories/devel:kubic:libcontainers:stable"
|
|
|
|
# crio_download_crio: "http://{{ crio_download_base }}:/cri-o:/"
|
2023-01-18 11:04:33 +08:00
|
|
|
# crio_download_url: "{{ files_repo }}/storage.googleapis.com/cri-o/artifacts/cri-o.{{ image_arch }}.{{ crio_version }}.tar.gz"
|
|
|
|
# skopeo_download_url: "{{ files_repo }}/github.com/lework/skopeo-binary/releases/download/{{ skopeo_version }}/skopeo-linux-{{ image_arch }}"
|
2021-07-10 11:52:45 +08:00
|
|
|
|
2023-02-14 10:41:30 +08:00
|
|
|
# [Optional] containerd: only if you set container_runtime: containerd
|
2022-06-21 18:49:43 +08:00
|
|
|
# containerd_download_url: "{{ files_repo }}/github.com/containerd/containerd/releases/download/v{{ containerd_version }}/containerd-{{ containerd_version }}-linux-{{ image_arch }}.tar.gz"
|
|
|
|
# nerdctl_download_url: "{{ files_repo }}/github.com/containerd/nerdctl/releases/download/v{{ nerdctl_version }}/nerdctl-{{ nerdctl_version }}-{{ ansible_system | lower }}-{{ image_arch }}.tar.gz"
|
2021-11-30 17:06:56 +08:00
|
|
|
|
2022-11-16 16:52:48 +08:00
|
|
|
# [Optional] runsc,containerd-shim-runsc: only if you set gvisor_enabled: true
|
|
|
|
# gvisor_runsc_download_url: "{{ files_repo }}/storage.googleapis.com/gvisor/releases/release/{{ gvisor_version }}/{{ ansible_architecture }}/runsc"
|
|
|
|
# gvisor_containerd_shim_runsc_download_url: "{{ files_repo }}/storage.googleapis.com/gvisor/releases/release/{{ gvisor_version }}/{{ ansible_architecture }}/containerd-shim-runsc-v1"
|
|
|
|
|
2023-02-21 08:23:48 +08:00
|
|
|
# [Optional] Krew: only if you set krew_enabled: true
|
|
|
|
# krew_download_url: "{{ files_repo }}/github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz"
|
|
|
|
|
2021-04-23 14:50:03 +08:00
|
|
|
## CentOS/Redhat/AlmaLinux
|
2021-01-25 19:12:54 +08:00
|
|
|
### For EL7, base and extras repo must be available, for EL8, baseos and appstream
|
|
|
|
### By default we enable those repo automatically
|
|
|
|
# rhel_enable_repos: false
|
|
|
|
### Docker / Containerd
|
2020-09-22 22:14:48 +08:00
|
|
|
# docker_rh_repo_base_url: "{{ yum_repo }}/docker-ce/$releasever/$basearch"
|
|
|
|
# docker_rh_repo_gpgkey: "{{ yum_repo }}/docker-ce/gpg"
|
|
|
|
|
|
|
|
## Fedora
|
|
|
|
### Docker
|
|
|
|
# docker_fedora_repo_base_url: "{{ yum_repo }}/docker-ce/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}"
|
|
|
|
# docker_fedora_repo_gpgkey: "{{ yum_repo }}/docker-ce/gpg"
|
|
|
|
### Containerd
|
|
|
|
# containerd_fedora_repo_base_url: "{{ yum_repo }}/containerd"
|
|
|
|
# containerd_fedora_repo_gpgkey: "{{ yum_repo }}/docker-ce/gpg"
|
|
|
|
|
|
|
|
## Debian
|
|
|
|
### Docker
|
|
|
|
# docker_debian_repo_base_url: "{{ debian_repo }}/docker-ce"
|
|
|
|
# docker_debian_repo_gpgkey: "{{ debian_repo }}/docker-ce/gpg"
|
|
|
|
### Containerd
|
2022-09-14 07:55:01 +08:00
|
|
|
# containerd_debian_repo_base_url: "{{ debian_repo }}/containerd"
|
|
|
|
# containerd_debian_repo_gpgkey: "{{ debian_repo }}/containerd/gpg"
|
2020-09-22 22:14:48 +08:00
|
|
|
# containerd_debian_repo_repokey: 'YOURREPOKEY'
|
|
|
|
|
|
|
|
## Ubuntu
|
|
|
|
### Docker
|
|
|
|
# docker_ubuntu_repo_base_url: "{{ ubuntu_repo }}/docker-ce"
|
|
|
|
# docker_ubuntu_repo_gpgkey: "{{ ubuntu_repo }}/docker-ce/gpg"
|
|
|
|
### Containerd
|
|
|
|
# containerd_ubuntu_repo_base_url: "{{ ubuntu_repo }}/containerd"
|
|
|
|
# containerd_ubuntu_repo_gpgkey: "{{ ubuntu_repo }}/containerd/gpg"
|
|
|
|
# containerd_ubuntu_repo_repokey: 'YOURREPOKEY'
|