4a92b7221a
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
93 lines
5.2 KiB
YAML
93 lines
5.2 KiB
YAML
---
|
|
## Global Offline settings
|
|
### Private Container Image Registry
|
|
# registry_host: "myprivateregisry.com"
|
|
# files_repo: "http://myprivatehttpd"
|
|
### If using CentOS, RedHat, AlmaLinux or Fedora
|
|
# 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 }}"
|
|
# github_image_repo: "{{ registry_host }}"
|
|
# docker_image_repo: "{{ registry_host }}"
|
|
# quay_image_repo: "{{ registry_host }}"
|
|
|
|
## Kubernetes components
|
|
# kubeadm_download_url: "{{ files_repo }}/storage.googleapis.com/kubernetes-release/release/{{ kubeadm_version }}/bin/linux/{{ image_arch }}/kubeadm"
|
|
# kubectl_download_url: "{{ files_repo }}/storage.googleapis.com/kubernetes-release/release/{{ kube_version }}/bin/linux/{{ image_arch }}/kubectl"
|
|
# kubelet_download_url: "{{ files_repo }}/storage.googleapis.com/kubernetes-release/release/{{ kube_version }}/bin/linux/{{ image_arch }}/kubelet"
|
|
|
|
## CNI Plugins
|
|
# cni_download_url: "{{ files_repo }}/github.com/containernetworking/plugins/releases/download/{{ cni_version }}/cni-plugins-linux-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
|
|
## cri-tools
|
|
# 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"
|
|
|
|
## [Optional] etcd: only if you **DON'T** use etcd_deployment=host
|
|
# etcd_download_url: "{{ files_repo }}/github.com/etcd-io/etcd/releases/download/{{ etcd_version }}/etcd-{{ etcd_version }}-linux-{{ image_arch }}.tar.gz"
|
|
|
|
# [Optional] Calico: If using Calico network plugin
|
|
# 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 }}"
|
|
# [Optional] Calico with kdd: If using Calico network plugin with kdd datastore
|
|
# calico_crds_download_url: "{{ files_repo }}/github.com/projectcalico/calico/archive/{{ calico_version }}.tar.gz"
|
|
|
|
# [Optional] Flannel: If using Falnnel network plugin
|
|
# flannel_cni_download_url: "{{ files_repo }}/kubernetes/flannel/{{ flannel_cni_version }}/flannel-{{ image_arch }}"
|
|
|
|
# [Optional] helm: only if you set helm_enabled: true
|
|
# helm_download_url: "{{ files_repo }}/get.helm.sh/helm-{{ helm_version }}-linux-{{ image_arch }}.tar.gz"
|
|
|
|
# [Optional] crun: only if you set crun_enabled: true
|
|
# crun_download_url: "{{ files_repo }}/github.com/containers/crun/releases/download/{{ crun_version }}/crun-{{ crun_version }}-linux-{{ image_arch }}"
|
|
|
|
# [Optional] kata: only if you set kata_containers_enabled: true
|
|
# 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"
|
|
|
|
# [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:/"
|
|
|
|
# [Optional] runc,containerd: only if you set container_runtime: containerd
|
|
# runc_download_url: "{{ files_repo }}/github.com/opencontainers/runc/releases/download/{{ runc_version }}/runc.{{ image_arch }}"
|
|
# 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"
|
|
|
|
## CentOS/Redhat/AlmaLinux
|
|
### 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
|
|
# 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
|
|
# containerd_debian_repo_base_url: "{{ ubuntu_repo }}/containerd"
|
|
# containerd_debian_repo_gpgkey: "{{ ubuntu_repo }}/containerd/gpg"
|
|
# 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'
|