Home » Tag Archives: Kubernetes

Tag Archives: Kubernetes

Protecting your AWS from EKS with kube2iam

I really like Kubernetes; I’ve been following almost since its inception 5 years ago and used it successfully in the past 3+ years in several projects. It isn’t without challenges (esp. around managing state) but it definitely getting better with each release. Moving to a new company, it is no wonder I introduced Kubernetes into our architecture from the get-go. ...

Read More »

Kubernetes and Secrets

This is going to be a small post since it has to deal with kubernetes and secrets. Yet it is a very useful once since adding secrets is so common yet so easy to forget (guilty as charged). So we will cover username and password, key/values, file uploading, secrets. Upload username and password using command line. kubectl create secret generic ...

Read More »

Testing and using AWS EKS #kubernetes – findings

Context I have been working in a team where we use kubernetes in production (not the nginx example- the real shit) for 2 years now. I have configured and used Kubernetes clusters from version 1.4.x with tools like kube-aws to 1.6-1.7 configured with kops. Amazon’s EKS is the third breed of kubernetes provisioning solutions that I have the chance to try and this post ...

Read More »

Helm chart to deploy and scale a generic app image

This is a post about a simple helm chart that I have worked on to deploy any generic app image to Kubernetes. The chart is available [here] It tries to solve the issue of having to manage a set of raw Kubernetes resources(deployment,secrets,hpa) and instead letting helm manage these resources. The chart is generic enough that it should be able to ...

Read More »

Cloud Native Container Design Principles

Software design principles Principles exist in many areas of life, and they generally represent a fundamental truth or belief from which others are derived. In software, principles are rather abstract guidelines, which are supposed to be followed while designing software. There are fundamental principles for writing quality software such as KISS (Keep it simple, stupid), DRY (Don’t repeat yourself), YAGNI ...

Read More »

Remote access to Minikube with Kubectl

Let’s say you need to install a Kubernetes cluster in your organization for development and testing purposes. Minikube looks like a perfect fit for that job. It was specially designed for users looking to try out Kubernetes or develop with it day-to-day. It runs a single-node Kubernetes cluster inside a VM on a standalone machine. So, you found a server for ...

Read More »

Spring Boot & Cockroach DB in Kubernetes/OpenShift

In my previous post, I showed why Cockroach DB might help you if you need a cloud native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data is replicated correctly. In this post, I am going to show you how to use Cockroach DB in a Spring Boot application. Notice that ...

Read More »

CockroachDB: A cloud native SQL database in Kubernetes

CockroachDB 2.0 has just been released. For those who don’t know what it is, it can be summarized as a SQL database for the cloud era. One of the best things about CockroachDB is that it automatically scales, rebalances and repairs itself without sacrificing the SQL language. Moreover, Cockroach implements ACID transactions,  so your data is always in a known ...

Read More »