curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/clusters/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"fqn": "<string>",
"name": "<string>",
"manifest": {
"type": "cluster",
"name": "<string>",
"cluster_type": "aws-eks",
"environment_names": [
"<string>"
],
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
],
"base_domains": [
"<string>"
],
"monitoring": {
"loki_url": "<string>",
"victoria_logs_url": "<string>",
"prometheus_url": "<string>",
"kubecost_url": "<string>"
},
"default_registry_fqn": "<string>",
"workbench_config": {
"notebook_config": {
"base_domain": "<string>"
},
"ssh_server_config": {
"base_domain": "<string>",
"port": 123
},
"default_storage_class": "<string>"
},
"spark_config": {
"ui_base_domain": "<string>"
},
"ingress_controller_config": {
"ingress_class_name": "nginx",
"tls_enabled": false
},
"cluster_integration_fqn": "<string>",
"workflow_storage_integration_fqn": "<string>",
"supported_nodepools": [
{
"name": "<string>",
"description": "<string>"
}
],
"node_label_keys": {
"nodepool_selector_label": "<string>"
},
"ownedBy": {
"account": "<string>"
}
},
"tenantName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"accountId": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdBy": "<string>"
}
}Get cluster associated with provided id
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/clusters/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"fqn": "<string>",
"name": "<string>",
"manifest": {
"type": "cluster",
"name": "<string>",
"cluster_type": "aws-eks",
"environment_names": [
"<string>"
],
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
],
"base_domains": [
"<string>"
],
"monitoring": {
"loki_url": "<string>",
"victoria_logs_url": "<string>",
"prometheus_url": "<string>",
"kubecost_url": "<string>"
},
"default_registry_fqn": "<string>",
"workbench_config": {
"notebook_config": {
"base_domain": "<string>"
},
"ssh_server_config": {
"base_domain": "<string>",
"port": 123
},
"default_storage_class": "<string>"
},
"spark_config": {
"ui_base_domain": "<string>"
},
"ingress_controller_config": {
"ingress_class_name": "nginx",
"tls_enabled": false
},
"cluster_integration_fqn": "<string>",
"workflow_storage_integration_fqn": "<string>",
"supported_nodepools": [
{
"name": "<string>",
"description": "<string>"
}
],
"node_label_keys": {
"nodepool_selector_label": "<string>"
},
"ownedBy": {
"account": "<string>"
}
},
"tenantName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"accountId": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdBy": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Cluster id of the cluster
Return the cluster associated with provided id
Cluster
Show child attributes
Show child attributes
+value=cluster
cluster +label=Name +icon=fa-desktop:#black +sort=10 +message=3 to 35 lower case characters long alphanumeric word, may contain - in between, cannot start with a number
+label=Cluster Type +icon=fa-cloud:#7EC8E3 +sort=20 +usage=The cluster type of this cluster
aws-eks, gcp-gke-standard, azure-aks, generic, civo-talos +label=Environments +icon=fa-tags:#black +usage=Tag the environment like dev, staging or production. You will need to create environments if you don't have already. +sort=30
+label=Collaborators +usage=Collaborators who can access this cluster +sort=110
+label=Base Domain URLs
+placeholder=Enter Base Domain URL eg. devtest.mydomain.com or *.mydomain.com
+usage=One or more base URLs, which can be either a wildcard domain (resulting in app URLs like <app-name>-<workspace-name>.<base-domain-URL>) or a non-wildcard domain (resulting in app URLs like <base-domain-URL>/<app-name>-<workspace-name>)
Read more about routing here and about 'A' record and domain mapping here +icon=fa-globe:#68BBE3 +sort=40 +message=Domain URL should be valid domain or IP address
+label=Monitoring +icon=fa-gear:#68BBE3 +sort=50
Show child attributes
+label=Cluster Default Registry +sort=60
+label=Workbench Config +sort=70
Show child attributes
Show child attributes
+label=Notebook Base Domain +usage=The base domain for the cluster with which you can access your Notebooks +message=Must not contain any spaces.
Show child attributes
+label=SSH Base Domain +usage=The base domain for the cluster with which you can access your SSH containers +sort=1000 +message=Must not contain any spaces.
+label=SSH Port +usage=The port for the cluster with which you can access your SSH containers +sort=2000
+label=Default Storage Class +usage=The default storage class for the home directory of workbench +message=Must not contain any spaces.
Show child attributes
+label=Ingress Class Name
+label=TLS Enabled +usage=Whether TLS is managed by the ingress controller. If enabled, the ingress object will have TLS configuration.
+label=Cluster Integration FQN +sort=75 +uiType=IntegrationSelect +uiProps={"descriptionKey": "cluster_name","integrationType": "cluster"}
+label=Workflow Storage Integration +sort=80 +uiType=IntegrationSelect +uiProps={"descriptionKey": "cluster_name","integrationType": "blob-storage"}
+label=Node Label Keys
+usage=The node label keys that this cluster supports.
Note: You will additionally need to add truefoundry.com/gpu_type label for GPU-supported node pools.
For more information, check out this documentation.
+sort=100
Show child attributes
+label=Nodepool Selector Label +usage=The nodepool selector label that this cluster supports
+label=Owner +usage=Names of the owners that own this resource
Show child attributes
+label=Account Name +sort=1 +usage=The name of the account that owns this resource +placeholder=Search Account +uiType=AccountSelect +uiProps={"maxAllowedAccounts": 1}
Show child attributes
Subject ID
Subject type
user, team, serviceaccount, virtualaccount Subject slug
Subject display name
Was this page helpful?