20 April, 2018

Running Kubernetes on AppVeyor with minikube

When I was playing with Kubernetes I made a lot of notes how to do things. Then I realized it may be handy to put those notes to Github and let them go through some CI to be sure they are correct.

I was looking for some way how to run Kubernetes via minikube in Travis CI and there are "some" ways: https://blog.travis-ci.com/2017-10-26-running-kubernetes-on-travis-ci-with-minikube

Unfortunately I didn't have much luck with latest minikube (0.26) and latest Kubernetes (1.10) when I tried to make it working on Travis.
It looks like there are some problems with running the latest stuff on Travis and people are using older Kubernetes/minikube versions (like here: https://github.com/LiliC/travis-minikube/blob/master/.travis.yml).

Instead of troubleshoot Travis CI - I decided to use AppVeyor.

18 April, 2018

Create Kubernetes Multinode Cluster using multiple VMs

If you need to run single node Kubernetes cluster for testing then minikube is your choice.

But sometimes you need to run tests on a multinode cluster running on multiple VMs.

There are many ways how to install Kubernetes Multinode Cluster but I choose these projects kubeadm and kubespray.

  • Kubespray is handy for enterprise installations where HA is a must, but it can be used for standard testing if you have Ansible installed.
  • Kubeadm is official tool for Kubernetes installation, but it needs more love when you want to use it in enterprise to configure HA.