teleskopio.github.io

teleskopio with kind

Run

Setup kind

Deploy a Pod

Multiselect

Scale Resources

Cronjob

Cordon and Drain

Theme and Font

Let's explore the features of teleskopio.

Requirements:

That's it-we only need access to the cluster to run teleskopio.

In this example I'm going to use kind, it's a very popular tool in the Kubernetes world (by the way kind is used in the Kubernetes e2e pipelines).

kind is a tool for running local Kubernetes clusters using Docker container β€œnodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.

Setup kind

Let's create a simple cluster.

> kind create cluster
Creating cluster "kind" ...
 βœ“ Ensuring node image (kindest/node:v1.35.0) πŸ–Ό
 βœ“ Preparing nodes πŸ“¦
 βœ“ Writing configuration πŸ“œ
 βœ“ Starting control-plane πŸ•ΉοΈ
 βœ“ Installing CNI πŸ”Œ
 βœ“ Installing StorageClass πŸ’Ύ
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! πŸ‘‹

Now copy the contents of the ~/.kube/config file or ensure the KUBECONFIG environment variable points to the correct location.

Run teleskopio config, which prints a sample config to stdout.

Generate a user with hashed password and add it to the config.yaml.

> htpasswd -nbB admin MySecret12345
$ admin:$2y$05$GUduJJ9FF.WA8J4zl4vJ4OfKuoszAPJ2iqMt6BcPoQ8kZ3wGy..n.

Run

Run teleskopio --config=./config.yaml.

If everything goes well, you'll see the login screen and can use the user/pass from the config.yaml.

Deploy a pod

Let's deploy a pod to our cluster. Double click on pod. Check pod logs.

Multiselect

Now select a bunch of pods and delete them.

Scale Resources

Let's scale a deployment. Any resource that supports scaling can be scaled.

Cronjob

You can trigger cronjob.

Cordon and Drain

You can cordon or drain node(s).

Theme and Font

Another cool feature is font and theme.

That's a brief overview of the teleskopio features.

Feel free to try it!