{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-connected-kubernetes-clusters-list-response-schema.json", "title": "ConnectedKubernetesClustersListResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-cluster-orchestrator-api-openapi.yml#/components/schemas/ConnectedKubernetesClustersListResponse", "type": "object", "properties": { "ts": { "type": "integer", "description": "Response timestamp" }, "success": { "type": "boolean" }, "errors": { "type": "array", "items": { "type": "string" } }, "response": { "type": "object", "properties": { "clusters": { "type": "array", "items": { "$ref": "#/$defs/ConnectedKubernetesCluster" } } } } }, "$defs": { "ClusterConsolidationBudget": { "type": "object", "properties": { "reasons": { "type": "array", "items": { "type": "string" } }, "nodes": { "type": "string" }, "schedule": { "type": [ "string", "null" ] }, "duration": { "type": [ "string", "null" ] } } }, "ClusterOrchestratorPodEvictor": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "evict_single_replicas": { "type": "boolean" }, "minimum_cpu": { "type": "integer" }, "minimum_memory": { "type": "integer" } } }, "ConnectedClusterHealthStatus": { "type": "object", "properties": { "status": { "type": "string" }, "service": { "type": "string" }, "raw_json": { "type": [ "string", "null" ] }, "last_heart_beat_received_at": { "type": "string", "format": "date-time" } } }, "ConnectedKubernetesCluster": { "type": "object", "properties": { "id": { "type": "string" }, "account_id": { "type": "string" }, "k8s_connector_id": { "type": "string", "description": "This is the CACM Kubernetes Cost Connector ID" }, "provider": { "type": "string" }, "name": { "type": "string", "description": "This is the name of the cluster" }, "region": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "health": { "type": [ "object", "null" ], "properties": { "raw_json": { "type": "array", "items": { "$ref": "#/$defs/ConnectedClusterHealthStatus" } } } }, "total_spend": { "type": "number" }, "total_savings": { "type": "number" }, "config": { "type": [ "object", "null" ], "properties": { "spot_distribution": { "type": "string", "enum": [ "ALL", "SpotReady", "None" ] }, "node_deletion_delay": { "type": "integer" }, "distribution_strategy": { "type": "string", "enum": [ "CostOptimized", "LeastInterrupted" ] }, "base_on_demand_capacity": { "type": "integer" }, "spot_split": { "type": "integer" }, "on_demand_split": { "type": "integer" }, "consolidation": { "type": [ "object", "null" ], "properties": { "policy": { "type": "string", "enum": [ "WhenEmptyOrUnderutilized", "WhenEmpty" ] }, "after": { "type": "string", "description": "Consolidation will be performed after this window" }, "budgets": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/ClusterConsolidationBudget" } }, "node_expiry": { "type": [ "string", "null" ], "description": "This is the max age for nodes created by cluster orchestrator" }, "pod_evictor": { "$ref": "#/$defs/ClusterOrchestratorPodEvictor" } } }, "reverse_fallback": { "type": [ "string", "null" ], "description": "The nodes which were replaced by a fallback ondemand node will be retried for spot after this window" } } } } } } }