TableProfile
Tracks a request to profile source data, including the execution state and reported results.
data.prokrust.ai/v1beta1 · Namespaced · tableprofiles
Controller status
TableProfile reports status.state. While planning, inspect the request’s source, mode, and budget. During aggregation, follow the profile workflow. A successful request publishes status.result. For a failed or cancelled profile, inspect status.failure, status.accounting, and status.cleanupComplete. Cleanup can finish after the request reaches its terminal state.
When the profile exceeds its deadline
A deadline can end the profile before cleanup finishes.
status:
cleanupComplete: false
failure:
reason: ProfileDeadlineExceeded
retrySamePlan: false
state: Failed
Check the request deadline and recorded usage. Check cleanup again before removing the request.
How to read status fields
| Field | What it tells you |
|---|---|
status.accounting | Source usage recorded for this profile. Inspect it when investigating a request budget or an incomplete scan. |
status.cleanupComplete | Reports whether cleanup has finished. A terminal outcome can be visible before all resources have been released. |
status.execution | Immutable operation progress references; credentials never belong here. |
status.failure | Recorded failure details. Inspect the reason and message to locate the failed operation. |
status.finishedAt | Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. |
status.historyExpired | Marks retained profiling history for collection after its retention period. Inspect it if an older result is no longer available. |
status.result | Reference to the published result when available. Inspect the artifact to retrieve the completed output. |
status.state | State recorded for the profile. Inspect the result on success or the failure details on an unsuccessful run. |
Kubernetes schema for status
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
status | object | no | — | maxProperties 1024 · nullable true |
status.accounting | object | no | — | Source usage recorded for this profile. Inspect it when investigating a request budget or an incomplete scan. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true |
status.cleanupComplete | boolean | no | false | Reports whether cleanup has finished. A terminal outcome can be visible before all resources have been released. |
status.execution | object | no | — | Immutable operation progress references; credentials never belong here. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
status.failure | object | no | — | Recorded failure details. Inspect the reason and message to locate the failed operation. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true |
status.finishedAt | string | no | — | Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. · maxLength 2048 · nullable true |
status.historyExpired | boolean | no | false | Marks retained profiling history for collection after its retention period. Inspect it if an older result is no longer available. |
status.result | object | no | — | Reference to the published result when available. Inspect the artifact to retrieve the completed output. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true |
status.state | string | no | "" | State recorded for the profile. Inspect the result on success or the failure details on an unsuccessful run. · maxLength 2048 |
Specification
The Web API records the accepted profiling request and its identity here. Start a new profile to use different inputs.
This resource requires bodyDigest, execution, idempotencyExpiresAt, referenceTime, request, scopeDigest, workspaceUid.
bodyDigest
The Web API hashes the canonical request and its scope. Inspect the digest when diagnosing a retry with a different request body.
execution
The Web API records the admitted resources and execution settings. The platform verifies these identities before planning source work.
idempotencyExpiresAt
The Web API records when the request's idempotency key expires. Check this time when replaying a profile request.
referenceTime
The Web API records the accepted reference time. Use it to identify when the service established the profile's point of reference.
request
The Web API stores the canonical StartTableProfile request as ProtoJSON without
secrets. Inspect it to see the submitted scope and options.
scopeDigest
The Web API binds the operation to the workspace UID and caller identity. Inspect this digest when matching an existing request to its caller.
workspaceUid
The Web API records the workspace's Kubernetes UID. It distinguishes profiles from different instances of a namespace with the same name.
Kubernetes schema for spec
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
spec | object | yes | — | The Web API records the accepted profiling request and its identity here. Start a new profile to use different inputs. · maxProperties 1024 |
spec.bodyDigest | string | yes | — | The Web API hashes the canonical request and its scope. Inspect the digest when diagnosing a retry with a different request body. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
spec.execution | object | yes | — | The Web API records the admitted resources and execution settings. The platform verifies these identities before planning source work. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
spec.idempotencyExpiresAt | string | yes | — | The Web API records when the request's idempotency key expires. Check this time when replaying a profile request. · maxLength 16384 |
spec.referenceTime | string | yes | — | The Web API records the accepted reference time. Use it to identify when the service established the profile's point of reference. · maxLength 16384 |
spec.request | object | yes | — | The Web API stores the canonical StartTableProfile request as ProtoJSON without secrets. Inspect it to see the submitted scope and options. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
spec.scopeDigest | string | yes | — | The Web API binds the operation to the workspace UID and caller identity. Inspect this digest when matching an existing request to its caller. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
spec.workspaceUid | string | yes | — | The Web API records the workspace's Kubernetes UID. It distinguishes profiles from different instances of a namespace with the same name. · maxLength 128 |
The validation schema matches prokrust-crds 0.23.0-rc.1.