Upgrading a HA Kubernetes Kops Cluster

The Kubernetes release cadence is fast-paced with minor releases every quarter. Awesome! But how do I keep up? Don’t worry, Kops makes it fairly easy to update your HA production cluster without any downtime (assuming you have scaled your deployments to a minimum of 2 pods per deployment). This blog post will walk you through… Read More »

Kafka Connect Quick Start

Kafka Connect Quick Start Goal This quick start guide provides a hands-on look at how you can move data into and out of Kafka without writing a single line of code. It is helpful to review the concepts for Kafka Connect in tandem with running the steps in this guide to gain a deeper understanding.… Read More »

kops Etcd Volume Encryption

Etcd Volume Encryption You must configure etcd volume encryption before bringing up your cluster. You cannot add etcd volume encryption to an already running cluster. Encrypting Etcd Volumes Using the Default AWS KMS Key Edit your cluster to add encryptedVolume: true to each etcd volume: kops edit cluster ${CLUSTER_NAME} … etcdClusters: – etcdMembers: – instanceGroup:… Read More »

How to create a Helm chart repository using Amazon S3

Helm is a package manager for Kubernetes. You can bundle Kubernetes resources together as charts that define all the necessary resources and dependencies of an application. You can then use the Helm CLI to install all the pods, services, and ingresses for an application in one simple command. Just like Docker or NuGet, there’s a common public repository for Helm charts that the helm CLI uses… Read More »

k8s authentication

For a full overview on Authentication, refer to the official Kubernetes docs on Authentication and Authorization For users, ideally you use an Identity provider for Kubernetes (OpenID Connect). If you are on GKE / ACS you integrate with respective Identity and Access Management frameworks If you self-host kubernetes (which is the case when you use kops), you may… Read More »

Configure and Use L2TP on Windows 10

To prepare a Windows 10 computer to make an L2TP VPN connection, you must configure the L2TP connection in the network settings. The exact steps could be slightly different, depending on your Control Panel view, and your existing configuration. From the Windows 10 Start Menu, click Settings. Click Network & Internet. On the left navigation menu, select VPN. Click Add… Read More »

Recording curl request with JMeter Recorder

Though it is quite east to convert curl requests to corresponding JMeter request. At times you might be stuck with issue like I faced when uploading a file with JMeter HTTP request In a gist I kept getting 404 error when using REStful service to upload a file. After days of investigations I found it that… Read More »

kubeadm missing master role

Kubeadm marks the master node only at the initial setup after that during the package upgrade procedures sometimes the role goes away and we are left with a cluster which has a missing master role. To fix this situation edit the node that supposed to be the master: “kubectl edit node NODE” and add ”… Read More »