Skip to content

Generates a Kubernetes cluster name based on fun themes.

License

Notifications You must be signed in to change notification settings

sharepointoscar/kname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocktail

Cocktail

Combine two passions and this is what comes out of it.

I am a big fan of mixology. One day I decided I hated coming up with names for my Kubernetes clusters as I test stuff, and so Cocktail was born.

What is this?

Cocktail is a simple CLI that you can use to spit out a random cocktail name which you can use to name whatever, but I use it for Kubernetes cluster names as I have a difficult time coming up with them.

Installing

Like any other go packaage.

go get github.com/sharepointoscar/cocktail

Using Jenkins X CLI

I use Jenkins X on GKE and EKS (soon AKS), but here is how I quickly create my cluster passing the random name.

jx create cluster gke --skip-installation -n $(cocktail generate-name)

GCloud CLI usage

If you are using the gcloud CLI, you can just execute the following (add whatever other flags you want)

gcloud container clusters create $(cocktail generate-name)

eksctl CLI usage

eksctl create cluster --name $(cocktail generate-name)

About

Generates a Kubernetes cluster name based on fun themes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages