[k8s]centos测试yaml
来源:互联网 发布:sql修改表结构的命令 编辑:程序博客网 时间:2024/06/05 05:37
centos-pod
apiVersion: v1kind: Podmetadata: name: my-centos labels: app: centosspec: containers: - name: my-centos image: centos:6.8 imagePullPolicy: IfNotPresent command: ["top","-b"]
centos-rc
$ cat centos-rc.yaml apiVersion: v1kind: ReplicationControllermetadata: name: rc-centosspec: replicas: 1 selector: app: centos template: metadata: labels: app: centos spec: containers: - name: app-centos image: centos:6.8 imagePullPolicy: IfNotPresent command: ["top","-b"]
centos-deploy
$ cat centos-deploy.yaml apiVersion: apps/v1beta1kind: Deploymentmetadata: name: deploy-centosspec: replicas: 1 selector: matchLabels: app: centos template: metadata: labels: app: centos spec: containers: - name: app-centos image: centos imagePullPolicy: IfNotPresent command: ["top", "-b"]
阅读全文
0 0
- [k8s]centos测试yaml
- [k8s]yaml常用
- k8s
- 在k8s集群中部署nginx-ingress-controller.yaml遇到的问题
- YAML
- YAML
- Yaml
- YAML
- YAML
- YAML
- YAML
- 使用Rancher搭建K8S测试环境
- yaml做接口测试之初探
- 在Centos 7 上 搭建 K8S --坑a)
- 在Centos 7 上 搭建 K8S --坑b)
- k8s nodename nodeselector deployment pod 测试 重启 运维
- [k8s]k8s rbac语法
- [k8s]k8s架构图解
- datatables数据表格的数据csv本地导出
- 利用Python中的random模块生成随机数
- JQuery3.1.1源码解读(十三)【event-on】
- 快速幂
- java电子商务平台 b2b2c o2o
- [k8s]centos测试yaml
- HTML特殊字符大全,实体名称转义字符对照表
- Tachyon:Spark生态系统中的分布式内存文件系统
- HTML版图像精灵制作工具
- python 中beautifulsoup 模块
- Python 搭建多线程服务端
- Spring Boot学习(五)之使用Swagger2构建强大的RESTful API文档
- C#数据
- adb常用指令