官术网_书友最值得收藏!

Installation

You will need a few tools to get Kubernetes running on your workstation:

  • kubectl is the Kubernetes command-line interface. Throughout this book, you will be using it to interact with Kubernetes.
In the Kubernetes community, no one agrees how to pronounce kubectl.

Try out these different ways and choose your favorite:

    kube-kuttle
    kube-control
    kube-cee-tee-ell
    kube-cuddle
  • minikube is a command that manages Kubernetes on your local machine. It handles all the hard stuff, so you can get started with Kubernetes straight away.
  • docker, the minikube virtual machine, has the Docker daemon running internally, but you might need the Docker command line installed on your workstation if you want to interact with it directly.

It is best to use Minikube in conjunction with a virtual machine, as platforms like macOS and Windows don't natively support Linux containers, and even on Linux it helps to keep your environment clean and isolated. There are various virtualization tools you can use with minikube, depending on your operating system:

  • VirtualBox: It is simple to use and can be installed on macOS, Windows, and Linux.
  • VMware Fusion: It is a commercial tool available on macOS.
  • KVM: It is a well-known Linux virtualization tool.
  • xhyve: It is an open source project that utilizes the native hypervisor framework in macOS. It performs very well but can be a little harder to install and use.
  • Hyper-V: It is the native virtualization tool for Windows. Remember, you might need to manually enable it on your machine and set up its networking.

In this book, we are going to cover the default option, VirtualBox, but if you are using Minikube regularly, you might want to explore some of the other options, as they can be more performant and reliable if set up correctly.

You can find some documentation about the different drivers available at https://git.k8s.io/minikube/docs/drivers.md.

主站蜘蛛池模板: 轮台县| 阿拉善右旗| 泾川县| 醴陵市| 寿光市| 松原市| 开远市| 九龙县| 佛山市| 高雄市| 京山县| 江源县| 余庆县| 福鼎市| 周至县| 庄河市| 翁源县| 祥云县| 葵青区| 无锡市| 光山县| 江门市| 万荣县| 营口市| 三河市| 巨鹿县| 漾濞| 剑川县| 芒康县| 浠水县| 龙海市| 七台河市| 萍乡市| 嘉善县| 天津市| 金川县| 抚州市| 东源县| 通榆县| 贡嘎县| 葫芦岛市|