In the past few years Docker and K8S have turned into the de-facto industry standard in containerization and easily scaling any infrastructure ( large or small ).
These two systems have had such an incredible adoption that many of us have neglected the flaws that might be apparent in them. This quicktip will teach you about one such flaw and an easy solution to something that most people will not even realize is right within reach.
A couple days ago I was horrified when I logged into one of our staging servers and saw the following graph:
When looking at an (almost) exact replica of this setup on one of our production servers, the graph looked like…
Writing tests to support the code you write is an aspect of everyday developer life in most (if not all) companies.
There’s several test runners out there, most of them however lack in functionality/stability. The most advanced and versatile ( in our opinion ) is KarmaJS. …
Since a few months we’ve been heavily focused on Kubernetes (K8S) here at Valkyrie and after some trial and error we put together some sweet deployment scripts that combine Terraform, Ansible, kubeadm to roll out K8S clusters on digitalocean.
This article is not about the entire deployment system, but will focus on one addition that we did that dramatically speeds up upstream DNS for the KubeDNS layer that kubeadm installs.
There’s a new kid on the block when it comes to superfast DNS, CloudFlare’s 220.127.116.11 (which is on general 2X faster than Google’s 18.104.22.168 DNS service)
Before we go into the nitty gritty, let’s first look at KubeDNS and how it works in a nutshell. (For a more in-depth article, please visit : DNS for Services and Pods…