1. Install Homebrew

  2. Install Docker for Mac - https://www.docker.com/

  3. Install kubectl - brew install kubectl 官网:https://kubernetes.io/docs/tasks/tools/

  4. Install Minikube - brew install minikube 官网: https://github.com/kubernetes/minikube

  5. Install helm - brew install kubernetes-helm

  6. 使用

    which minikube
    minikube start
    kubectl api-versions
    helm version
  7. 各个功能的介绍

  • Minikube is a Kubernetes-specific package that runs a Kubernetes cluster on your machine. That cluster has a single node and has some unique features that make it more suitable for local development. Minikube tells VirtualBox to run. Minikube can use other virtualization tools—not just VirtualBox—however these require extra configuration.
  • kubectl is the command line application that lets you interact with your Minikube Kubernetes cluster.
  • helm is K8S 的包管理工具