List cluster meshes
import requests
url = "https://platform.ankra.app/api/v1/org/cluster-meshes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/cluster-meshes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/cluster-meshes \
--header 'Authorization: Bearer <token>'{
"success": true,
"cluster_meshes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"members": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cilium_cluster_id": 123,
"cilium_cluster_name": "<string>",
"status": "<string>",
"network_mode": "<string>",
"pod_cidr": "<string>",
"service_cidr": "<string>",
"overlay_cidr": "<string>",
"expected_peers": 123,
"connected_peers": 123,
"last_verified_at": "2023-11-07T05:31:56Z"
}
]
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Cluster Meshes
List cluster meshes
Lists the organisation’s Cilium ClusterMeshes with their members, each member’s network layout and what its agent last proved about the peer links (null peer counts mean not yet verified, not zero). A project-confined caller sees the meshes reaching its project. Requires clusters.read at organisation scope. Answers 404 while the organisation’s cluster_mesh feature flag is off.
GET
/
api
/
v1
/
org
/
cluster-meshes
List cluster meshes
import requests
url = "https://platform.ankra.app/api/v1/org/cluster-meshes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/cluster-meshes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/cluster-meshes \
--header 'Authorization: Bearer <token>'{
"success": true,
"cluster_meshes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"members": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cilium_cluster_id": 123,
"cilium_cluster_name": "<string>",
"status": "<string>",
"network_mode": "<string>",
"pod_cidr": "<string>",
"service_cidr": "<string>",
"overlay_cidr": "<string>",
"expected_peers": 123,
"connected_peers": 123,
"last_verified_at": "2023-11-07T05:31:56Z"
}
]
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}