码迷,mamicode.com
首页 > 其他好文 > 详细

Kubeadm 安装

时间:2017-07-26 14:47:15      阅读:696      评论:0      收藏:0      [点我收藏+]

标签:group   hat   created   mda   span   local   clu   map   emd   

 


已解决:

 

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

Kubeadm 安装

标签:group   hat   created   mda   span   local   clu   map   emd   

原文地址:http://www.cnblogs.com/pinganzi/p/7239328.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!