Questions and answers
14 questions from the community, answered by the
authors in
#book-of-the-week
on Slack.
-
Ross Brigoli
Author of the book
Hello Everyone, we’re glad to be here. We are happy to talk about the book if you have questions. Thank Francis Terence Amit for the opportunity.
-
Alexey Grigorev asked
Thanks for joining us!
Just curious, why should we do ML in Kubernetes at all? It seems more difficult than using some more specialized solutions like sagemaker
-
Ross Brigoli
Author of the book
Good question. Apart from cost and vendor lock-ins, Kubernetes allows you to use the same environment for both development, experiments and production. This means unified experience and standard deployment and operational tasks. You can take advantage of the open source observability tools that work well in Kubernetes. Kubernetes runs on the edge devices as well, wether its on a vehicle or satellites.
-
Ross Brigoli
Author of the book
There are products that can manage multiple Kubernetes instances and Kubernetes deployments in one place. Traditional software engineering teams are already gaining benefits from this through DevOps. Why not bring this benefits to data science and ML workloads.
-
Alexey Grigorev asked
What do you think of KServe and other tools on top of Kubernetes? Are they making our life easier or actually only complicating it?
-
Michal asked
Should data scientists learn about Kubernetes? 😉 if so, how much should they learn - only high level?
-
Lev Konstantinovskiy asked
is there a way to auto-scale gpu load on kubernetes? say for transformer inference?
-
Low Kim Hoe asked
Is the book cover the cloud version kubernetes? (AWS EKS, GCP GKE)
-
onyeka okonji asked
Hi Ross Brigoli and Machine Learning in Production I’ve got a few questions:
1. I’ll like to know if your book touches on using tools like Terraform
2. Does the book touch on registering Kubernetes clusters on cloud platforms particularly AWS and maybe GCS?
3. This may be a bit off but can you point to reasons why one would use a Kubernetes cluster + containers
over using tools like AWS Lambda which might seem easier and faster?
4. Finally, what workflow tools do you best recommend for deploying ML workflows on Kubernetes and does your book touch on that? I know there are a few but I’d like to know the pros and cons and your best recommendations.
Thank you!
-
Machine Learning in Production asked
Great questions onyeka okonji.
-
Machine Learning in Production asked
1- The book does not use terraform. Kubernetes is our abstraction layer for this book
2- The book does not talk about provisioning K8S in the cloud. We want to focus on the ML toolset and not the underlying platform. If you want to know more about it, check out my other book at https://www.packtpub.com/product/the-kubernetes-workshop/9781838820756 (opens in a new tab)
3- K8S provides a common abstraction layer that can help you run your solution to on-premise or any major cloud vendor. This portability capability was the main reason to focus on K8S
4- The book covers AirFlow. AirFlow provides the workflow component required for data pipelines, model lifecycle and more.
Let us know if you have any further comments.
-
Hareesh asked
Q/ Ross Brigoli Do you think K8s should be the primary tool for those who are exploring FinOps (optimising Cloud costs) space ? What advantages does K8s provide over K8s alternative tools ?
-
Machine Learning in Production asked
We have proposed a platform to perform data pipelines, model training, analytics and model execution. These components are generally required to convert raw data into models. If you need to deploy a single model without worrying about the data lifecycle and how teams can collaborate, Kubernetes may not be the right choice.
-
Alena Kniazeva asked
Hi, Ross Brigoli and Machine Learning in Production! I have a question. It seems that Google Run is good enough to run a simple ML service. Is there any criteria that it's time to use Kubernetes?
Want the whole story?
The answers above are the short version of Machine Learning on Kubernetes.