Skip to main contentKubernetes   Training

Prerequisites for Mac

You must have the following setup on your PC:

  • Podman
  • Minikube
  • Git

This requires a minimum of:

  • 2 physical CPU cores
  • 6 GB of free memory

For the MeshNetwork (Istio) Lab you need a minimum of:

  • 4 physical CPU cores
  • 9 GB of free memory

🚀 TASK: Install prerequisites on Mac

  1. Install Homebrew

    Follow the instructions 🌏 here to install Homebrew on your Mac.

  1. Install CLI Tools

    🌏 Detailed Documentation for the Task
    brew install kubernetes-cli
  2. Install Podman and Podman Desktop

    🌏 Detailed Documentation for the Task

    Download the App and install manually or

    brew install --cask podman-desktop
  3. Start Podman from the command line

    export CONTAINERS_MACHINE_PROVIDER=applehv
    podman machine init --cpus 4 --memory 6666
    podman machine start
<InlineNotification kind="warning">
If you get errors regarding 'krunkit' binary, make sure that you select the Apple Hypervisor as runtime.
</InlineNotification>
  1. Start Podman from the Podman Desktop

    • Open Podman Desktop
    • Go to Settings
    • Click Create New under Podman
    • Make sure you select Apple Hypervisor under Provider type
    • Hit Create
![K8s CNI](./../images/podman1.png)
  1. Install Minikube

    🌏 Detailed Documentation for the Task
    1. Install Minikube

      brew install minikube
    2. Start Minikube

      minikube start --driver=podman --container-runtime=containerd

    or use the Podman Desktop.

  1. Install some addons we will need later

    minikube addons enable registry
    minikube addons enable ingress
    minikube addons enable dashboard
    minikube addons list|grep enabled
    | dashboard | minikube | enabled ✅ | Kubernetes |
    | default-storageclass | minikube | enabled ✅ | Kubernetes |
    | ingress | minikube | enabled ✅ | Kubernetes |
    | registry | minikube | enabled ✅ | Google |
    | storage-provisioner | minikube | enabled ✅ | Google |