stytex Blog

topics all around development, DevOps and more

How to Setup & Recover a Self-hosted Kubeadm Kubernetes Cluster After Reboot

| Comments

introduction

In this article I will cover the quick setup of a self-hosted Kubernetes 1.9 cluster using kubeadm, with the ability to recover after a power cycle (e.g., reboot)

I started playing around with kubeadm again for a new project and was especially interested in the self-hosting feature, which is in alpha state. In short, self-hosted clusters host their control plane (api-server, controller-manager, scheduler) as a workload. Compared to the universe of compilers, self-hosting is when a compiler can correctly compile the source code of itself. In term of kubernetes, this simplifies upgrading clusters to a new version and more in-depth monitoring

Modernization

| Comments

Hello 2018!

I had a long break since my last article. So it’s time to say hello here and announce some little things.

Blog modernization

I was thinking of migrating to Hugo for some while, but end up with staying on octopress. The main reason is that I actually don’t want a big change on how my blog looks and feels. Especially I’m interested in all the paths, which are already deep inside Google’s index.

The main feature is, that I learned to use the <!-- more --> separator, which makes my new index page doesn’t look like a mile of full blog articles one after each other. A bit of coloring, a new About Me page and some automation for my blog deploy process. Everything bundled in a little repo :)

Upcoming topics

Here is the roadmap of topics I’m going to cover in my upcoming articles.

  • Tutorial: Deploy HA Kubernetes cluster on bare-metal with Rancher - the story of my 300$ Cluster with bunch of resources
  • JHipster + RabbitMQ + Kubernetes - How to use JHipster to stream data over RabbitMQ and operate deployments on Kubernetes
  • Bitflow4J on Kubernetes: self-healing pipeline for Kubernetes clusters

Feel free to suggest topics in the comments section :)

The Ultimate Kubernetes Private Cloud Deployment Comparison

| Comments

~ 13 minutes to read

introduction

In my recent article on K8S deployment I described my first approach on building a working K8S cluster on a private cloud. Despite this was a working setup, it was simplified to make the setup easier. However my personal aim was more about:

How to deploy a production ready kubernetes cluster on a private cloud?

To be more precise, what I try to achieve:

I don’t want to use AWS/Azure/GKE for some reasons

I am using a non wide known cloud provider like ProfitBricks, or own virtual solutions, such as KVM, VMWare

I want to know a generic way for turn key clusters, agnostic to the underlying infrastructure

I want to have load balancing and storage administration running out of the box

How to Deploy Kubernetes to Bare-metal With CoreOS and Nginx Ingress Controller

| Comments

Foreword

In this guide I will explain setup a production grade cloud on your bare metal with kubernetes (aka. k8s), including edge routing. When I started my own research on k8s several months ago, I faced the fact this system is only available fully functioning mostly on cloud providers such as GCE, Azure etc. I found a lot of guides, how to deploy k8s onto different cloud systems as CloudStack, Openstack or Juju. But all these guides were specific to more advanced cloud system, or meant to purchase cloud services, which I find expensive. There were also different bare metal guides, which were like guides from hell, covering the entire k8s stack and ended up in tons of pages to read. So this was not a good introduction for someone, who has actually no idea, how the k8s ecosystem works, and just wants some best practice or working sample, to slightly become familiar with the components.