etcd磁盘空间故障处理办法
查看etcd状态
etcdctl --cacert=/etc/kubernetes/ssl/ca.crt --cert=/etc/kubernetes/ssl/etcd_server.crt --key=/etc/kubernetes/ssl/etcd_server.key --endpoints=https://10.10.10.31:1159,https://10.10.10.32:1159,https://10.10.10.33:1159 endpoint status --write-out=table
etcd增加存储空间配置
ETCD_MAX_REQUEST_BYTES="10485760"
ETCD_QUOTA_BACKEND_BYTES="8589934592"
查看etcd 获取当前数据的修订版本(revision)
[root@ ~]# etcdctl --cacert=/
etc/kubernetes/ssl/ca.crt --cert=/etc/kubernetes/ssl/etcd_server.crt --key=/etc/kubernetes/ssl/etcd_server.key --endpoints=https://10.10.10.31:1159,https://10.10.10.32:1159,https://110.10.10.33:1159 endpoint status -w fields|grep Revision
"Revision" : 154105220
"Revision" : 154105220
"Revision" : 154105220
etcd整合压缩旧版本数据
原文地址:https://blog.csdn.net/qq_43753286/article/details/140579926
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!