If you have access to the kubernetes cluster, and need to find user and project information from a given run id, you can find this information in the output of the kubectl describe command.
You can first grep for the run with:
kubectl get pods -n <domino-compute-namespace> | grep <run-id>
Once you identify the run in question, use the following:
kubectl describe pod <pod-name> -n <domino-compute-namespace>
Within the output of the describe, the user and project information will be associated with the Labels key:
If you have a need to kill the run pod from the backend, you will need to delete the kubernetes service and/or job associated with the run. These will have the same name as the run pod:
kubectl delete job <job-name> -n <domino-compute>
kubectl delete service <service-name> -n <domino-compute>
Please be cautious with delete commands and take care to delete the intended objects. As an extra precaution you can add the --dry-run=client option to the command to test its effect before committing to it.
Comments
0 comments
Please sign in to leave a comment.