Tag Archives: kubernetes

Getting started with Kubernetes

Kubernetes is the latest the latest hotness when it comes to technology used on the Internet. It has a distinct advantage of some of the previous trends in that it is very easy to get started learning.

Kubernetes and Docker for Mac

Like many people who love technology, I have Docker for Mac installed on my computer at home as well as at work. Why do I bring this up? Because if you have kept the software up to date you also, already, have Kubernetes installed.

If you do not have Docker for Mac installed: Click here.

Open Preferences for Docker in your toolbar and you’ll notice a familiar icon on the top bar:

Kuberentes preference Pane

Next, all you need to do is click the box next to Enable Kubernetes and then the Apply button. Next you’ll see a small popup that Kubernetes needs to be installed, click Install. That’s all it takes and and Kuberentes version 1.10.11 is stating up. Note, that you may want to click on the General tab as well and provide more memory.


Chances are you already have a connection to another cluster, such as one in Google Compute Cloud. You can easily change back and forth between that and your new Docker installation using contexts.

  • Run kubectl config get-contexts and it will list all of the available options. One of which will be your new installation.
  • Now, to use your Docker installation run kubectl config use-context docker-for-desktop
  • Next to double check that you’re up and running you can run something like kubectl describe nodes and look for a line which will say: OS Image: docker-for-desktop.

Minikube via Brew (Mac)

Installing Minikube on the Mac has a prerequisite in that you need a hypervisor. My recommendation is to go the free route and install Oracle’s VirtualBox.

Next up is to install Brew, if you do not already have it. I find this to be inavaluable installation on any Mac that I’m using.

After that all you need to do is run the following and Minikube will be installed!

brew cask install minikube

The following link will help you get started using Minikube!