使用kubespray安装kubernetes

https://github.com/kubernetes-sigs/kubespray
https://www.kubernetes.org.cn/5012.html
按官方教程在自己的inventory/mycluster/group_vars/all/all.yml和inventory/mycluster/group_vars/k8s-cluster/k8s-cluster.yml添加以下内容

kube_image_repo: "registry.cn-hangzhou.aliyuncs.com/google_containers"
calico_policy_image_repo: "calico/kube-controllers"
pod_infra_image_repo: "mirrorgooglecontainers/pause-{{ image_arch }}"
kubedns_image_repo: "google_containers/k8s-dns-kube-dns-{{ image_arch }}"
dnsmasq_nanny_image_repo: "google_containers/k8s-dns-dnsmasq-nanny-{{ image_arch }}"
dnsmasq_sidecar_image_repo: "google_containers/k8s-dns-sidecar-{{ image_arch }}"
dnsmasqautoscaler_image_repo: "mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"
dnsautoscaler_image_repo: "mirrorgooglecontainers/cluster-proportional-autoscaler-{{ image_arch }}"
registry_proxy_image_repo: "google_containers/kube-registry-proxy"
dashboard_image_repo: "mirrorgooglecontainers/kubernetes-dashboard-{{ image_arch }}"
上一篇:Android打包(一)


下一篇:Hadoop生态系统介绍(转载)