黑白玩家
博主:欢迎大家进行技术交流
posts - 78,comments - 44,views - 14万
12 2020 档案
解决k8s Get http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: connect: connection refused
摘要:安装完k8s集群之后很可能会出现一下情况: [root@master1 ~]# kubectl get cs NAME STATUS MESSAGE ERROR scheduler Unhealthy Get http://127.0.0.1:10251/healthz: dial tcp 127. 阅读全文
posted @ 2020-12-26 02:57 黑白玩家 阅读(4130) 评论(0) 推荐(0) 编辑
k8s集群安装KubeSphere3.0
摘要:架构: 前提条件: k8s集群版本必须是1.15.x, 1.16.x, 1.17.x, or 1.18.x 必须有默认的storageclass 内存和cpu最低要求:CPU > 1 Core, Memory > 2 G 安装并设置默认storageclass略过,可以看之前的我发过的博客https 阅读全文
posted @ 2020-12-13 23:47 黑白玩家 阅读(3934) 评论(2) 推荐(1) 编辑
k8s基于NFS部署storageclass实现pv并标记为一个默认的StorageClass
摘要:架构: 一. 搭建storageclass 1、master和node节点安装nfs服务 yum -y install nfs-utils rpcbind 2、启动nfs并设为开机自启: systemctl start nfs && systemctl enable nfs systemctl st 阅读全文
posted @ 2020-12-13 23:30 黑白玩家 阅读(2476) 评论(3) 推荐(1) 编辑
k8s提示certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")
摘要:原因:这是在重新创建集群之前,原来集群的rm -rf $HOME/.kube文件没有删除,所以导致了认证失去作用。 解决方法1: 1、删除这个路径下的文件 rm -rf $HOME/.kube 2、重新执行命令 mkdir -p $HOME/.kube sudo cp -i /etc/kuberne 阅读全文
posted @ 2020-12-11 19:51 黑白玩家 阅读(11926) 评论(1) 推荐(2) 编辑
k8s安装Prometheus+Grafana
摘要:k8s集群略过,之前有发布过k8s高可用集群博客,可以访问连接 https://www.cnblogs.com/lfl17718347843/p/13417304.html 1.克隆github项目 https://gitee.com/liugpwwwroot/k8s-prometheus-graf 阅读全文
posted @ 2020-12-10 16:27 黑白玩家 阅读(6675) 评论(0) 推荐(1) 编辑
mysql数据库查询结果导出
摘要:1.连接数据库 mysql -h ip -u xxx -p xxxx 2.选择databases use lottery_25; 3.指定导出文件 pager cat > /tmp/1hao-1007.csv; 4.执行sql select xxxxx 1hao-1007.csv:1hao-1007 阅读全文
posted @ 2020-12-09 20:43 黑白玩家 阅读(648) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示