curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/kubernetes-cluster \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"cp_node_count": 123,
"id": "kcqxhqbg86sj0ng5e9ck5n191z",
"location": "eu-central-h1",
"name": "my-cluster-name",
"node_size": "<string>",
"version": "<string>",
"cp_vms": [
{
"id": "vmhfy8gff8c67hasb0eez2k1pd",
"ip4": "127.0.0.1",
"ip4_enabled": true,
"ip6": "2606:4700:3108::ac42:2835",
"location": "eu-central-h1",
"name": "my-vm-name",
"size": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"unix_user": "<string>"
}
],
"display_state": "<string>",
"nodepools": [
{
"kubernetes_cluster_id": "kcqxhqbg86sj0ng5e9ck5n191z",
"id": "knqxhqbg86sj0ng5e9ck5n191z",
"name": "my-nodepool-name",
"node_count": 123,
"node_size": "<string>",
"vms": [
{
"id": "vmhfy8gff8c67hasb0eez2k1pd",
"ip4": "127.0.0.1",
"ip4_enabled": true,
"ip6": "2606:4700:3108::ac42:2835",
"location": "eu-central-h1",
"name": "my-vm-name",
"size": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"unix_user": "<string>"
}
]
}
],
"services_load_balancer_url": "<string>"
}
]
}curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/kubernetes-cluster \
--header 'Authorization: Bearer <token>'{
"count": 123,
"items": [
{
"cp_node_count": 123,
"id": "kcqxhqbg86sj0ng5e9ck5n191z",
"location": "eu-central-h1",
"name": "my-cluster-name",
"node_size": "<string>",
"version": "<string>",
"cp_vms": [
{
"id": "vmhfy8gff8c67hasb0eez2k1pd",
"ip4": "127.0.0.1",
"ip4_enabled": true,
"ip6": "2606:4700:3108::ac42:2835",
"location": "eu-central-h1",
"name": "my-vm-name",
"size": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"unix_user": "<string>"
}
],
"display_state": "<string>",
"nodepools": [
{
"kubernetes_cluster_id": "kcqxhqbg86sj0ng5e9ck5n191z",
"id": "knqxhqbg86sj0ng5e9ck5n191z",
"name": "my-nodepool-name",
"node_count": 123,
"node_size": "<string>",
"vms": [
{
"id": "vmhfy8gff8c67hasb0eez2k1pd",
"ip4": "127.0.0.1",
"ip4_enabled": true,
"ip6": "2606:4700:3108::ac42:2835",
"location": "eu-central-h1",
"name": "my-vm-name",
"size": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"unix_user": "<string>"
}
]
}
],
"services_load_balancer_url": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
Pagination - Start after
Pagination - Page size
Pagination - Order column
A list of KubernetesClusters
Show child attributes
Number of control plane nodes
ID of the KubernetesCluster
"kcqxhqbg86sj0ng5e9ck5n191z"
Location of the KubernetesCluster
"eu-central-h1"
Name of the KubernetesCluster
"my-cluster-name"
Size of each control plane node
Version of the KubernetesCluster
Show child attributes
ID of the VM
"vmhfy8gff8c67hasb0eez2k1pd"
IPv4 address
Whether IPv4 is enabled
IPv6 address
Location of the VM
"eu-central-h1"
Name of the VM
"my-vm-name"
Size of the underlying VM
State of the VM
Storage size in GiB
Unix user of the VM
State of the KubernetesCluster
Show child attributes
Parent KubernetesCluster id
"kcqxhqbg86sj0ng5e9ck5n191z"
ID of the KubernetesNodepool
"knqxhqbg86sj0ng5e9ck5n191z"
Name of the KubernetesNodepool
"my-nodepool-name"
Number of worker nodes
Size of each worker node
Worker VMs definition
Show child attributes
ID of the VM
"vmhfy8gff8c67hasb0eez2k1pd"
IPv4 address
Whether IPv4 is enabled
IPv6 address
Location of the VM
"eu-central-h1"
Name of the VM
"my-vm-name"
Size of the underlying VM
State of the VM
Storage size in GiB
Unix user of the VM
Services