When deploying machine learning applications, building models is only a small part of the story. The entire process involves developing, orchestrating, deploying, and running scalable and portable machine learning workloads—a process Kubeflow makes much easier. With this practical guide, data scientists, data engineers, and platform architects will learn how to plan and execute a Kubeflow project that can support workflows from on-premises to the cloud.
Kubeflow is an open source Kubernetes-native platform based on Google’s internal machine learning pipelines, and yet major cloud vendors including AWS and Azure advocate the use of Kubernetes and Kubeflow to manage containers and machine learning infrastructure. In today’s cloud-based world, this book is ideal for any team planning to build machine learning applications.
With this book, you will:
• Get a concise overview of Kubernetes and Kubeflow
• Learn how to plan and build a Kubeflow installation
• Operate, monitor, and automate your installation
• Provide your Kubeflow installation with adequate security
• Serve machine learning models on Kubeflow
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
# Kubeflow Operations Guide: Managing Cloud and On-Premise Deployment
## 【One-Line Pitch】
A practical operations manual for planning, deploying, and managing Kubeflow—the Kubernetes-native platform for machine learning workloads—written for data scientists, data engineers, and platform architects who need to move ML models from experimentation to production across cloud and on-premise environments.
## 【Book Arc】
- **Opening (~0%–9%)**: Introduces the core problem—building ML models is only a fraction of the work; the real challenge lies in orchestrating, deploying, and running scalable ML workloads. Establishes why Kubernetes and Kubeflow matter for enterprise ML, tracing the evolution from traditional data systems (RDBMS, Hadoop, Spark) to Kubernetes-native approaches.
- **Early (~9%–25%)**: Explains why Kubeflow exists beyond the raw Kubernetes API—solving deployment consistency, security control, resource over-provisioning, workflow orchestration, and centralized monitoring. Covers the platform's component groups: Jupyter Notebooks, Fairing for submitting training jobs, and framework operators (e.g., TFJob CRDs).
- **Early-to-Middle (~25%–38%)**: Dives into Kubeflow architecture, including how user requests flow through authentication (OIDC, JWT), authorization via SubjectAccessReview API versus impersonation, and the profile/namespace model for multitenancy. Discusses Istio's role in security, quotas, and traffic management.
- **Middle (~38%–47%)**: Explores the training component architecture—how CRDs extend the Kubernetes API for distributed training (TFJob with chiefs, workers, parameter servers) and how other components (Katib, Pipelines) sit atop Kubernetes as integrated applications. Begins planning considerations for installation.
- **Middle (~47%–end of excerpts)**: Addresses the operational planning phase—the tension between data science teams and operations teams over model deployment, GPU planning, and the requirements for a successful Kubeflow deployment: secure data access, shared multitenant compute, tooling flexibility, and portability between on-premise and cloud.
## 【Key Takeaways】
- **Kubeflow solves the "glue code" problem** (Early): Building a multitenant data science platform on raw Kubernetes requires extensive custom integration for notebooks, pipelines, and security. Kubeflow provides this scaffolding so data scientists focus on modeling, not Kubernetes APIs.
- **Container drivers are a portability trap** (Early): GPU drivers operate at kernel level, so you can't simply bundle them in containers. Code that works on a laptop may fail on cloud VMs with GPUs—Kubeflow helps manage these hardware abstraction challenges.
- **Kubeflow is framework-agnostic** (Early): Despite the name (Kubernetes + TensorFlow), users can choose any ML framework for notebooks and workflows. The platform has evolved well beyond its TensorFlow origins.
- **Multitenancy is namespace-based** (Early-to-Middle): Each user or team gets a notebook server in its own namespace with Kubernetes RBAC policies. Profiles and namespaces have a one-to-one correspondence, providing isolation and preventing resource clutter.
- **Authorization has two paths with distinct trade-offs** (Middle): SubjectAccessReview API is the recommended approach for web applications—it queries Kubernetes RBAC without granting full permissions. Impersonation is simpler but can't be scoped down, making it risky for tools like Jupyter Notebooks.
- **CRDs are the key to distributed training** (Middle): Training components (TFJob, MPI, Chainer) extend the Kubernetes API via custom resource definitions. Users declare desired state (number of workers, parameter servers) and Kubernetes controllers handle the rest.
- **Data science and operations teams need a bridge** (Middle): The friction between model-specific expectations and generalized deployment practices is real. Kubeflow addresses this by providing standardized tooling for secure data access, shared GPU infrastructure, and portable workloads.
## 【Reading Tips】
- **Skim the early chapters (0%–25%)** if you're already familiar with Kubernetes basics; focus instead on the "why Kubeflow" arguments and component overviews that explain how pieces fit together.
- **Deep-read the architecture sections (~25%–38%)** on authentication and authorization—these are subtle and critical for production deployments. The SubjectAccessReview versus impersonation discussion is essential for anyone building web applications on Kubeflow.
- **Pay attention to the planning chapter (~44%–47%)** if you're about to install Kubeflow; the requirements list (secure data access, multitenant compute, tooling flexibility, portability) serves as a useful pre-deployment checklist.
- **Don't skip the GPU planning discussion**—it's a core use case and the driver/container explanation clarifies why GPU workloads need special handling in Kubernetes.
- **Take away the operational mindset**: This book is written for operators, not just data scientists. The emphasis on security, multitenancy, and resource management signals what you'll need to plan for before deployment.
## 【Coverage Limits】
The excerpts cover roughly the first half of the book (through planning chapters). Later sections on installation execution, monitoring, automation, and model serving are not covered in this guide.
##
Page 11
rprise 2 It’s Harder Than Ever to Run Enterprise Infrastructure 4 Identifying Next-Generation Infrastructure (NGI) Core Principles 6 Kubernetes for Productio...
rate the components for things like workflow orchestration. Just adding nodes on Kubernetes and expecting them to operate as a cohesive plat‐ form doesn’t al...
ns are stored in a MySQL database, and artifacts are stored in an artifact store such as MinIO server or a cloud storage system. Both MinIO and MySQL are bot...
learning. 66 | Chapter 3: Planning a Kubeflow Installation model in a standardized manner, such as in the workflow of deploying to an ordinary web server or...
ome emerging design patterns where workloads can “burst” to the cloud from on-premise under the guise of needing more capacity, most of the 86 | Chapter 3: P...
s seen in Figure 5-7. Figure 5-7. New Project dialog window 122 | Chapter 5: Running Kubeflow on Google Cloud Figure 5-11. OAuth consent screen For authorize...
eps to deploy your EKS cluster. The same prerequisite steps hold true whether you deploy your EKS cluster with the management console or eksctl. The installa...
-manager-cm-role created clusterrole.rbac.authorization.k8s.io/seldon-manager-role-kubeflow created clusterrole.rbac.authorization.k8s.io/seldon-manager-sas-...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Kubeflow Operations Guide Managing Cloud and On-Premise Deployment (Josh Patterson, Michael Katzenellenbogen etc.)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Kubeflow Operations Guide Managing Cloud and On-Premise Deployment (Josh Patterson, Michael Katzenellenbogen etc.)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment