手动搭建高可用Kubernetes集群

用二进制纯手动搭建高可用的Kubernetes集群

人数:227人 时长:3.6 小时 状态: 已完结

当前视频需要购买后才能观看

kubernetes master 节点包含的组件有:

  • kube-apiserver
  • kube-scheduler
  • kube-controller-manager

这3个组件需要部署到同一台机器上

kube-schedulerkube-controller-managerkube-apiserver 三者的功能紧密相关; 同时只能有一个 kube-scheduler、kube-controller-manager 进程处于工作状态,如果运行多个,则需要通过选举产生一个 leader。

本节课就给大家介绍 master 节点的搭建过程。

渡尘 渡尘

执行kube-controller-manager报错,请问怎么解决,错误如下: error retrieving resource lock kube-system/kube-controller-manager: Get http://k8s-api.virtual.local:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp: lookup k8s-api.virtual.local on 192.168.179.2:53: no such host E0916 10:21:45.442424 4020 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get http://k8s-api.virtual.local:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp: lookup k8s-api.virtual.local on 192.168.179.2:53: no such host E0916 10:21:49.111299 4020 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get http://k8s-api.virtual.local:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp: lookup k8s-api.virtual.local on 192.168.179.2:53: no such host E0916 10:21:54.508657 4020 leaderelection.go:224] error retrieving resource lock kube-system/kube-controller-manager: Get http://k8s-api.virtual.local:8080/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp: lookup k8s-api.virtual.local on 192.168.179.2:53: no such host

时间:2018-09-16
[讲师回复]
课程:手动搭建高可用Kubernetes集群
作者:阳明
人数:227人
时长:3.6 小时
状态: 已完结