---
title: Charmhub | Deploy Google Cloud Platform Storage Driver using Charmhub - The
  Open Operator Collection
description: Deploy the latest version of Google Cloud Platform Storage Driver on
  any cloud. Runs the GCP Storage Driver in the kubernetes cluster.
url: https://charmhub.io/gcp-k8s-storage
---

# Google Cloud Platform Storage Driver

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

Platform:

24.04

22.04

20.04

stable 95cee8c

```
juju deploy gcp-k8s-storage
```

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

---

#### Relevant links

* [Contact](https://launchpad.net/~containers)

---

#### Contacts

##### Maintainers

* [Submit a bug](https://bugs.launchpad.net/charm-gcp-k8s-storage)

---

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

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

## Description

This charm manages installation of the out of tree csi driver from google
kubernetes-sigs/gcp-compute-persistent-disk-csi-driver such that Charmed
Kubernetes can use its storage features.

## Usage

The charm requires gcp credentials and connection information, which
should be provided by relating to the gcp-integrator charm.

## Deployment

### The full process

```
juju deploy charmed-kubernetes
juju config kubernetes-control-plane allow-privileged=true
juju deploy gcp-integrator --trust
juju deploy gcp-k8s-storage

juju relate gcp-k8s-storage:certificates     easyrsa
juju relate gcp-k8s-storage:kube-control     kubernetes-control-plane
juju relate gcp-k8s-storage                  gcp-integrator:gcp
juju relate kubernetes-control-plane         gcp-integrator:gcp
juju relate kubernetes-worker                gcp-integrator:gcp

##  wait for the kubernetes-control-plane to be active/idle
kubectl describe nodes |egrep "Taints:|Name:|Provider"
```

### Details

* Requires a `charmed-kubernetes` deployment on a gcp cloud launched by juju
* Deploy the `gcp-integrator` charm into the model using `--trust` so juju provided gcp credentials
* Deploy the `gcp-k8s-storage` charm in the model relating to the integrator
* Once the model is active/idle, the charm will have successfully deployed the gcp persistent disk driver in the `gce-pd-csi-driver` namespace

---

[Help improve this document in the forum](https://discourse.charmhub.io/t/gcp-k8s-storage-docs-index/6996) ([guidelines](https://discourse.charmhub.io/t/how-to-write-docs-our-documentation-guidelines-for-contributors/1245)). Last updated 4 years ago.
