Mirror requirements for the image
Review the mirror requirements for the image, including repository contents and definitions, signing keys, the private CA, and proxies. Skip this information if every package is installed.
Skip this part if every package is installed and you do not configure a mirror.
- Repository contents. Ubuntu: main and universe for the release, with the -updates or -security pocket (
python3-kubernetesandapt-transport-httpsare in universe, and the OpenSSH minimums are newer than the release pocket). RHEL family: BaseOS and AppStream (which includes haproxy) and EPEL for the matching major version (which includespython3-kubernetes). - Repository definitions. On Ubuntu, define repositories under /etc/apt/sources.list.d. On the RHEL family, define them under /etc/yum.repos.d. The directory /etc/apt/apt.conf.d holds settings such as a proxy, not repositories.
- Signing keys. Include the GPG public keys of the mirror in the image. A pass-through mirror that serves the distribution signed metadata unchanged can use the distribution keys instead, for example /usr/share/keyrings/ubuntu-archive-keyring.gpg.
- Private CA. If the mirror uses a private CA, add the CA to the trust store of the image.
- Proxies. If nodes reach the mirror through a proxy, configure the proxy so that bootstrap does not remove it. On Ubuntu, use a file such as /etc/apt/apt.conf.d/90internal-proxy, and do not use /etc/apt/apt.conf.d/00apt_proxy. On the RHEL family, set
proxy=in each section of the .repo file, and do not set it in /etc/dnf/dnf.conf. Bootstrap owns those two locations. It overwrites them when the access profile sets a proxy and removes them when it does not.
