How do you shut down all models for a deployment? Katie March 24, 2021 22:56 Updated Follow How do you shut down all models for a deployment? Related articles How can I programmatically tell if my code is running in a model or not? Model Publishing Overview Promoting Projects To Production Is it possible to have python2 and python3 in the same compute environment? Use imported package project in model api Comments 3 comments Sort by Date Votes Jaclyn Patterson March 15, 2021 01:37 Answer from my colleague John: kubectl get deploy | grep model |awk '{print $1}'| xargs -I{} kubectl delete deploy {}Submitted by: katie.shakman 0 Comment actions Permalink Jaclyn Patterson March 15, 2021 01:37 Nice one @katie You can use the Code format to make this an easier copy and paste thing:kubectl get deploy | grep model | awk '{print $1}'| xargs -I{} kubectl delete deploy {}ThanksPetterSubmitted by: petter.olsson 0 Comment actions Permalink Jaclyn Patterson March 15, 2021 01:37 Thanks for the nice formatting @dominopetter, much better!Submitted by: katie.shakman 0 Comment actions Permalink Please sign in to leave a comment.
Comments
3 comments
Answer from my colleague John:
kubectl get deploy | grep model |awk '{print $1}'| xargs -I{} kubectl delete deploy {}
Submitted by: katie.shakman
You can use the Code format to make this an easier copy and paste thing:
Thanks
Petter
Submitted by: petter.olsson
Submitted by: katie.shakman
Please sign in to leave a comment.