Skip to content

Latest commit

 

History

History

2-google-cloud-storage

This example is an extended version of the Google Cloud Storage integration showcased in Section 4.1 of the paper Pods-as-Volumes: Effortlessly Integrating Storage Systems and Middleware into Kubernetes, in Seventh International Workshop on Container Technologies and Container Clouds (WoC '21).

  • File provisioner.yaml defines the PavProvisioner.

  • File usage-dynamic.yaml shows how to use the provisioner with dynamically-provisioned volumes, defining (1) a StorageClass that references the PavProvisioner, (2) a PersistentVolumeClaim that causes a GCS bucket to be allocated and is backed by it, and (3) a Pod that mounts the PersistentVolumeClaim and sleeps forever.

  • File usage-static.yaml shows how to use the provisioner with statically-provisioned volumes, defining (1) a PersistentVolume that references the PavProvisioner and is backed by an existing GCS bucket, (2) a PersistentVolumeClaim that references the PersistentVolume, and (3) a Pod that mounts the PersistentVolumeClaim and sleeps forever.