rancher 资源下载

Last updated on November 22, 2024 pm

🧙 Questions

rancher相关资源下载生成

☄️ Ideas

wget https://github.com/rancher/rke2/releases/download/v1.28.12-rc4%2Brke2r1/rke2-images.linux-amd64.tar.zst
wget https://github.com/rancher/rke2/releases/download/v1.28.12-rc4%2Brke2r1/rke2.linux-amd64.tar.gz
wget https://github.com/rancher/rke2/releases/download/v1.28.12-rc4%2Brke2r1/sha256sum-amd64.txt
wget https://get.helm.sh/helm-v3.15.3-linux-amd64.tar.gz
wget https://download.docker.com/linux/static/stable/x86_64/docker-19.03.9.tgz
wget https://github.com/goharbor/harbor/releases/download/v1.9.3/harbor-offline-installer-v1.9.3.tgz
wget https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64

本地下载打包所有镜像(跳过)

# http://mirror.rancher.cn/
# 注意改一下,docker pull --platform=linux/amd64  不然全是拉的arm架构镜像
wget https://rancher-mirror.rancher.cn/rancher/v2.8.5/rancher-save-images.sh
code rancher-save-images.sh
wget https://rancher-mirror.rancher.cn/rancher/v2.8.5/rancher-load-images.sh
wget https://rancher-mirror.rancher.cn/rancher/v2.8.5/rancher-images.txt

helm repo add jetstack https://charts.jetstack.io
helm repo update
helm fetch jetstack/cert-manager
helm template ./cert-manager-v1.15.1.tgz | awk '$1 ~ /image:/ {print $2}' | sed s/\"//g >> ./rancher-images.txt
sort -u rancher-images.txt -o rancher-images.txt
chmod +x rancher-save-images.sh
./rancher-save-images.sh --image-list ./rancher-images.txt --from-aliyun true
quay.io/jetstack/cert-manager-cainjector:v1.15.1
quay.io/jetstack/cert-manager-controller:v1.15.1
quay.io/jetstack/cert-manager-startupapicheck:v1.15.1
quay.io/jetstack/cert-manager-webhook:v1.15.1
rancher/fleet-agent:v0.9.5
rancher/fleet:v0.9.5
rancher/gitjob:v0.9.8
rancher/mirrored-cluster-api-controller:v1.4.4
rancher/rancher:v2.8.5
rancher/rancher-agent:v2.8.5
rancher/rancher-webhook:v0.4.7
rancher/shell:v0.1.24
rancher/kubectl:v1.20.2

获取cert-manager(跳过)

helm repo add jetstack https://charts.jetstack.io
helm repo update
helm fetch jetstack/cert-manager
curl -L -o cert-manager-crd.yaml https://github.com/cert-manager/cert-manager/releases/download/v1.15.1/cert-manager.crds.yaml

rancher 资源下载
https://ispong.isxcode.com/kubernetes/rancher/rancher 资源下载/
Author
ispong
Posted on
July 28, 2024
Licensed under