Skip to content

Helm charts for creating reproducible and maintainable deployments of Polyaxon with Kubernetes.

License

Notifications You must be signed in to change notification settings

polyaxon/charts

Repository files navigation

License: Apache 2 Helm Charts Slack Docs GitHub GitHub

Polyaxon-charts

Polyaxon charts is a set of Helm charts for creating reproducible and maintainable deployments of Polyaxon and it's components with Kubernetes.

This repo includes:

  • Helm chart for self-hosted Polyaxon version
  • Helm chart for Polyaxon agent to be deployed with Polyaxon cloud or Polyaxon EE
  • Helm charts for distributed training operators.

Install

Setup Helm

To install the platform, the agent, or the training operator make sure you have Helm installed.

Namespace

$ kubectl create namespace polyaxon

namespace "polyaxon" created

Polyaxon charts repo

You can add the Polyaxon charts repo repository to your helm, so you can install Polyaxon and other charts provided by Polyaxon from it. This makes it easy to refer to the chart without having to use a long URL each time.

$ helm repo add polyaxon https://charts.polyaxon.com
$ helm repo update

TFJob/PytorchJob/MXJob/XGBoostJob/MPIJob

To install the distributed training jobs:

helm install plxtj polyaxon/trainingjobs --namespace=polyaxon

Deploying Polyaxon Agent to a Kubernetes namespace

The agent chart can be installed on a single node or on a multi-node cluster, in which case you need to provide a volume with ReadWriteMany or a cloud bucket for the artifacts store.

For more information, please visit the docs for the agent deployment.

Deploying Polyaxon to a Kubernetes namespace

This platform chart can be installed on a single node or on a multi-node cluster, in which case you need to provide a volume with ReadWriteMany or a cloud bucket for the artifacts store.

For more information, please visit the docs for the platform deployment.

The platform chart bootstraps a Polyaxon deployment on a Kubernetes cluster using the Helm package manager.

It also packages a postgres dependency for Polyaxon (we recommend that you bring your own postgres instance instead of using the built-in subchart):

If you deploy the scheduler or deploy our enterprise version you will need Redis (we recommend that you bring your own postgres instance instead of using the built-in subchart):

Uninstalling the Chart

To uninstall/delete the <RELEASE_NAME> deployment:

$ helm delete <RELEASE_NAME>

or with --purge flag

$ helm delete <RELEASE_NAME> --purge

The command removes all the Kubernetes components associated with the chart and deletes the release.