Daily “tips and tricks” — S01 E01 — Kubernetes

Julien Breux
Julien Breux’s digital life
2 min readAug 25, 2017
Kubernetes, the poduction-grade container orchestration

Today, I decided to help you by giving you some “tips and tricks”. Because the technologies and passions must be shared the most possible!

Use many aliases to play with your K8S cluster

It’s very important to be more efficient when you work with a (new) tool.
This is my term aliases and shortcuts:

Use “watch” to always have “up-to-date data”

Watch is a small bin that’s execute a program periodically.

As you can see above at the line 14. “Watch” is interesting because you have an up-to-date pod list.

Note:
You can increase or decrease the refresh interval (in seconds) with the “-n” argument.

Never forget the power of UI

K8S allows you to use a local proxy to view a beautiful user interface.

Kubernetes 1.7.x — User interface

To access it, it’s very easy, you just have to execute the following line in your term:

kubectl proxy

Finally, you must go to this address: http://127.0.0.1:8001/ui/

Never neglect the power of this amazing tool! This UI is frequently updated.

That’s all for today friends!

The next episodes of this first saison, will be about GoLang and Docker ;)

--

--