安装

Kubernetes 安装 #

安装方式对比 #

Minikube Github stars

Pros:

  • Mature solution
  • Works on Windows (any version and edition), Mac and Linux
  • Multiple drivers that can match any environment
  • Installs several plugins (such as dashboard) by default
  • Very flexible on installation requirements and upgrades

Cons:

  • Installation and removal not as streamlined as other solutions
  • Does not integrate into the MacOS UI

Docker Desktop

Pros:

  • Very easy installation for beginners
  • All-in-one Docker and Kubernetes solution
  • Configurable via UI

Cons:

  • Relatively new, possibly unstable
  • Limited configuration options (i.e. driver support)

参考

Minikube Github stars

Pros:

  • Mature solution
  • Works on Windows (any version and edition), Mac and Linux
  • Multiple drivers that can match any environment
  • Can work with or without an intermediate VM on Linux (vmdriver=none)
  • Installs several plugins (such as dashboard) by default
  • Very flexible on installation requirements and upgrades

Cons:

  • Installation and removal not as streamlined as other solutions
  • Can conflict with local installation of other tools (such as Virtualbox)

MicroK8s Github stars

Pros:

  • Very easy to install, upgrade, remove
  • Completely isolated from other tools in your machine
  • Does not need a VM, all services run locally

Cons:

  • Only available for Snap supported Linux Distributions
  • Relatively new, possible unstable
  • Minikube can also run directly on Linux (vmdriver=none), so MicroK8s value proposition is diminished

参考

Minikube Github stars

Pros:

  • Mature solution
  • Works on Windows (any version and edition), Mac and Linux
  • Multiple drivers that can match any environment
  • Can work with or without an intermediate VM on Linux (vmdriver=none)
  • Installs several plugins (such as dashboard) by default
  • Very flexible on installation requirements and upgrades

Cons:

  • Installation and removal not as streamlined as other solutions
  • Can conflict with local installation of other tools (such as Virtualbox)

Docker Desktop

Pros:

  • Very easy installation for beginners
  • The best solution for running Windows containers
  • Integrated Docker and Kubernetes solution

Cons:

  • Requires Windows 10 Pro edition and Hyper V
  • Cannot use simultaneously with Virtualbox, Vagrant etc
  • Relatively new, possibly unstable
  • The sole solution for running Windows containers

参考

kind #

kubernetes-sigs/kind Github stars

Kubernetes IN Docker - local clusters for testing Kubernetes


教程 #

和我一步步部署 kubernetes 集群 #

opsnull/follow-me-install-kubernetes-cluster Github stars Language Last Tag Last commit

本系列文档介绍使用二进制部署 kubernetes v1.16.6 集群的所有步骤(Hard-Way 模式)。

在部署的过程中,将详细列出各组件的启动参数,它们的含义和可能遇到的问题。

https://k8s-install.opsnull.com/


本文访问量

本站总访问量

本站总访客数 人次