volcano k8s 部署

下载volcano-development文件

官网

https://volcano.sh/zh/docs/installation/

volcano-development.yaml

wget https://raw.githubusercontent.com/volcano-sh/volcano/master/installer/volcano-development.yaml

部署volcano

查下需要下载的镜像

grep vc- volcano-development.yaml 
          image: docker.io/volcanosh/vc-webhook-manager:latest
          image: docker.io/volcanosh/vc-webhook-manager:latest
          image: docker.io/volcanosh/vc-controller-manager:latest
          image: docker.io/volcanosh/vc-scheduler:latest

下载镜像

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/volcanosh/vc-webhook-manager:latest
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/volcanosh/vc-scheduler:latest
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/volcanosh/vc-controller-manager:latest

docker pull registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-webhook-manager:1.0
docker pull registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-controller-manager:1.0
docker pull registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-scheduler:1.0

docker save -o vc-webhook-manager.tar  registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-webhook-manager:1.0
docker save -o vc-controller-manager.tar  registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-controller-manager:1.0
docker save -o vc-scheduler.tar  registry.cn-hangzhou.aliyuncs.com/zdhx-harbor/vc-scheduler:1.0

scp vc-webhook-manager.tar root@10.0.2.12:/root
scp vc-controller-manager.tar root@10.0.2.12:/root
scp vc-scheduler.tar root@10.0.2.12:/root

docker load -i vc-webhook-manager.tar
docker load -i vc-controller-manager.tar
docker load -i vc-scheduler.tar

替换国外镜像

sed -i 's/docker.io\/volcanosh\/vc-webhook-manager:latest/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-webhook-manager:latest/g' volcano-development.yaml 
sed -i 's/docker.io\/volcanosh\/vc-controller-manager:latest/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-controller-manager:latest/g' volcano-development.yaml 
sed -i 's/docker.io\/volcanosh\/vc-scheduler:latest/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-scheduler:latest/g' volcano-development.yaml 		 


sed -i 's/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-webhook-manager:latest/registry.cn-hangzhou.aliyuncs.com\/zdhx-harbor\/vc-webhook-manager:1.0/g' volcano-development.yaml 
sed -i 's/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-controller-manager:latest/registry.cn-hangzhou.aliyuncs.com\/zdhx-harbor\/vc-controller-manager:1.0/g' volcano-development.yaml 
sed -i 's/swr.cn-north-4.myhuaweicloud.com\/ddn-k8s\/docker.io\/volcanosh\/vc-scheduler:latest/registry.cn-hangzhou.aliyuncs.com\/zdhx-harbor\/vc-scheduler:1.0/g' volcano-development.yaml 		 

部署

kubectl apply -f volcano-development.yaml

验证Volcano组件的状态

kubectl get all -n volcano-system

containerd常用命令

https://blog.csdn.net/chililopp/article/details/140288670
相关推荐
麒麟而非淇淋7 分钟前
Day3 苍穹外卖项目 公共字段自动填充(AOP)、文件上传、新增菜品、菜品分页查询、删除菜品、修改菜品
java·mybatis
Gary董8 分钟前
ArraList和LinkedList区别
java
一到破伤风9 分钟前
Java对象与XML互相转换(xstream)
xml·java·服务器
Dingdangr13 分钟前
ArrayList与LinkedList的区别是什么?
java
源码宝19 分钟前
HIS系统源代码
java·人工智能·源码·his系统·程序代码
SUN_Gyq27 分钟前
在 C/C++ 中,volatile 关键字的作用是什么?volatile 关键字与 const 关键字有什么区别?
java·开发语言·jvm·c++
极客先躯39 分钟前
liteflow 架构详解
java·linux·运维·spring·架构·springboot·liteflow
oscar9991 小时前
JDK的版本演化,JDK要收费吗?
java·开发语言
重生之Java开发工程师1 小时前
什么是堆?
java·数据结构·算法
豆 腐1 小时前
Spring Boot【三】
java·spring boot·后端