• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页

2017年10月11日

confd test
摘要: vi /etc/confd/confd.toml backend = "consul"confdir = "/etc/confd"log-level = "debug"interval = 600nodes = [ "127.0.0.1:8500",]noop = false ./confd -on 阅读全文
posted @ 2017-10-11 11:40 会飞の鱼 阅读(169) 评论(0) 推荐(0)
 
shell中的${},##和%%的使用
摘要: 假设我们定义了一个变量为: file=/dir1/dir2/dir3/my.file.txt 可以用${ }分别替换得到不同的值: ${file#*/}:删掉第一个/ 及其左边的字符串:dir1/dir2/dir3/my.file.txt ${file##*/}:删掉最后一个/ 及其左边的字符串:m 阅读全文
posted @ 2017-10-11 10:48 会飞の鱼 阅读(6310) 评论(0) 推荐(1)
 

2017年10月7日

cluster DNS
摘要: [root@mhc1 dns]# pwd/root/test/k8s/kubernetes/cluster/addons/dns [root@mhc1 dns]# export DNS_SERVER_IP="10.254.10.2"[root@mhc1 dns]# export DNS_DOMAIN 阅读全文
posted @ 2017-10-07 09:39 会飞の鱼 阅读(243) 评论(0) 推荐(0)
 

2017年10月6日

k8s实战
摘要: wget https://github.com/coreos/etcd/releases/download/v2.2.0/etcd-v2.2.0-linux-amd64.tar.gz etcd -name etcd -data-dir /var/lib/etcd -listen-client-url 阅读全文
posted @ 2017-10-06 16:13 会飞の鱼 阅读(597) 评论(0) 推荐(0)
 

2017年10月1日

k8s问题记录
摘要: 1. kubectl run 起来的pod 用 kubectl delete po删不掉 kubectl delete deployment my-nginx kubelet# 看到最后一行:error: failed to run Kubelet: failed to create kubelet 阅读全文
posted @ 2017-10-01 10:22 会飞の鱼 阅读(176) 评论(0) 推荐(0)
 

2017年9月30日

kubernetes 示例 hello world
摘要: 本文所说的Hello world是一个web留言板应用,并且是基于PHP+Redis的两层分布式架构的web应用,前端PHP web网站通过访问后端Redis数据库完成用户留言的查询和添加功能,具备读写分离能力,留言板内容是从redis中查询到的,首页中添加刘潭并提交之后留言会被添加到redis中。 阅读全文
posted @ 2017-09-30 21:42 会飞の鱼 阅读(1035) 评论(0) 推荐(0)
 
Centos7部署Kubernetes集群
摘要: 1、环境介绍及准备: 1.1 物理机操作系统 物理机操作系统采用Centos7.3 64位,细节如下。 1.2 主机信息 本文准备了三台机器用于部署k8s的运行环境,细节如下: 节点及功能 主机名 IP Master、etcd、registry K8s-master 10.0.251.148 Nod 阅读全文
posted @ 2017-09-30 21:04 会飞の鱼 阅读(308) 评论(0) 推荐(0)
 
centos7 安装 openvswitch
摘要: 1.安装依赖包: yum -y install make gcc openssl-devel autoconf automake rpm-build redhat-rpm-config yum -y install make gcc openssl-devel autoconf automake r 阅读全文
posted @ 2017-09-30 18:24 会飞の鱼 阅读(544) 评论(0) 推荐(0)
 
centos7 修改yum源为阿里源
摘要: 1.安装base reop源 cd /etc/yum.repos.d 接着备份旧的配置文件 sudo mv CentOS-Base.repo CentOS-Base.repo.bak 下载阿里源的文件 sudo wget -O CentOS-Base.repo http://mirrors.aliy 阅读全文
posted @ 2017-09-30 17:42 会飞の鱼 阅读(394) 评论(0) 推荐(0)
 

2017年9月28日

MySQL半同步复制配置
摘要: ansible-playbook -f 3 endpoint/mysql.yml -e "exec=fileConfig" -e "db_action=setAll" -e "paras={'plugin-load':'semisync_master.so;semisync_slave.so',rp 阅读全文
posted @ 2017-09-28 11:54 会飞の鱼 阅读(524) 评论(0) 推荐(0)
 
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页