Using plugins
So, we have installed a few very useful plugins. Let's check out how to use them.
We have installed three plugins:
kubectl ctx
: This plugin allows us to easily to switch between Kubernetes clusters, which is very useful when you have more than one cluster set in yourkubeconfig
.Lets' check for available cluster by running the
$ kubectl ctx
command:
kubectl ns
: This plugin allows us to switch between namespaces. Let's check for available namespaces in the cluster by running the$ kubectl ns
command:
kubectl view-allocations
: This plugin lists resource allocations of a namespace, such as CPU, memory, storage, and so on.Let's check for resources allocations in the cluster by running the
$ kubectl view-allocations
command:
You can...