2020年9月16日

摘要: ssh-keygen 产生公钥与私钥对. ssh-copy-id 将本机的公钥复制到远程机器的authorized_keys文件中,ssh-copy-id也能让你有到远程机器的home, ~./ssh , 和 ~/.ssh/authorized_keys的权利 第一步:在本地机器上使用ssh-key 阅读全文
posted @ 2020-09-16 11:05 jarno517 阅读(93) 评论(0) 推荐(0) 编辑

2020年1月7日

摘要: 1、创建configmap 2、部署pod,挂载配置文件(通过卷的形式引用) 阅读全文
posted @ 2020-01-07 11:34 jarno517 阅读(1449) 评论(0) 推荐(0) 编辑

2019年11月18日

摘要: 1、通过docker容器安装gitlab代码库 docker run --detach \--hostname 192.168.102.62 \ --env GITLAB_OMNIBUS_CONFIG="external_url 'http://192.168.102.62/'; gitlab_ra 阅读全文
posted @ 2019-11-18 12:07 jarno517 阅读(507) 评论(0) 推荐(0) 编辑

2019年11月4日

摘要: 说明: kubernetes统一配置管理方案configmap,实现将配置文件从容器镜像中解耦,增强应用的可移植性。数据可直接注入pod对象中,为容器所使用,注入方式有挂载为存储卷和传递为环境变量两种。 环境 1、适合存储明文类型数据 2、configmap属于命名空间级别的资源,和引用它的pod必 阅读全文
posted @ 2019-11-04 18:07 jarno517 阅读(1944) 评论(0) 推荐(0) 编辑

2019年11月1日

该文被密码保护。 阅读全文
posted @ 2019-11-01 17:38 jarno517 阅读(11) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-11-01 15:21 jarno517 阅读(8) 评论(0) 推荐(0) 编辑

2019年10月31日

摘要: 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 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 北京联通 202.106.0.20 202.106.196.115 阿里 223.5.5.5 223.6.6.6 114(时效性较差) 114.114.114.114 南方电信 180.153.225.136 百度 180.76.76.76 360 101.226.4.5 中国互联网络中心(推荐,安 阅读全文
posted @ 2019-10-31 14:59 jarno517 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 安装包下载: openssl1.1.1 链接:https://pan.baidu.com/s/1-qCDhkLtlkT0fdwKdVuh2g 提取码:0ncc pcre3.2.1 链接:https://pan.baidu.com/s/13Ctmc_3cIWUWJT6hboj1JQ 提取码:5vl9 阅读全文
posted @ 2019-10-31 14:33 jarno517 阅读(777) 评论(0) 推荐(0) 编辑
摘要: #!/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 阅读(805) 评论(0) 推荐(0) 编辑

导航