Kubeadm 安装

Kubeadm 安装

大家好,又见面了,我是全栈君。

 version 1.7.0


已解决:

 

echo “1” > /proc/sys/net/bridge/bridge-nf-call-iptables

 

 

error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: “systemd” is different from docker cgroup driver: “cgroupfs”

https://github.com/kubernetes/kubernetes/issues/43805

https://github.com/kubernetes/kubernetes/issues/43815

 

 

Kubeadm init —skip-preflight-checks

 

 

The connection to the server localhost:8080 was refused – did you specify the right host or port?

https://github.com/kubernetes/kubernetes/issues/44665

 

 

$ kubectl get pods –all-namespaces

kube-flannel-ds-6sqld             1/2       CrashLoopBackOff

https://github.com/kubernetes/kubernetes/issues/44029

 

 

FailedScheduling No nodes are available that match all of the following predicates:: PodToleratesNodeTaints (1).

https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#limitations

Note that the Sock Shop demo only works on amd64.

 

Dashboard  <h3>Unauthorized</h3>

https://github.com/kubernetes/dashboard/issues/692

kubectl proxy –address=’0.0.0.0′ –port=8001 –accept-hosts=’^*$’

 

 

Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of “crypto/rsa: verification error” while trying to verify candidate authority certificate “kubernetes”)

https://github.com/kubernetes/kubernetes/issues/48378

 

 

Dns 总是CrashLoopBackOff

http://blog.frognew.com/2017/07/kubeadm-install-kubernetes-1.7.html#2安装kubeadmkubelet

接下来安装flannel network add-on

mkdir -p ~/k8s/

wget https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel-rbac.yml

wget https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

kubectl create -f kube-flannel-rbac.yml

kubectl apply -f  kube-flannel.yml

serviceaccount “flannel” created

configmap “kube-flannel-cfg” created

daemonset “kube-flannel-ds” created

 

 

重启host后需要重新init

转载于:https://www.cnblogs.com/pinganzi/p/7239328.html

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/108300.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • PyCharm安装库numpy失败的解决方法

    PyCharm安装库numpy失败的解决方法事情是这样的,博主初学python和机器学习,在跑一个代码的时候被提示出现以下错误:(能被提示出现这个错误,可见确实是初学了!)图1:跑代码时候的报错注:图1是安装好了numpy后出现的第二个错误,错误本质是一样的,都是缺少某个库百度查资料后得知在PyCharm中有一个安装库的方法是:Settings>>PythonInterpreter>>点击图2中红色圈起来的加号,出现图3图2:安装库的一个方法图3:点击图2的加号后出现的界面顺利的话,只

    2022年8月25日
    16
  • Atitit. 拉开拉链zip文件 最佳实践实施 java c# .net php

    Atitit. 拉开拉链zip文件 最佳实践实施 java c# .net php

    2022年1月4日
    49
  • 如何破解运动世界校园模拟器检测

    本文已过时最新版不可用最早用安卓上的PacketCapture抓到http包只要删除对应模拟器文件就可以后来变成了https又对emulatorUrls进行了加密再追加了几个文件就难倒了一批菜鸡软件使用360加固直接逆向难度不小选择曲线救国第一次用Flidder的autoresponder直接把emulatorUrls的值清零返回.

    2022年4月7日
    145
  • 朋友圈、浏览器分享实现

    朋友圈、浏览器分享实现

    2021年10月28日
    101
  • win10安装vmware虚拟机蓝屏_安装完mac虚拟机出现蓝屏

    win10安装vmware虚拟机蓝屏_安装完mac虚拟机出现蓝屏我们在创建虚拟机的时候,选择的是去创建一个默认的虚拟机,然后创建完成直接将系统装在了这个虚拟机中而这,就是这个问题的所在,对于网上下载的sp3_iso系统来讲,是需要一个ida的硬盘,就是要将虚拟机的硬盘模式重新设置一下对当前虚拟机进行设置,将原来的硬盘删除掉,重新添加HardDisk(也就是硬盘的意思)我们选择这个HardDisk选项,点击下一步然后我们出现了这样一…

    2022年8月16日
    7
  • 英语基础词汇_16天背完初中英语单词

    英语基础词汇_16天背完初中英语单词高频1500todaysoulsongconsidersellpauseriveruglydelayfinishangrybearwelcomepoorrailwaygrowthbuspilotpastpossessionunitdresselsementionhillunclelossdistanceaccepthanghurryquiteofficermarkwaroutsidesoldierthanformerpraise

    2022年9月25日
    5

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号