Skip to main content

Category: work

Kube Menu Selector

This is a continuation of the Kube project shell plugin I wrote. This allows you to select contexts and projects dynamically from a dmenu compatible launcher! In my example I am using Fuzzel by dnkl. Getting the current context. 1 kubectl config current-context You can issue the command kubecontext to interactively select one using fuzzel 1 kubecontext Getting the current project. 1 2 3 kubectl project Current project: default Usage: kubectl project <namespace> Getting the pods in the project

Kube Sticky Project

One of the main things I missed going from RedHat Openshift to vanilla Kubernetes is the concept of switching projects. An Openshift project is simply a context associated with a particular namespace. However projects/namespaces can be switched and all subsequent commands will inherit that namespace scope. This saves me the trouble of attaching -n namespace to each and every command. I decided to write a quick and dirty ZSH plugin to take care of this by adding a kubectl project command.

JenkinsX on Kubernetes Cluster-API

JenkinsX is the next iteration of the Jenkins CI engine that is geared towards a cloud-native kubernetes setting. Instead of the more broad approach taken previously, JenkinsX focuses on Kubernetes native continuous-integration by relying on an engine Tekton to define its jobs and pipelines inside of kubernetes. Cluster-API AWS I’m using CAPA Cluster-API provider for AWS as my workload Kubernetes cluster. I manage this cluster locally with a control plane defined using Kind.