三云时光

三云时光

centos8 安装 Kubernetes(k8s)

一、在三台机器上准备一下操作 1、准备三台机器 192.168.137.23 k8s-master 192.168.137.24 k8s-node1 192.168.137.25 k8s-node2


云哥  1944  2020-04-15 阅读全文

k8s 解决 error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

在/etc/profile中配置 vim /etc/profile 在最后添加如下配置 export KUBECONFIG=/etc/kubernetes/admin.conf 执行命令使其起效 s


云哥  4029  2020-04-14 阅读全文

解决 执行kubectl get 命令 出现 Unable to connect to the server: net/http: TLS handshake timeout 问题

我在执行kubectl get nodes namespaces 结果等了好久都不行 还出了问题,报错信息如下: Unable to connect to the server: net/http:


云哥  4324  2020-04-14 阅读全文