---
title: Charmhub | Deploy Charmed Spark K8s using Charmhub - The Open Operator Collection
description: Deploy the latest version of Charmed Spark K8s as a Kubernetes Operator
  on any cloud.
url: https://charmhub.io/spark-k8s-bundle/configurations/spark-integration-hub-k8s
---

##### We've discontinued the registration of new Bundles

New Bundle registrations are no longer accepted. Existing bundles remain functional. We recommend using the Juju Terraform Provider for new deployments.

[Learn more](https://discourse.charmhub.io/t/discontinuing-new-charmhub-bundle-registrations/15344)

# Charmed Spark K8s

[Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")
| bundle

* [Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")
  | bundle

Platform:

edge 4

```
juju deploy spark-k8s-bundle --channel edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [Spark History Server K8S](https://charmhub.io/spark-k8s-bundle/configurations/spark-history-server-k8s)
* [Spark Integration Hub K8S](https://charmhub.io/spark-k8s-bundle/configurations/spark-integration-hub-k8s)
* [Kyuubi K8S](https://charmhub.io/spark-k8s-bundle/configurations/kyuubi-k8s)
* [Postgresql K8S](https://charmhub.io/spark-k8s-bundle/configurations/postgresql-k8s)
* [Postgresql K8S](https://charmhub.io/spark-k8s-bundle/configurations/postgresql-k8s)
* [S3 Integrator](https://charmhub.io/spark-k8s-bundle/configurations/s3-integrator)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* driver-pod-template | string

  Define K8s driver pod from a file accessible to the `spark-submit` process.
  Ex.: "s3a://bucket/template.yml".
  Is equivalent to the following Spark configuration:
  spark.kubernetes.driver.podTemplateFile=<driver-pod-template>
* enable-dynamic-allocation | boolean

  Enable dynamic allocation of pods for autoscaling Spark jobs.
  Is equivalent to the following Spark configurations:
  spark.dynamicAllocation.enabled=true
  spark.dynamicAllocation.shuffleTracking.enabled=true
  spark.dynamicAllocation.minExecutors=1
* executor-pod-template | string

  Define K8s executor pods from a file accessible to the `spark-submit` process.
  Ex.: "s3a://bucket/template.yml".
  Is equivalent to the following Spark configuration:
  spark.kubernetes.executor.podTemplateFile=<executor-pod-template>
* monitored-service-accounts | string

  Comma-separated patterns for namespaces and service accounts to monitor and update in
  addition to the ones managed by the charm's relations.
  Ex.: "namespace1:sa1,namespace2:\*".
* spark-image | string

  Define a custom Spark image to be used for driver and executor pods.
  If this option is set, the integration hub will supply the related application with an additional Spark
  property to use this image for drivers and executors. If not set, it's up to the related application to
  choose what image to use for the driver and executor pods.
