# Kubernetes

![](https://2327526407-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvBP1svpACTB1R1x_U4%2F-LvNWUoWieQqaGmU_gl9%2F-LvOF_13FB4XUd5RQW_L%2Fimage.png?alt=media\&token=13d78d3e-e8d9-4e7b-9f36-1541aa1fa926)

### Introduction&#x20;

Kubernetes (sometimes abbreviated as K8s) is an open source general-purpose container orchestration system initially developed by Google for running and managing [containerized workloads and services](https://machine-learning.paperspace.com/wiki/containers).  Historically, this meant deploying and scaling web applications but recently, the ML community has co-opted the technology to serve as the underlying orchestration layer for training and deploying ML models. &#x20;

Kubernetes has recently exploded in popularity and even though it is a very new and relatively immature project, thousands of organizations have invested in the technology to manage their public cloud or on-premise deployments.  Companies either deploy their own Kubernetes cluster or used managed cloud services such as EKS on AWS.

### Relationship to Machine Learning

Kubernetes provides the raw ingredients of an ML platform but Kubernetes itself is not suitable for ML practitioners.  It’s endlessly complicated and designed to be deployed and managed by DevOps teams.  Gradient is an “ML layer” that runs on top of Kubernetes and targets Data Scientists. &#x20;See below for more information.

### Benefits of Kubernetes

Kubernetes can run on any infrastructure which facilitates multi-cloud adoption and applications portability. &#x20;

Kubernetes has gained widespread adoption and is supported by a vast community so it gets more powerful every day. There is also a growing ecosystem of tools that are integrating with or building on top of Kubernetes.

## Kubernetes + Gradient

Gradient is built on top of Kubernetes. This provides multi-cloud capability, interoperability with Kubernetes plugins, and robust scheduling and resource management. &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://machine-learning.paperspace.com/wiki/kubernetes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
