​
Select Service
ves-io-schema-k8s_cluster_role-API-List
Published April 5, 2023 | Last modified November 14, 2025
Examples of listing k8s_cluster_role
Usecase:
List all k8s_cluster_roles in current namespace
Request using vesctl:
vesctl configuration list k8s_cluster_role --namespace system
vesctl yaml response:
errors: []
items:
- annotations: {}
labels: {}
name: k8s-cluster-role-1
namespace: system
statusSet: []
tenant: acmecorp
uid: f810b8b5-07ef-4188-be83-c3a1ceac0077
- annotations: {}
labels: {}
name: k8s-cluster-role-2
namespace: system
statusSet: []
tenant: acmecorp
uid: afe26be8-1914-4353-90a1-3373ab3e6855
- annotations: {}
labels: {}
name: k8s-cluster-role-3
namespace: system
statusSet: []
tenant: acmecorp
uid: 69c52bee-00b5-45a0-9d86-fbbf8a10fccd
- annotations: {}
labels: {}
name: k8s-cluster-role-4
namespace: system
statusSet: []
tenant: acmecorp
uid: 91e17ba3-9ad1-4d4c-ac3e-dcc9b5048b60
Copied!
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build4194363419_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/k8s_cluster_roles'
Copied!
curl response
HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 13 Nov 2025 23:06:20 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "system",
"name": "k8s-cluster-role-1",
"uid": "f810b8b5-07ef-4188-be83-c3a1ceac0077",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "k8s-cluster-role-2",
"uid": "afe26be8-1914-4353-90a1-3373ab3e6855",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "k8s-cluster-role-3",
"uid": "69c52bee-00b5-45a0-9d86-fbbf8a10fccd",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
},
{
"tenant": "acmecorp",
"namespace": "system",
"name": "k8s-cluster-role-4",
"uid": "91e17ba3-9ad1-4d4c-ac3e-dcc9b5048b60",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"get_spec": null,
"status_set": [
]
}
],
"errors": [
]
}
Copied!