Overview
Thedorgu persona command group manages ApplicationPersona custom resources. An ApplicationPersona is a Kubernetes CRD that captures the operational identity of your application — its resource requirements, scaling behavior, health characteristics, and deployment preferences — as a declarative, version-controlled resource.
The workflow is: generate a persona YAML from your application source, apply it to the cluster, and check status to verify the operator has reconciled it.
persona generate
Synopsis
ApplicationPersona YAML manifest. The path should point to a directory containing a Dockerfile or docker-compose.yml. Defaults to . if omitted.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --namespace | string | default | Target Kubernetes namespace |
-o, --output | string | . | Output directory for persona.yaml |
--dry-run | bool | false | Print to stdout without writing files |
--llm-provider | string | — | LLM provider for analysis (openai, anthropic, gemini, ollama) |
--name | string | auto-detected | Override application name |
Examples
persona apply
Synopsis
ApplicationPersona directly to the cluster. This combines the generate and kubectl apply steps into a single command. The path defaults to . if omitted.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --namespace | string | default | Target Kubernetes namespace |
--llm-provider | string | — | LLM provider for analysis (openai, anthropic, gemini, ollama) |
--name | string | auto-detected | Override application name |
Examples
persona status
Synopsis
ApplicationPersona by name. Requires exactly one argument: the persona name.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --namespace | string | default | Kubernetes namespace to query |
Examples
Status fields
Thepersona status command reports the following fields from the ApplicationPersona resource:
| Field | Values | Description |
|---|---|---|
.status.phase | Pending, Active, Degraded, Unknown | Current reconciliation phase |
.status.validation.passed | true / false | Whether the persona passed validation |
.status.validation.issues | list of strings | Validation issues found by the operator |
.status.health.status | string | Overall health status of the application |
.status.health.replicas | integer | Number of running replicas observed |
Requires the Dorgu Operator installed on the cluster with the
ApplicationPersona CRD registered. See the Operator installation guide for setup instructions.