Kubectl autocompletion in macOS

March 20, 2019

macOS Catalina doesn't support anymore bash and came with zsh, I didn't test this guideline in the macOS Catalina or Big Sur.

macOS comes with a really old bash version. Check the version from the environment variable..


We can install a newer version of bash via Homebrew package manager, get Homebrew from here https://brew.sh.

Read more

Kops commands

March 7, 2019

Quick commands for Kops.

First set the environment variable $NAME and KOPS_STATE_STORE.

$ export NAME=kubernetes-cluster.example.com
$ export KOPS_STATE_STORE=s3://kops
Read more

Ansible - Encrypt and Decrypt files

February 28, 2019

Ansible provide an easy way to encrypt or decrypt files to keep sensitive data in our playbooks. For example, you can have a template which has some username and password and you can keep encrypted.

Read more

Untrack files added to .gitignore

February 27, 2019

Remove a particular file

git rm --cached paper.txt
git add paper.txt
git commit -m "remove file paper.txt"
git push

Remove all files

git rm --cached -r .
git add .
git commit -m "remove all files from .gitignore"
git push

Running Bludit in a Docker

February 26, 2019

Bludit is a flat-file CMS (content management system) which you can make you website or blog in a few minutes. Bludit is quite easy to install you just need a webserver with PHP support, but if you want to test it or avoid install a webserver you can use the official Docker image.

Read more

Hello World!

February 24, 2019

This is my new blog. Powered by Bludit.