DEV Community

Cover image for My Shortcut / Alias to Use Civo Kubernetes
Seski Ramadhan
Seski Ramadhan

Posted on

3 3

My Shortcut / Alias to Use Civo Kubernetes

Hi gangs, today I will share about my alias setup for Civo Cloud.

alias civo_create="civo kubernetes create kube-demo --wait && rm ~/.kube/config && civo kubernetes config kube-demo --save"
Enter fullscreen mode Exit fullscreen mode

This first alias is for provision new kubernetes cluster(kube-demo) with basic configuration, and I also remove kube config file for easily replace new config with the new one.

alias civo_remove="civo kubernetes remove kube-demo"
Enter fullscreen mode Exit fullscreen mode

This alias is for removing cluster when I finish my learning / project. Let's we try this alias

civo_create
Enter fullscreen mode Exit fullscreen mode

Image description
As you can see, I just issue command civo_create and cluster created in just 1 minute 58 sec, How cool is that!

Now Let's remove our cluster

civo_remove
Enter fullscreen mode Exit fullscreen mode

Image description
Just like that, then we say good bye to our cluster :)

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay