用kubeadm在Ubuntu16.04上搭建构建Kubernetes集群

  1. apt 镜像配置,版本配置,网络方案
    镜像:vim /etc/apt/sources.list (把其他的deb 注释掉)
    # 系统安装源
    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
    deb http://mirrors.aliyun.com/ubuntu/ xenial universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    # kubeadm及kubernetes组件安装源
    deb https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial main
    
    版本:
    Ubuntu :16.04
    Docker :17.03.2-ce (apt默认安装版本)
    Kubernates: v1.10.1
    Kubeadm : 1.10.1-00
    Kubelet : 1.10.1-00
    Kubectl : 1.10.1-00
    Flannel : v0.9.1-am64(网络方案)
    主节点镜像及版本:
    用kubeadm在Ubuntu16.04上搭建构建Kubernetes集群_第1张图片
    Worker节点及镜像:

你可能感兴趣的:(k8s)