Why Kubernetes (and App Service Fabric) is not for everyone

Categories: Kubernetes Azure Service Fabric
Despite the fact that I love working with Kubernetes, it is not for every company and every containerized workload. This is my first post from the series: "Container Orchestrators are not for everyone". Enjoy! This is a short post in which I will try to encourage you to refrain from jumping immediately onto AKS or App Service Fabric if you just want to „deploy a couple of docker images”. When not to use container orchestrator When you have only a handful of services to orchestrate There is no point of setting up Kubernetes or Service Fabric if you want to deploy few applications.

Read More →

Kubernetes vs Azure Service Fabric

Categories: Kubernetes
Recently I have investigated container orchestration solutions on Azure. The main competitors in this area are Azure Kubernetes Service and Azure Service Fabric. Both have their place, advantages and downsides. This is a small smackdown of those two based on my research and experience with Kubernetes. Unfortunately I have not had practical experience with Service Fabric so far. Please let me know your thoughts in the comments section. Let’s start then.

Read More →

Jupyter on Kubernetes - the easy way

Categories: Kubernetes
Introduction I have been playing a bit more with Python recently. I wanted to test out some algorithms using this awesome tool called Project Jupyter. I also did not want to drain battery of my laptop while doing this, as I have a powerful machine at home running single node Kubernetes cluster. If you are interested in learning how to install such single-node-cluster on your old desktop, you can Find it here.

Read More →

Creating Grafana dashboards for Kubernetes

Categories: Kubernetes
In this blog post I will show you how to get started with grafana custom dashboard for Kubernetes. We will also be learning basics of Prometheus query language. Both of those tools are very useful in everyday of cluster admin’s and user’s life. Why you should learn Prometheus query language Grafana and Prometheus are very powerful tools that enable you to monitor almost anything about your Kubernetes cluster. They are, though, difficult to master.

Read More →

Custom vNet on Kubernetes on Azure with acs-engine

Categories: Kubernetes
These are a few quirks you might encounter when you deploy Kubernetes using acs-engine onto Azure cloud with pre-defined custom vNet. Deploying custom vNet is a common scenario in most of the use-cases. You usually want to run Kubernetes along other services on your Azure cloud, such as legacy applications. This article is intended to provide you with some guidance on how to avoid the same issues I have experienced during acs-engine deployments.

Read More →

Some Kubernetes notes on Azure acs-engine

Categories: Kubernetes
Summary Recently I've worked on deploying Kubernetes clusters using Azure acs-engine as a part of our automation effort at the firm. It is a very useful tool that generates ARM (Azure Resource Manager) templates with ready to-use deployments of Virtual Machines and Kubernetes components on them. It also supports other container orchestrators, such as DC/OS or Swar. However, I will focus only on Kubernetes in this article as this is the only ochestrator I use.

Read More →

Prometheus problem with container metrics (cAdvisor)

Categories: Kubernetes
Summary I've been fighting for the whole day with Prometheus and Grafana. It turns out the documentation about Prometheus and Grafa get outdated very quickly. Let me shed some light on both the problem and the solution. Intro I've been trying very hard to setup perfect grafana/prometheus configuration that I can apply to all of my clusters. This requires me to configure both of those services from YAML files, so that both prometheus and grafana start with prope configuration in place that are ready to be used.

Read More →

I have broken my Kubernetes cluster

Categories: Kubernetes
My Kubernetes cluster is down My single-node baremetal cluster using kubeadm and on calico networking plugin is down (link to the article here). The machine won't startup anymore and there is very mysterius error from cephlib reporting that it was unable to start. Few days ago I was playing with rook (https://github.com/rook/rook). Rook uses ceph to give you easy to use persistent volume experience. Everything was fine at this point until I started doing research on advanced Prometheus configuration.

Read More →