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
January 23, 2023
This summer I decided to take a trip to Mexico with some friends. It was not your average MX trip either! We were going for the Gueleguetza festival in Oaxaca. This is the interior of the country and contains a rich culture. I had always known Oaxaca for the many agave that grow in the region, and being a center for Mezcal production. However after some initial research, I found the area to be very physically active and even boasts some of the top performing athletes including trail running.
August 9, 2022
Arrival in CDMX My first day in CDMX was with our group and we planned a breakfast and a time to explore a mercado called Mercado de Artisinal. We were staying in the Condesa area near Chapultepec, which seems to be more of a classy part of the city but it is divided by large boulevards with nice trees and paths. My friends and I were headed towards El Centro, where the Artisinal market was.
August 9, 2022
I have been using emacs for a while now and have been becoming more and more familiar with its plugins. magit is my daily driver for managing git projects at work. org-mode has been a nice addition for document formatting, note taking and organization. Recently I found out that it can also be integrated with static website generation such as blogs. Time to convert this blog to use org-mode!
December 4, 2021
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.
July 7, 2021
This article was typed using the finished keyboard. Mechanical keyboards are all the rage today. Having a solid typing experience has never been as important to me as I have realized now. Often we are left to our squishy laptop keyboards, and they do get the job done. However, recently I have started to realize that a good keyboard is comparable to a good set of tires for a car, or good running shoes.
December 1, 2020
This weekend I decided to do another century ride on the cycle. I currently ride an early 80s Panasonic Sport LX. This ride will take me through some beautiful hilly areas in central Texas. This trip was a little different though. I’ve been getting into botanising lately, and this trip was going to be a way to get out and make some plant observations while on the bike ride.
After listening to the podcast Crime Pays but Botany Doesn’t, I became inspired to become more familiar with the landscape we live in.
October 19, 2020
This summer has not been your average one. With a quarantine upon us, and a friend from Europe who planned a short visit turning into an entire summer stay! Anyhow, we were chatting and thought a camping trip would be a lot of fun and a great way to spend some time outside. With the summer months ahead, we prepared for the planned two-week trip of primitive camping across the US states of Colorado and Utah.
September 11, 2020
NixOS is the latest and greatest in terms of system configuration management. Think of how configuration management tools like Ansible or Packer.io allow you to define the run-time configuration of you machine in a state-ful way. Combine that with the power of what is the Nix package manager, and you have a Linux distribution that follows this model for configuring the entire system.
My Nixos/Enlightenment desktop.
NixOS Experience I decided to test drive NixOS and see what I thought.
June 20, 2020
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.
March 23, 2020