上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: secret介绍 1、configmap都是明文存数据的,所以我们不能用它来访问,所以我们使用secret,但它比configmap要麻烦一点,只有敏感数据采用secrt来存放,比如你的私钥和证书,这个时候私钥和证书要放在secret中,其它内容应该放在configmap中,另外还有,比如我们连接m 阅读全文
posted @ 2019-11-28 15:19 大川哥 阅读(1117) 评论(1) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/7o8QxGydMTUe4Q7Tz46Diw 阅读全文
posted @ 2019-11-27 10:34 大川哥 阅读(91) 评论(0) 推荐(0) 编辑
摘要: kubernetes创建pod的yaml文件,参数说明 apiVersion: v1 #指定api版本,此值必须在kubectl apiversion中 kind: Pod #指定创建资源的角色/类型 metadata: #资源的元数据/属性 name: web04-pod #资源的名字,在同一个n 阅读全文
posted @ 2019-11-26 19:53 大川哥 阅读(8367) 评论(1) 推荐(0) 编辑
摘要: Pod控制器及其功用 https://www.cnblogs.com/linuxk/p/9578211.html Kubernetes学习之路(十二)之Pod控制器--ReplicaSet、Deployment https://www.cnblogs.com/linuxk/p/9578211.htm 阅读全文
posted @ 2019-11-15 16:15 大川哥 阅读(208) 评论(0) 推荐(0) 编辑
摘要: redis-3.2.13.tar.gz https://github.com/sohutv/cachecloud/ 1、安装启动 1.1 安装mysql 安装mysql数据库并初始化cachecloud.sql脚本 1.2 安装jdk 1.7.0_80 1.3 编译部署启动 在cachecloud根 阅读全文
posted @ 2019-11-14 14:54 大川哥 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 实现原理: 通过一个service选择标签版本号实现蓝绿不同版本的切换并结合ingress暴露服务。 一、1.0版(蓝) blue.yaml apiVersion: apps/v1beta1 kind: Deployment metadata: name: web-1.0 spec: replica 阅读全文
posted @ 2019-11-14 14:31 大川哥 阅读(327) 评论(0) 推荐(0) 编辑
摘要: log_format⽤用于设置⽇日志格式,格式为log_format 格式名 样式配置字段http默认的combinedlog_format combined '$remote_addr - $remote_user [$time_local] '' "$request" $status $body 阅读全文
posted @ 2019-11-04 13:54 大川哥 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1. TCP Segments type: GraphUnit: shortLabel: Segments out (-) / in (+)InCsumErrors - 接收的带有校验和错误的报文数(5分钟内)metrics:irate(node_netstat_Tcp_InCsumErrors{i 阅读全文
posted @ 2019-07-11 14:12 大川哥 阅读(5616) 评论(0) 推荐(1) 编辑
摘要: 1.编译安装nginx 安装前准备: service iptables stop setenforce 0 yum -y install pcre-devel zlib-devel useradd -M -s /sbin/nologin nginx 上传nginx源码包后 tar xf nginx- 阅读全文
posted @ 2019-05-22 15:27 大川哥 阅读(2241) 评论(0) 推荐(0) 编辑
摘要: 查询查询key个数sqlite>select count(*) from memory;查询总的内存占用sqlite> select sum(size_in_bytes) from memory;查询内存占用最高的10个keysqlite>select * from memory order by  阅读全文
posted @ 2019-05-14 09:38 大川哥 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页