• Install minikube on an Apple Sillicon without Docker Desktop

    4 min read

    minikube docker colima apple M1 arm64 apple sillicon

    If you try to install minikube on an Apple Sillicon (such as Apple M1, M2...) you will face that some hypervisors doesn't support arm64 yet. Using Docker Destop, on the other hand, has recently changed it's license so it might not be suitable to you

    $ minikube start
    😄  minikube v1.26.1 on Darwin 12.5.1 (arm64)  Automatically selected the parallels driver. Other choices: ssh, qemu2 (experimental)
    
      Exiting due to DRV_UNSUPPORTED_OS: The driver 'parallels' is not supported on darwin/arm64
    
    $ minikube start --driver docker
    😄  minikube v1.26.1 on Darwin 12.5.1 (arm64)  Using the docker driver based on user configuration
    
    💣  Exiting due to PROVIDER_DOCKER_NOT_RUNNING: "docker version --format -" exit status 1: Cannot connect to the Docker daemon at unix:///Users/jordiprats/.rd/docker.sock. Is the docker daemon running?
    💡  Suggestion: Start the Docker service
    📘  Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/
    

    There are several alternatives to Docker Desktop but the one that I found more convenient and easier to install is Colima

    14/09/2022

    Read more...
  • Connect via ssh to a minikube node

    3 min read

    minikube ssh connect node

    minikube is a great tool for testing: For some activities we might need to access via ssh to the kubernetes nodes, minikube even provides a command to do it so we don't even have to break a sweat

    09/05/2022

    Read more...
  • Run multiple multiple clusters with minikube

    3 min read

    minikube multiple clusters profile

    Whenever we need to test something on a Kubernetes clusters one of the easier (and cheaper) option is test it out using minikube. However, how do we test a feature that require multiple clusters?

    21/03/2022

    Read more...
  • List all the images a minikube is using

    2 min read

    minikube images

    Running applications on minikube is a great test bed, but it can get messy pretty easily. That's specially true if there are several people messing with it.

    It might be useful to retrieve all the images we are using to run the services. For this we can either describe all the Pods on all the Namespaces or check that the minikube image ls command

    17/03/2022

    Read more...
  • How to mount a host directory on minikube

    2 min read

    minikube mount host directory

    To be able to test Kubernetes applications, minikube is a great tool: You can create an ephemeral Kubernetes cluster to test whatever is needed and delete it as easily as it was created. Futhermore, since it can use your computer's resources you won't get billed as you would if you'd choose to use a cloud provider.

    Another advantage is that we can make available local directories to the cluster using minikube mount

    14/03/2022

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets