k8s_client.views.users.charts¶
Module Contents¶
Functions¶
|
DEPRECATED! |
|
Get user contexts list |
- k8s_client.views.users.charts.uninstall_completed_charts_for_user(username=None)¶
DEPRECATED!
Uninstalls the completed charts
Parameters¶
"username": string, optionalName of the owner user for which to upload the file
Body parameters¶
"force_restart_errored_pods": booleanForce the system to restart the pods in error
Returns¶
[code: 404]Error message if:usernameis NOT inside the DB
[code: 200]OKif the job is in reserved status
- k8s_client.views.users.charts.get_user_contexts(username=None)¶
Get user contexts list
Parameters¶
"username": string, optionalName of the owner user for which to get the contexts
Returns¶
[code: 404]Error message if:usernameis NOT inside the DB
[code: 200]list [dict], otherwiseEach dict items contains:
"cluster_id": intID of the kube config cluster
"cost": intContains the cost for CPU for second of the cluster
"id": intID of the kube config context
"kubeuser_id": intID of the kube config user
"max_cores_for_single_job": intMax number of cores usable for a job in MPI inside the cluster
"name": stringName of the context
"namespace": stringName of the namespace to use