Skip to main content

Posts

Showing posts from February, 2019

Setting up the Kubernetes dashboard in Minkube

Containerization and orchestration (in our case, Kubernetes) is amazing, cutting-edge technology. Even though Kubernetes is pretty solid, there still may be a need to look at logs and see things from a UI perspective. Today we'll be setting up the Kubernetes dashboard.

There are some pre-reqs: 1. Installation of minikube. In my case, I'm using a Mac, so I "brew cask install minikube". 2. VirtualBox (minikube requires a virtual network) 3. Coffee


The first thing we want to do is ensure Minkube is started.

minikube start



Now that minikube is started, let's confirm that the service is up.

kubectl get svc



Now we can go ahead and install the dashboard! Run the following:

kubectl apply -f https://gist.githubusercontent.com/initcron/32ff89394c881414ea7ef7f4d3a1d499/raw/4863613585d05f9360321c7141cc32b8aa305605/kube-dashboard.yaml


Once the dashboard is installed, we're ready to rock & roll. Run minikube dashboard in your terminal. A web page should pop up for the da…

Spinning up a Kubernetes cluster with Kubeadm

In today's world, we have several public cloud technologies that will ultimately help us with spinning up these infrastructures. This however comes with a price. Because a public cloud provider (like AWS or Azure) handles the API/master server and networking, you'll get something up quick, but miss some key lessons of spinning up a Kubernetes cluster. Today, I'll help you with that.

There are some pre-reqs for this blog:
1. At least 3 VM's. In my case, I'm using my ESXi 6.7 server at home.
2. Basic knowledge/understanding of what Kubernetes is utilized for.
3. Windows, Mac, or Linux desktop. For this blog, I am using Windows 10.

The first thing you want to do is spin up three virtual machines running Ubuntu18.04. You can use a RHEL based system, but the commands I show and run (including the repos I'm using) will be different.

I have already set up my 3 virtual machines. I gave them static IP addresses as I have found API/configuration issues if the VM shuts do…