随笔分类 -  Rancher

rancherUI添加configmap
摘要:1、创建configmap 2、部署pod,挂载配置文件(通过卷的形式引用) 阅读全文

posted @ 2020-01-07 11:34 jarno517 阅读(1520) 评论(0) 推荐(0)

rancher恢复kubecfg配置文件
摘要:docker run安装的单容器Rancher Server # 进入容器 docker exec -ti <容器ID> bash # 集群ID,可通过浏览器地址栏查询 cluster_id=c-xxx kubectl get secret c-${cluster_id} -n cattle-sys 阅读全文

posted @ 2019-10-31 15:05 jarno517 阅读(616) 评论(0) 推荐(0)

rancher清理主机脚本
摘要:#!/bin/bash #From:rancher #date:2019-10-18 #admin:jarno # 停止服务 systemctl disable kubelet.service systemctl disable kube-scheduler.service systemctl di 阅读全文

posted @ 2019-10-31 12:21 jarno517 阅读(844) 评论(0) 推荐(0)

导航