第 5 章 Updating a restricted network cluster
You can upgrade a restricted network OpenShift Container Platform cluster by using the
oc command-line interface (CLI).
A restricted network environment is the one in which your cluster nodes cannot access the internet. For this reason, you must populate a registry with the installation images. If your registry host cannot access both the internet and the cluster, you can mirror the images to a file system that disconnected from that environment and then bring that host or removable media across that gap. If the local container registry and the cluster are connected to the mirror registry’s host, you can directly push the release images to the local registry.
If multiple clusters are present within the restricted network, mirror the required release images to a single container image registry and use that registry to update all the clusters.
- Have access to the internet to obtain the necessary container images.
- Have write access to a container registry in the restricted-network environment to push and pull images. The container registry must be compatible with Docker registry API v2.
You must have the
occommand-line interface (CLI) tool installed.
Have access to the cluster as a user with
adminprivileges. See Using RBAC to define and apply permissions.
- Have a recent etcd backup in case your upgrade fails and you must restore your cluster to a previous state.