
k8s
leonnew
这个作者很懒,什么都没留下…
展开
-
kubesphere安装使用的坑
最近工作需要安装了kubesphere(以下称为kube)这里总结一下遇到的问题:1、安装kube的时候会重新生成服务器的ssh key所以需要先检查一下/root/.ssh目录下面的公钥私钥,如果安装不了可以试下清空再安装就可以了。2、...原创 2022-05-11 13:27:40 · 1640 阅读 · 0 评论 -
harbor报错:Error response from daemon
docker login -u k8s http://172.26.6.33有如下报错Error response from daemon: Get "https://172.26.6.33:30002/v2/": http: server gave HTTP response to HTTPS client解决:编辑客户端的/etc/docker/daemon.json文件{ "log-opts": { "max-size": "5m", "max-file":"3...原创 2022-05-05 14:59:24 · 2089 阅读 · 0 评论 -
k8s环境部署
这里建议通过yum来安装,手动安装需要网络规划和证书安装,后期可以自己研究下安装要求:系统版本:CentOS7.x版本硬件配置:内存2GB以上 cpu2核以上 硬盘大于30G集群网络配置:集群中所有服务器内网必须互通,并且需要访问外网来拉取镜像禁用swap分区学习环境:学习目标:1.在所有节点安装Docker和kubeadm2.部署kubernetes Master3.部署容器网络插件4.部署kubernetes node,并将节点添加到kuberne..原创 2021-08-20 11:25:59 · 759 阅读 · 0 评论 -
kubectl get podThe connection to the server localhost:8080 was refused - did you s
今天在node节点发现不能查看pod了输入命令错误如下[root@node01 ~]# kubectl get podThe connection to the server localhost:8080 was refused - did you specify the right host or port?echo "export KUBECONFIG=/etc/kubernetes/kubelet.conf" >> /etc/profile然后source /etc/profil原创 2021-09-01 14:01:50 · 1089 阅读 · 0 评论