Skip to content

安装 Kubenetes 的一些问题 #30

@Riunshow

Description

@Riunshow
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthzefused.

[root@master ~]# vim /etc/docker/daemon.json

{
...
"exec-opts": ["native.cgroupdriver=systemd"],
...
}

[root@master ~]# systemctl restart docker

[root@master ~]# kubeadm reset -f


[root@master ~]# kubeadm init \
>   --apiserver-advertise-address=192.168.31.202 \
>   --image-repository registry.aliyuncs.com/google_containers \
>   --service-cidr=10.96.0.0/12 \
>   --pod-network-cidr=10.244.0.0/16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions