# Data on GKE documentation

[Read product documentation](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/kubernetes-engine-overview.md.txt) With data-intensive workloads, you can select from these options to best meet your organization's needs:

- **Fully-managed data solutions** : Managed offerings like [Cloud SQL](https://docs.cloud.google.com/sql), [Memorystore](https://docs.cloud.google.com/memorystore), [Managed Service for Apache Spark](https://docs.cloud.google.com/dataproc), or [Spanner](https://docs.cloud.google.com/spanner) are easier to maintain and operate, and can be a good choice if you don't require granular control.
- **Data app on Kubernetes** : You can deploy and run your stateful applications on a [Google Kubernetes Engine (GKE)](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/kubernetes-engine-overview.md.txt) cluster, with all the [benefits of managed Kubernetes](https://cloud.google.com/blog/products/containers-kubernetes/the-case-for-running-data-apps-on-kubernetes) including scalability, security, resilience, and cost effectiveness. You can use Kubernetes operators like those for Kafka and Redis to simplify your workload management.

<br />

Learn how running data workloads on Kubernetes helps lower costs and increase your organization's ROI. [Read the Data on Kubernetes 2022 Report](https://dok.community/wp-content/uploads/2022/10/DoK_Report_2022.pdf)

## Documentation resources

Find quickstarts and guides, review key references, and get help with common issues.

### Databases and caches

- Guide

  [Connect to Cloud SQL from GKE](https://docs.cloud.google.com/sql/docs/mysql/connect-kubernetes-engine.md.txt)

- Guide

  [Connect to a Redis instance from a GKE cluster](https://docs.cloud.google.com/memorystore/docs/redis/connect-redis-instance-gke.md.txt)

### AI and machine learning

- Blog

  [Local SSD for high-performance storage on Google Kubernetes Engine](https://cloud.google.com/blog/products/containers-kubernetes/high-performance-aiml-storage-through-local-ssd-support-on-gke)

- Guide

  [Provision ephemeral storage with Local SSDs](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/local-ssd.md.txt)

- Guide

  [Access Cloud Storage buckets with the Cloud Storage FUSE CSI driver](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver.md.txt)

### Content management

- Guide

  [Access Filestore CSI instances with the Filestore CSI driver](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/filestore-csi-driver.md.txt)

- Guide

  [Optimize storage with Filestore Multishares for GKE](https://docs.cloud.google.com/filestore/docs/optimize-multishares.md.txt)

- Tutorial

  [Deploy a stateful workload with Filestore](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workload.md.txt)

## Related resources

Training and tutorials Use cases Code samples Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Tutorial Training and tutorials

### [Deploy a Qdrant vector database to GKE](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/deploy-qdrant.md.txt)


Deploy a Qdrant vector database cluster to GKE.


Tutorial Training and tutorials

### [Deploy PostgreSQL to GKE using CloudNativPG](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workloads/cloudnativepg.md.txt)


Deploy PostgreSQL to GKE clusters using the CloudNativePG operator.


Tutorial Training and tutorials

### [Deploy PostgreSQL to GKE using Zalando](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workloads/zalando.md.txt)


Deploy PostgreSQL to GKE clusters using the Zalando operator.


Tutorial Training and tutorials

### [Deploy Redis to GKE using Redis Enterprise](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workloads/enterprise-redis.md.txt)


Deploy Redis to GKE clusters using the Redis Enterprise operator.


Tutorial Training and tutorials

### [Deploy Apache Kafka to GKE using Confluent](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workloads/confluent.md.txt)


Deploy Apache Kafka to GKE clusters using the Confluent operator.


Tutorial Training and tutorials

### [Deploy Apache Kafka to GKE using Strimzi](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/apache-kafka-strimzi.md.txt)


Deploy Apache Kafka to GKE clusters using the Strimzi operator.


Tutorial Training and tutorials

### [Deploy an app using GKE Autopilot and Cloud Spanner](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/gke-spanner-integration.md.txt)


Deploy a containerized web app to a GKE Autopilot cluster, and use a Google Cloud Spanner database in the backend to store data.


Tutorial Training and tutorials

### [Deploy a stateful MySQL cluster on GKE](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workloads/mysql.md.txt)


Deploy a MySQL InnoDB cluster and MySQL router middleware on GKE.


Cloud skills training Training and tutorials

### [Connect to Cloud SQL from an Application in Kubernetes Engine](https://www.cloudskillsboost.google/focuses/5625?parent=catalog)


Connect an app in GKE to Cloud SQL using the Cloud SQL Proxy container.


Tutorial Training and tutorials

### [Deploy a Redis cluster on GKE](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/upgrading-stateful-workload.md.txt)


Learn how to create and deploy a highly-available Redis cluster.


Guide Training and tutorials

### [Using the Compute Engine persistent disk CSI Driver](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver.md.txt)


Provision and connect to volumes backed by Compute Engine PDs.


Codelab Training and tutorials

### [Connecting Cloud Spanner with GKE Autopilot](https://codelabs.developers.google.com/codelabs/cloud-spanner-gke-autopilot#0)


Learn to connect several backend services running on GKE Autopilot to a Cloud Spanner database, using Terraform and Workload Identity.


Cloud skills training Training and tutorials

### [Running a MongoDB Database in Kubernetes with StatefulSets](https://www.cloudskillsboost.google/focuses/640?parent=catalog)


Learn to set up a MongoDB database with a StatefulSet.


Quickstart Training and tutorials

### [Run a Spark job on Dataproc on GKE](https://docs.cloud.google.com/dataproc/docs/guides/dpgke/quickstarts/dataproc-gke-quickstart-create-cluster)


Create a Dataproc on GKE virtual cluster, then run a Spark job on the cluster.


Tutorial Training and tutorials

### [Deploy Memcached on GKE](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/deploying-memcached-on-kubernetes-engine.md.txt)


Learn to deploy a cluster of distributed Memcached servers on GKE.


Blog Use cases

### [El Carro drives change for Regnology](https://cloud.google.com/blog/products/databases/el-carro-automates-oracle-database-management-for-regnology)


El Carro is an open-source Kubernetes operator for automating Oracle database management.

Oracle GKE

<br />

Blog Use cases

### [Announcing Cloud Storage FUSE and GKE CSI driver for AI/ML workloads](https://cloud.google.com/blog/products/containers-kubernetes/announcing-cloud-storage-fuse-and-gke-csi-driver-for-aiml-workloads)


Access AI/ML data stored in Google Cloud Storage in containers running on GKE using file semantics.

AI/ML GKE

<br />

Discover Use cases

### [Backup for GKE](https://docs.cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke.md.txt)


Backup for GKE is a service for backing up and restoring workloads in GKE clusters.

Backup for GKE

<br />

Blog Use cases

### [Scaling Microservices Applications: From Open Source to Redis Enterprise on Google Cloud](https://cloud.google.com/blog/topics/developers-practitioners/scaling-microservices-applications-open-source-redis-enterprise-google-cloud)


Transition from open source to enterprise-ready using Google Cloud and Redis.

Redis GKE

<br />

Blog Use cases

### [Connecting Google Kubernetes Engine to Cloud SQL using the Auth Proxy Operator](https://cloud.google.com/blog/products/databases/public-preview-for-cloud-sql-auth-proxy-kubernetes-operator)


Simplify connecting connecting GKE to Cloud SQL.

Cloud SQL GKE

<br />

Code sample Code Samples

### [Stateful PostgreSQL sample](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/main/databases/gke-stateful-postgres)


Build and deploy a stateful PostgreSQL cluster using Kubernetes and Day 1 and 2 operations such as Monitoring with Cloud Monitor and disaster recovery with Backup for GKE.


Code sample Code Samples

### [Stateful MySQL sample](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/main/databases/gke-stateful-mysql)


Deploy a MySQL database instance on GKE with the necessary naming and configuration to create a MySQL InnoDB Cluster.


Code sample Code Samples

### [Stateful Kafka sample](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/main/streaming/gke-stateful-kafka)


Build and deploy a stateful Kafka cluster using Kubernetes and Day 1 and 2 operations such as Monitoring with Cloud Monitor and disaster recovery with Backup for GKE.


Code sample Code Samples

### [Stateful workload with Filestore sample](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/main/databases/stateful-workload-filestore)


Create Deployments that read and write to the NFS (Network File System).


## Related videos