上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 129 下一页
摘要: # For more information on configuration, see:# * Official English Documentation: http://nginx.org/en/docs/# * Official Russian Documentation: http://n 阅读全文
posted @ 2019-09-26 10:41 滴滴滴 阅读(440) 评论(0) 推荐(0)
摘要: # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; #根据路由设置,避免出现404 location ^~ /api/ { add_header 'Access-Control-Allow-Origin' '*'; proxy_pass http://servic 阅读全文
posted @ 2019-09-24 14:35 滴滴滴 阅读(456) 评论(0) 推荐(0)
摘要: etcd常用命令记录 1.查看etcd的版本 [root@etcd01 ssl]# curl -L http://127.0.0.1:2379/version {"etcdserver":"3.3.10","etcdcluster":"3.3.0"} 2.查看etcd暴露出来的prometheus指 阅读全文
posted @ 2019-09-05 09:40 滴滴滴 阅读(9997) 评论(0) 推荐(2)
摘要: 1、查看当前内核版本 $ uname -r 3.10.0-514.el7.x86_64 $ uname -a Linux k8s-master 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 阅读全文
posted @ 2019-09-04 10:05 滴滴滴 阅读(1008) 评论(0) 推荐(0)
摘要: socat管理haproxy配置 haproxy是可以通过socat命令管理haproxy.cfg文件的;1.安装socat yum install socat -y 2.配置haproxy.cfg,启动socket 修改:stats socket /var/lib/haproxy/stats 修改 阅读全文
posted @ 2019-09-04 08:52 滴滴滴 阅读(496) 评论(0) 推荐(0)
摘要: # cat > /etc/apt/sources.list << EOF> deb http://mirrors.aliyun.com/debian/ stretch main non-free contribdeb-src http://mirrors.aliyun.com/debian/ str 阅读全文
posted @ 2019-09-01 14:43 滴滴滴 阅读(3978) 评论(0) 推荐(0)
摘要: 在容器中使用systemctl报Failed to get D-Bus connection: Operation not permitted的错误,则在启动的时候把sys/fs/cgroup映射到docker容器中。 docker run --privileged --name=test --ho 阅读全文
posted @ 2019-09-01 12:41 滴滴滴 阅读(2435) 评论(0) 推荐(0)
摘要: 一、关于VXLAN VXLAN 是 Virtual eXtensible LANs 的缩写,它是对 VLAN 的一个扩展,是非常新的一个 tunnel 技术,在Open vSwitch中应用也非常多。Linux 内核的 upstream 中也刚刚加入 VXLAN 的实现。相比 GRE tunnel 阅读全文
posted @ 2019-08-30 09:23 滴滴滴 阅读(848) 评论(0) 推荐(0)
摘要: 一、Docker主机间容器通信的解决方案 Docker网络驱动 第三方网络项目 隧道方案 -- Flannel: 支持UDP和VLAN封装传输方式 -- Weave: 支持UDP(sleeve模式)和 VXLAN(优先fastdb模式) -- OpenvSwitch: 支持VXLAN和GRE协议 路 阅读全文
posted @ 2019-08-30 09:14 滴滴滴 阅读(795) 评论(0) 推荐(0)
摘要: 进程优先级起作用的方式从发明以来基本没有什么变化,无论是只有一个cpu的时代,还是多核cpu时代,都是通过控制进程占用cpu时间的长短来实现的。 就是说在同一个调度周期中,优先级高的进程占用的时间长些,而优先级低的进程占用的短些。 请大家真的不要混淆了系统中的这两个概念:nice(NI)和prior 阅读全文
posted @ 2019-08-29 10:51 滴滴滴 阅读(1276) 评论(0) 推荐(0)
上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 129 下一页