名稱
gdcloud system container-registry load-oci - Upload a GDC air-gapped OCI bundle to the System Artifact Registry for upgrade.
概要
gdcloud system container-registry load-oci PATH [flags]
說明
將 GDC 氣隙 OCI 套件上傳至系統構件登錄檔,並準備套件內容,以用於 GDC 氣隙升級。
範例
To upload the GDC air-gapped OCI bundle located at /upgrade/oci-bundle, run:
gdcloud system container-registry load-oci /upgrade/oci-bundle
選用旗標
--allow-registry-expansion Expand registry storage quota automatically if needed. Require skip-registry-quota-check to be false. (default false)
--insecure Bypass TLS certificate checks. (default false)
--pv-root-cert-path string Path to the package validation root certificate that has the suffix _root_ca_certificate.crt in its name. Providing this argument allows load-oci to check if there is a need for upgrading package validation root cert configmap in the cluster. (Optional)
--skip-failover-registry Skip upload of critical images to the failover registry. (default false)
--skip-registry-quota-check Skip the registry quota preflight check. Optional. True by default during preflight check feature soft-launch. (default true)
--tls-config-enabled Fetch trusted registry CA data from the cluster. If disabled, uses the system CA instead. (default true)
--use-ip-port Push images using the registry IP address and port directly. (default true)
GDCLOUD 廣泛標記
所有指令都可使用這些旗標:--configuration、--format、--help、--project、--quiet。
詳情請參閱 gcloud CLI 參考資料總覽頁面。