/var/log/diego
Github Twitter
  • airflow
  • alb
  • ansible
  • aws-auth
  • aws-console
  • bash
  • bludit
  • configmap
  • docker
  • eks
  • git
  • gpu
  • https
  • ingress
  • ingress-controller
  • init-container
  • jenkins
  • kops
  • kubectl
  • kubernetes
  • kubernetes-api
  • multi-zone
  • persistent-volume
  • pods
  • raspberry-pi
  • scheduler
  • service
  • ssl

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..

$ echo $BASH_VERSION
3.2.57(1)-release

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

Read more

My logs as DevOps Engineer. Technical blog with nerd stuff By Diego Najar.

Copyright © 2019-2021. Powered by Gris CMS