Overview
Thedorgu cluster command group manages ClusterPersona custom resources. A ClusterPersona captures the operational identity of an entire Kubernetes cluster — its environment type, installed add-ons, resource capacity, and platform metadata — as a cluster-scoped CRD.
cluster init
Synopsis
ClusterPersona resource for the current cluster. This discovers cluster metadata (nodes, version, platform, add-ons) and creates the CRD on the cluster.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | required | Cluster name |
--environment | string | development | Cluster environment: development, staging, production, sandbox |
--dry-run | bool | false | Print to stdout without applying |
Examples
cluster status
Synopsis
ClusterPersona. If the name is omitted, status is shown for the auto-detected ClusterPersona on the current cluster.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --name | string | auto-detected | ClusterPersona name |
Examples
Discovered information
Thecluster status command reports the following cluster metadata discovered by the operator:
- Nodes and resource capacity — node count, total CPU, memory, and allocatable resources
- Kubernetes version — server version reported by the API server
- Platform type — detected platform: Kind, Minikube, EKS, GKE, AKS, or generic
- Installed add-ons — discovered components such as ArgoCD, Prometheus, cert-manager, ingress-nginx
- Namespace summary — count and list of namespaces
- ApplicationPersona count — number of ApplicationPersona resources across the cluster
Requires the Dorgu Operator installed on the cluster with the
ClusterPersona CRD registered. See the Operator installation guide for setup instructions.