openshift template
来源:互联网 发布:飞猪是淘宝的吗 编辑:程序博客网 时间:2024/06/12 23:05
1、环境准备,上传golang-builder镜像到镜像仓库。
2、镜像导入到image stream中,命令如下:
oc import-image 172.18.141.72:5000/rhscl/golang-builder:latest -n openshift –confirm –insecure
3、原来项目导出模板:
vito@DESKTOP$ oc export bc,dc,svc,secret,is,cm --as-template=template -o json > template.json
删掉不用的资源
4、在新项目中创建模板,需要配置的东西,
ImageStream的spec.tags.from.name
namespace:
DeploymentConfig.spec.triggers.from.namespace
DeploymentConfig.spec.template.spec.containers.image.from.names
阅读全文
0 0
- openshift template
- openshift 学习笔记-5 template使用
- OpenShift,OpenShift,还是OpenShift
- openshift/origin学习记录(5)——添加Template(模板)并基于模板部署应用
- OpenShift架构
- Openshift + GOLANG
- openshift使用
- Openshift Router
- openshift认证
- openshift 安装
- Openshift 简介
- openshift常用命令
- openshift jenkins
- openshift pipeline
- OpenShift安装
- template
- Template
- template
- Fresco加载Gif写入RecyclerView
- 代码块
- centOS安装scikit-learn
- 内部解密QQ领域行业术语指的都是什么?
- 文章标题
- openshift template
- Vue的基本用法
- uboot编译脚本解析
- jsp java web使用struts2后出现“The requested resource is not available”
- oracle 取前一分钟、类型转换、时间差
- 数组类—DynamicArray
- [JAVA] 一条新闻引出的思考,关于不用中间变量交换两个变量的值
- [ Pollard_rho ] BZOJ4522
- POJ