Kube Config
This API is used to get the Kubernetes Configuration File
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
project_idstringRequired
Project ID
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successget/core/user/projects/{project_id}/vcluster/kubeconfig
GET /core/user/projects/{project_id}/vcluster/kubeconfig HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"apiVersion": "text",
"kind": "text",
"metadata": {
"creationTimestamp": "text",
"generation": 1,
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
},
"spec": {
"clusterRef": {
"cluster": "text",
"namespace": "text",
"virtualCluster": "text"
},
"displayName": "text",
"owner": {
"user": "text"
},
"quotas": {
"project": {
"limits.cpu": "text",
"limits.memory": "text",
"limits.nvidia.com/gpu": "text",
"requests.storage": "text"
}
}
},
"status": {
"kubeConfig": "text"
}
},
"message": "Success"
}Last updated