Kubernetes Commands 101 (GKE Extended)

Emrah Önder
7 min readJun 25, 2024

Kubernetes, also known as K8s, has rapidly become the industry standard for container orchestration, revolutionizing the way we deploy, manage, and scale applications. Its powerful capabilities allow for automated deployment, scaling, and operations of application containers across clusters of hosts, providing an efficient and reliable way to manage complex systems.

Credit: DALL-E — I have just said to put k8S and GKE logos side by side in one image.

GCP (Google Cloud Platform) is rising as well. Sure, if you are addicted to GCP, inevitably, you need to use GKE (Google Kubernetes Engine) for your lovely containers as well.

I also use it daily and need k8s commands frequently. Sure there are a lot of tools for k8s management like k9s. Also for the widen list, you can check this great page.

However, no tool makes me happier than typing on a black screen :D That’s why my main preference is always the terminal and Kubectl!

But remembering the proper commands takes work, especially for a 40-year-old guy like me!

Therefore I decided to prepare this article and added some GKE-specific tricks on it. I hope it will be handy for all k8s users.

Let’s start with the concepts:

The concepts

Let’s have a look at the concepts and remember what is what:

--

--

Emrah Önder

A Passionate Computer Engineer From Arnhem, the Netherlands