Skip to content
Proud to collaborate with Microsoft for Startups

cluster.gcp-vm.collect-kubeconfig ​

Collect Kubernetes kubeconfig from GCP VM serial output.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-clusters-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
gcp_connection_uuiduuidYes——
project_idstringYes——
zonestringYes——
vm_namestringYes——
endpoint_hoststringNo——
api_serverstringNo——
timeout_secondsintegerNo——
poll_intervalintegerNo——
serial_port_startintegerNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
gcp_connection_uuiduuidYes——
project_idstringYes——
zonestringYes——
vm_namestringYes——
endpoint_hoststringNo——
api_serverstringNo——
timeout_secondsintegerNo——
poll_intervalintegerNo——
serial_port_startintegerNo——
actorstringNo——
describe_vmjsonNo——
kubeconfigstringNo——
credential_payloadjsonNo——
public_ipstringNo——
private_ipstringNo——
statusstringNo——
completed_atstringNo——
failure_reasonstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statejsonNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—collect—
collectingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingcollectcollecting—
collectingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "cluster.gcp-vm.collect-kubeconfig",
  "initial_data": {
    "gcp_connection_uuid": "value",
    "project_id": "value",
    "zone": "value",
    "vm_name": "value"
  }
}