clusterrole
The get clusterrole command retrieves a list of all ClusterRoles in the Kubernetes cluster. ClusterRoles define permissions at the cluster level, allowing access to resources across namespaces.
Usage
Steps
Follow the steps below to run and view the result of this command:
Open your terminal in the directory containing the cldkctl binary.
Run the following command in your terminal:
./cldkctl get clusterroleThe command displays a list of ClusterRoles along with their creation dates.

Column
Description
Name
Displays the name of each ClusterRole defined in the cluster.
Created At
Shows the date when the ClusterRole was created.
Flags
Flag
Description
-h, --help
Help for get clusterrole command.
Last updated
