上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 70 下一页
摘要: 0.修改umask后apache报错:because search permissions are missing on a component of the path, 1.ls -lrth ./htdocs/ rwx 2.处理方法:chmod -R o+rxw ./htdocs 阅读全文
posted @ 2019-09-24 11:24 littlevigra 阅读(3488) 评论(0) 推荐(0) 编辑
摘要: 0.尝试强制删除不行 删除时带上–force --grace-period=0参数 ,无法删除;kubectl delete namespace rook-ceph --force --grace-period=0 1.kubectl get namespace monitoring -o json 阅读全文
posted @ 2019-09-23 11:38 littlevigra 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 1.kubespray的配置文件 2.kubelet的配置文件 3.重启kubelet 4.https://github.com/coreos/kube-prometheus 参考:https://www.jianshu.com/p/2fbbe767870d 阅读全文
posted @ 2019-09-21 18:17 littlevigra 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1.安装前的修改配置 阅读全文
posted @ 2019-09-21 17:58 littlevigra 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 1.nginx svc deployment [root@k8s k8s4nginx]# cat deploynginx.yaml ################################# apiVersion: v1 kind: Service metadata: name: nginx 阅读全文
posted @ 2019-09-20 15:40 littlevigra 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 1.拿包 wgethttps://github.com/kubernetes/kube-state-metrics/archive/v1.7.2.tar.gz 2.tar -zxf v1.7.2.tar.gz ; cd kube-metric 3.kubectl apply -f kube* 阅读全文
posted @ 2019-09-19 19:29 littlevigra 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1.yaml文件如下 阅读全文
posted @ 2019-09-19 18:12 littlevigra 阅读(3115) 评论(0) 推荐(0) 编辑
摘要: 1.安装和配置prometheus tar zxvf prometheus-2.3.0.linux-amd64.tar.gz -C /usr/local/ ln -sv /usr/local/prometheus-2.3.0.linux-amd64/ /usr/local/prometheus cd 阅读全文
posted @ 2019-09-19 15:20 littlevigra 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1.多条件查询 curl -X POST \ http://10.0.0.42:9200/addressbook_user/_search \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \ -d '{ "qu 阅读全文
posted @ 2019-09-18 17:22 littlevigra 阅读(296) 评论(4) 推荐(0) 编辑
摘要: 1.星期五全量备份星期四23:59:59的数据,星期一全量备份到星期日23:59:59的数据,其他的增量备份,备份前一天00:00:00 - 23:59:59的数据 1.增量备份脚本 3.全量备份脚本 阅读全文
posted @ 2019-09-17 14:54 littlevigra 阅读(1825) 评论(1) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 70 下一页