摘要:
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 阅读全文
摘要:
0.尝试强制删除不行 删除时带上–force --grace-period=0参数 ,无法删除;kubectl delete namespace rook-ceph --force --grace-period=0 1.kubectl get namespace monitoring -o json 阅读全文
摘要:
1.kubespray的配置文件 2.kubelet的配置文件 3.重启kubelet 4.https://github.com/coreos/kube-prometheus 参考:https://www.jianshu.com/p/2fbbe767870d 阅读全文
摘要:
1.安装前的修改配置 阅读全文
摘要:
1.nginx svc deployment [root@k8s k8s4nginx]# cat deploynginx.yaml ################################# apiVersion: v1 kind: Service metadata: name: nginx 阅读全文
摘要:
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* 阅读全文
摘要:
1.yaml文件如下 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
1.星期五全量备份星期四23:59:59的数据,星期一全量备份到星期日23:59:59的数据,其他的增量备份,备份前一天00:00:00 - 23:59:59的数据 1.增量备份脚本 3.全量备份脚本 阅读全文