teleskopio with kind
Run
Deploy a Pod
Multiselect
Scale Resources
Cronjob
Cordon and Drain
Theme and Font
Let's observe teleskopio features.
Requirements:
- kubernetes clusters with any version.
kubeconfigof the cluster.
That's it, we need only access to the cluster in order to run teleskopio.
In this example I'm going to use kind, it's a very popular tools in kubernetes world (btw 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.
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 content of ~/.kube/config file or ensure the env variable KUBECONFIG is pointed to right place.
Run teleskopio config, the config example will be printed 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 is going good, you'll see the login screen, use 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 it.
Scale Resources
Lets scale deployment, any resources which supports scale 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!