部署 harbor 2.9.0 arm64

2023-09-20  本文已影响0人  akka9

官网没有 arm64 版本,可以下载第三方的镜像,镜像包含了 amd64 和 arm64 两个架构

nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-exporter:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/redis-photon:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/trivy-adapter-photon:v2.9.0    
#nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/notary-server-photon:v2.9.0    
#nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/notary-signer-photon:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-registryctl:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/registry-photon:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/nginx-photon:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-log:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-jobservice:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-core:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-portal:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/harbor-db:v2.9.0    
nerdctl -n k8s.io pull --platform=linux/amd64,linux/arm64  ghcr.io/octohelm/harbor/prepare:v2.9.0    


nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-core:v2.9.0             -o     harbor-harbor-core-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-db:v2.9.0               -o     harbor-harbor-db-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-exporter:v2.9.0         -o     harbor-harbor-exporter-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-jobservice:v2.9.0       -o     harbor-harbor-jobservice-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-log:v2.9.0              -o     harbor-harbor-log-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-portal:v2.9.0           -o     harbor-harbor-portal-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/harbor-registryctl:v2.9.0      -o     harbor-harbor-registryctl-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/nginx-photon:v2.9.0            -o     harbor-nginx-photon-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/prepare:v2.9.0                 -o     harbor-prepare-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/redis-photon:v2.9.0            -o     harbor-redis-photon-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/registry-photon:v2.9.0         -o     harbor-registry-photo-v2.9.0.save
nerdctl -n k8s.io save --platform=linux/amd64,linux/arm64 ghcr.io/octohelm/harbor/trivy-adapter-photon:v2.9.0    -o     harbor-trivy-adapter-photon-v2.9.0.save

tar czfv ../harbor-images-save-amd64-arm64.tgz harbor-*
ls -alh ../harbor-images-save-amd64-arm64.tgz 
-rw-r--r-- 1 root root 1.6G Sep 27 11:17 ../harbor-images-save-amd64-arm64.tgz

wget -c https://github.com/goharbor/harbor/releases/download/v2.9.0/harbor-online-installer-v2.9.0.tgz



上一篇下一篇

猜你喜欢

热点阅读