Windows10 从0搭建k8s

 1. 安装VirtualBox + Centos
 https://blog.csdn.net/qq_37316272/article/details/87691835
 一些问题以及解决办法:
 https://blog.csdn.net/moso_wang/article/details/118688136?spm=1001.2014.3001.5502
 https://blog.csdn.net/qq_37316272/article/details/87695260?spm=1001.2014.3001.5501
 2. 搭建成功,基本命令:

kubernetes init 报错:ERROR ImagePull]: failed to pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0: output: Error response from daemon: manifest for registry.aliyuncs.com/google_containers/coredns:v1.8.0 not found: manifest unknown: manifest unknown

可以参考:https://blog.51cto.com/8999a/2784605
 搭建k8s(前6步有用):https://www.kubernetes.org.cn/7189.html
从第7步开始:按照这个教程:https://www.jianshu.com/p/43f1f7ec2218
            获取recommended.yaml的地址是变化的,要在:https://github.com/kubernetes/dashboard 找到
    kubectl get node  查看节点,pod
    kubectl get pod --all-namespaces
    kubectl logs -f -n kubernetes-dashboard kubernetes-dashboard-67484c44f6-vbsmn
    
    node节点为NotReady,因为corednspod没有启动,缺少网络pod
    在最后查看token的时候,需要加一个步骤:
    kubectl -n kubernetes-dashboard get secret

下一篇介绍常用命令

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值