5 - 系统镜像


v0.1.6之前,当RKE部署Kubernetes时,会提取几个镜像,这些镜像用作Kubernetes系统组件。从v0.1.6开始,几个系统镜像的功能合并到一个rancher/rke-tools镜像中,以简化和加快部署过程。

您可以分别配置network plug-ins, ingress controllerdns provider以及这些插件的设置选项。这是用于通过RKE部署Kubernetes的完整系统镜像列表的示例,镜像版本依赖于所使用的Kubernetes image/version

Note: 随着RKE版本的发布,这些镜像上的标签将不再是最新的。此列表是特定v1.10.3-rancher2版本。

  1. system_images:
  2. etcd: rancher/coreos-etcd:v3.2.24
  3. alpine: rancher/rke-tools:v0.1.24
  4. nginx_proxy: rancher/rke-tools:v0.1.24
  5. cert_downloader: rancher/rke-tools:v0.1.24
  6. kubernetes: rancher/hyperkube:v1.13.1-rancher1
  7. kubernetes_services_sidecar: rancher/rke-tools:v0.1.24
  8. pod_infra_container: rancher/pause-amd64:3.1
  9. # kube-dns images
  10. kubedns: rancher/k8s-dns-kube-dns-amd64:1.15.0
  11. dnsmasq: rancher/k8s-dns-dnsmasq-nanny-amd64:1.15.0
  12. kubedns_sidecar: rancher/k8s-dns-sidecar-amd64:1.15.0
  13. kubedns_autoscaler: rancher/cluster-proportional-autoscaler-amd64:1.0.0
  14. # CoreDNS images
  15. coredns: coredns/coredns:1.2.6
  16. coredns_autoscaler: rancher/cluster-proportional-autoscaler-amd64:1.0.0
  17. # Flannel images
  18. flannel: rancher/coreos-flannel:v0.10.0
  19. flannel_cni: rancher/coreos-flannel-cni:v0.3.0
  20. # Calico images
  21. calico_node: rancher/calico-node:v3.4.0
  22. calico_cni: rancher/calico-cni:v3.4.0
  23. calico_controllers: ""
  24. calico_ctl: rancher/calico-ctl:v2.0.0
  25. # Canal images
  26. canal_node: rancher/calico-node:v3.4.0
  27. canal_cni: rancher/calico-cni:v3.4.0
  28. canal_flannel: rancher/coreos-flannel:v0.10.0
  29. # Weave images
  30. weave_node: weaveworks/weave-kube:2.5.0
  31. weave_cni: weaveworks/weave-npc:2.5.0
  32. # Ingress controller images
  33. ingress: rancher/nginx-ingress-controller:0.21.0-rancher1
  34. ingress_backend: rancher/nginx-ingress-controller-defaultbackend:1.4
  35. # Metrics server image
  36. metrics_server: rancher/metrics-server-amd64:v0.3.1

v0.1.6之前,我们使用以下镜像代替rancher/rke-tools镜像:

  1. system_images:
  2. alpine: alpine:latest
  3. nginx_proxy: rancher/rke-nginx-proxy:v0.1.1
  4. cert_downloader: rancher/rke-cert-deployer:v0.1.1
  5. kubernetes_services_sidecar: rancher/rke-service-sidekick:v0.1.0