大家好,又见面了,我是全栈君。
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安装kubeadm和kubelet
接下来安装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
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/108300.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...