Update kubernetes resource settings for a team
Path Parameters
Header Parameters
update kubernetes resource settings body
Default CPU limit for the cluster in millicores (1000m = 1 CPU). Null means unlimited.
Default memory limit for the cluster in Mi (1024Mi = 1Gi). Null means unlimited.
Maximum CPU limit for the cluster in millicores (1000m = 1 CPU). Null means unlimited.
Maximum memory limit for the cluster in Mi (1024Mi = 1Gi). Null means unlimited.
Minimum CPU limit for the cluster in millicores (1000m = 1 CPU). Null means unlimited.
Minimum memory limit for the cluster in Mi (1024Mi = 1Gi). Null means unlimited.
Default CPU request for the cluster in millicores (1000m = 1 CPU). Null means unlimited.
Default memory request for the cluster in Mi (1024Mi = 1Gi). Null means unlimited.
ID of the team that these pod resource settings belong to
If true, update existing clusters with the new resource settings. If false, only new clusters will have the new resource settings.
CPU limit in millicores (1000m = 1 CPU). Null means unlimited.
Memory limit in Mi (1024Mi = 1Gi). Null means unlimited.
CPU request in millicores (1000m = 1 CPU). Null means unlimited.
Memory request in Mi (1024Mi = 1Gi). Null means unlimited.
Response Body
curl -X POST "https://api.devzero.io/backend/v0/teams/string/kubernetes-resource-settings" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"team_id": "string"
}'
{
"cluster_limits_default_cpu": 0,
"cluster_limits_default_memory": 0,
"cluster_limits_max_cpu": 0,
"cluster_limits_max_memory": 0,
"cluster_limits_min_cpu": 0,
"cluster_limits_min_memory": 0,
"cluster_requests_default_cpu": 0,
"cluster_requests_default_memory": 0,
"team_id": "string",
"update_existing_clusters": true,
"workspace_limits_cpu": 0,
"workspace_limits_memory": 0,
"workspace_requests_cpu": 0,
"workspace_requests_memory": 0
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}