You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 使用SED命令搜索中有哪些 registry.mycompany.com/ 位置
grep -n 'registry.mycompany.com/' /root/kuboard-v3.yaml
[root@k8s-master ~]# grep -n 'registry.mycompany.com/' /root/kuboard-v3.yaml
22: KUBOARD_AGENT_IMAG: registry.mycompany.com/kuboard/kuboard-agent
23: KUBOARD_QUESTDB_IMAGE: registry.mycompany.com/kuboard/questdb:6.0.5
126: image: 'registry.mycompany.com/kuboard/etcd-host:3.4.16-2'
219: image: 'registry.mycompany.com/kuboard/kuboard:v3'
所有需要下载4个镜像
registry.mycompany.com/kuboard/kuboard-agent
registry.mycompany.com/kuboard/questdb:6.0.5
registry.mycompany.com/kuboard/etcd-host:3.4.16-2
registry.mycompany.com/kuboard/kuboard:v3
# 使用万能的镜像站
# https://docker.aityp.com/
# 偷梁换柱
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/kuboard-agent:v3
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/kuboard-agent:v3 registry.mycompany.com/kuboard/kuboard-agent
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/questdb/questdb:6.0.5
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/questdb/questdb:6.0.5 registry.mycompany.com/kuboard/questdb:6.0.5
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/etcd-host:3.4.16-2
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/etcd-host:3.4.16-2 registry.mycompany.com/kuboard/etcd-host:3.4.16-2
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/kuboard:v3.5.2.7
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eipwork/kuboard:v3.5.2.7 registry.mycompany.com/kuboard/kuboard:v3
# 安装
kubectl apply -f kuboard-v3.yaml
# 等待 Kuboard v3 就绪
watch kubectl get pods -n kuboard
# 卸载
kubectl delete -f kuboard-v3.yaml
rm -rf /usr/share/kuboard