当前位置: 首页 > article >正文

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

http://www.kler.cn/a/414119.html

相关文章:

  • 抓包之OSI七层模型以及TCPIP四层模型
  • 这次牛牛又换了个数列,他想计算:1+1/2+1/3+…+1/N的值。(保留6位小数)输入2:输出1.500000:JAVA
  • uniapp echarts tooltip formation 不识别html
  • C++设计模式:桥接模式(Bridge)
  • android studio Terminal控制台命令打包 apk
  • 【kafka03】消息队列与微服务之Kafka 读写数据
  • 【Git下载、安装和使用教程】
  • 跟李笑来学美式俚语(Most Common American Idioms): Part 38
  • 算法盒子模型转换步骤+操作命令记录
  • css3弹性布局
  • 【初级测试常用的sql命令及实例解析】
  • SpringMVC——SSM整合
  • es6 中的箭头函数?
  • Mybatis集成篇(一)
  • 使用 Go 语言中的 Context 取消协程执行
  • MySQL安装与卸载(linux)
  • docker查询是否运行
  • 《Unity Shader 入门精要》高级纹理
  • 网络编程中的字节序函数htonl()、htons()、ntohl()和ntohs()
  • C# 7.1 .Net Framwork4.7 VS2017环境下,方法的引用与调用
  • InstructGPT——AI 模型的对齐革命
  • 【插入排序】:直接插入排序、二分插入排序、shell排序
  • Python练习47
  • cesium 3dtile ClippingPlanes 多边形挖洞ClippingPlaneCollection
  • 同三维T80005JEHVA视频解码器
  • 算法知识-14-递归