My kubernetes cluster is ready to use.
installed by using kubespray (ansible)
Lens is more easy-to-use than kubernetes-dashboard, right after my k8s cluster is working, I installed lens (https://k8slens.dev/) on my desktop.
There are a couple good features from Lens I want to share with your here.
built-in Metric feature
If you want to do metric monitoring about your k8s, just to click on the “Install” button for the Metrics feature in the settings, as follow;
You will get all metrics everywhere on the lens dashboard.
built-in helm
even though some packages versions in helm list are not so up-to-date, but you can try it out to test your k8s cluster (functionality) first. To make sure your dynamic-persistent-volume is working properly, or not.
I’m using glusterFS with heketi for volumes support in this k8s cluster.
Just want to mention,
if you are not sharing your GlusterFS nodes across your k8s working nodes. That means, some k8s working nodes may or may not install glusterfs-client (or glusterfs-server), that will cause the mounting problem for claming persistent volume from a k8s node without install any glusterfs, “mount: unknown filesystem type ‘glusterfs’ 錯誤” in the error message.
Connect to OIDC for multiple users to access your k8s
I’m not ready to share this topic yet. But lens can let your users to access their own space, after you setup your k8s auth config for a OIDC authenticator.
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#option-1-oidc-authenticator
I hope it can be share for the next story.