Skip to content
Proud to collaborate with Microsoft for Startups

cluster.status-mgc-kubernetes ​

Return provider status for a Magalu Cloud Kubernetes cluster.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-clusters
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID for audit context.
mgc_connection_uuiduuidYes—Magalu CloudConnection UUID used for provider calls.
provider_cluster_refstringNo—Provider cluster id alias.
cluster_idstringNo—Magalu Kubernetes cluster id.
cluster_namestringNo—Logical cluster name for diagnostics.
actorstringNo—Caller requesting status.
timeout_secondsintegerNo—Reserved for future polling status reads.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID echoed from input.
mgc_connection_uuiduuidNo—Magalu CloudConnection UUID used.
provider_cluster_refstringNo—Provider cluster id alias.
cluster_idstringNo—Magalu Kubernetes cluster id.
cluster_namestringNo—Logical cluster name.
actorstringNo—Caller requesting status.
timeout_secondsintegerNo—Reserved for future polling status reads.
get_clusterjsonNo—Output from mgc.kubernetes.get_cluster.
provider_statusjsonNo—Normalized provider status object.
clusterjsonNo—Provider cluster object.
statusstringNo—Normalized lifecycle status.
phasestringNo—Raw or normalized provider phase.
reachablebooleanNo—True when provider status indicates the cluster is reachable.
checked_atstringNo—ISO status timestamp.
failure_reasonstringNo—Human-readable failure reason.
failed_stepjsonNo—Failed logical step or child workflow.
failed_layerjsonNo—Engine failed layer when applicable.
failed_at_statejsonNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—describe_cluster—
describing_clusterNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingdescribe_clusterdescribing_cluster—
describing_clustercompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "cluster.status-mgc-kubernetes",
  "initial_data": {
    "mgc_connection_uuid": "value"
  }
}