최초 image registry 구성

This commit is contained in:
정훈 변
2024-02-26 12:07:55 +09:00
parent 3fd554eee9
commit 0aa0497403
272 changed files with 806 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
---
## Global Offline settings
### Private Container Image Registry
#registry_host: "{{ hostvars[groups['all'][0]]['ip'] }}:5000"
registry_host: "{{ hostvars[groups['all'][0]]['ip'] }}:5000"
files_repo: "http://{{ hostvars[groups['all'][0]]['ip'] }}"
### If using CentOS, RedHat, AlmaLinux or Fedora
# yum_repo: "http://myinternalyumrepo"
@@ -11,11 +11,11 @@ files_repo: "http://{{ hostvars[groups['all'][0]]['ip'] }}"
# ubuntu_repo: "http://myinternalubunturepo"
## Container Registry overrides
# github_image_repo: "{{ registry_host }}"
#kube_image_repo: "{{ registry_host }}/registry.k8s.io"
#gcr_image_repo: "{{ registry_host }}/gcr.io"
#docker_image_repo: "{{ registry_host }}/docker.io"
#quay_image_repo: "{{ registry_host }}/quay.io"
github_image_repo: "{{ registry_host }}"
kube_image_repo: "{{ registry_host }}/registry.k8s.io"
gcr_image_repo: "{{ registry_host }}/gcr.io"
docker_image_repo: "{{ registry_host }}/docker.io"
quay_image_repo: "{{ registry_host }}/quay.io"
## Kubernetes components
kubeadm_download_url: "{{ files_repo }}/kubeadm/kubeadm-{{ kube_version }}-{{ image_arch }}"