Skip to main content

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
FieldWhat it tells you
status.accountingSource usage recorded for this profile. Inspect it when investigating a request budget or an incomplete scan.
status.cleanupCompleteReports whether cleanup has finished. A terminal outcome can be visible before all resources have been released.
status.executionImmutable operation progress references; credentials never belong here.
status.failureRecorded failure details. Inspect the reason and message to locate the failed operation.
status.finishedAtTime the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time.
status.historyExpiredMarks retained profiling history for collection after its retention period. Inspect it if an older result is no longer available.
status.resultReference to the published result when available. Inspect the artifact to retrieve the completed output.
status.stateState 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.

FieldTypeRequiredDefaultSchema constraints and descriptions
statusobjectno—maxProperties 1024 · nullable true
status.accountingobjectno—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.cleanupCompletebooleannofalseReports whether cleanup has finished. A terminal outcome can be visible before all resources have been released.
status.executionobjectno—Immutable operation progress references; credentials never belong here. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
status.failureobjectno—Recorded failure details. Inspect the reason and message to locate the failed operation. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
status.finishedAtstringno—Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. · maxLength 2048 · nullable true
status.historyExpiredbooleannofalseMarks retained profiling history for collection after its retention period. Inspect it if an older result is no longer available.
status.resultobjectno—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.statestringno""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.

FieldTypeRequiredDefaultSchema constraints and descriptions
specobjectyes—The Web API records the accepted profiling request and its identity here. Start a new profile to use different inputs. · maxProperties 1024
spec.bodyDigeststringyes—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.executionobjectyes—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.idempotencyExpiresAtstringyes—The Web API records when the request's idempotency key expires. Check this time when replaying a profile request. · maxLength 16384
spec.referenceTimestringyes—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.requestobjectyes—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.scopeDigeststringyes—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.workspaceUidstringyes—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.