---
title: Charmhub | Deploy Opensearch K8S using Charmhub - The Open Operator Collection
description: Deploy the latest version of Opensearch K8S as a Kubernetes Operator
  on any cloud.
url: https://charmhub.io/opensearch-k8s/docs/h-configure-azure
---

# Opensearch K8S

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

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

Platform:

2/edge 22

```
juju deploy opensearch-k8s --channel 2/edge
```

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

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

All commands are written for `juju v.3.1.7 +`

# How to configure Azure storage

This guide will teach you how to deploy and configure the [Azure Integrator charm](https://charmhub.io/azure-storage-integrator) for [Azure](https://azure.com/), send the configurations to the Charmed OpenSearch application, and update it.

---

## [Configure Azure integrator](https://charmhub.io/opensearch-k8s/docs/h-configure-azure#p-36685-configure-azure-integrator)

First, deploy and run the [`azure-integrator`](https://charmhub.io/azure-storage-integrator) charm:

```
juju deploy azure-storage-integrator --channel latest/edge
juju config azure-storage-integrator storage-account=<Azure_storage_account> container=<Azure_storage_container>
```

Then, add the the secret key to the charm:

```
juju add-secret mysecret secret-key=<Azure_storage_key>
juju grant-secret mysecret azure-storage-integrator
juju config azure-storage-integrator credentials=<secret-id>
```

> See all other configuration parameters in the [Configuration section](https://charmhub.io/azure-storage-integrator/configuration) of the azure-integrator documentation.

## [Integrate with Charmed OpenSearch](https://charmhub.io/opensearch-k8s/docs/h-configure-azure#p-36685-integrate-with-charmed-opensearch)

To pass these configurations to Charmed OpenSearch, integrate the two applications:

```
juju integrate azure-storage-integrator opensearch
```

---
