Data storage
Written by
Updated at May 28, 2024
What are the features of disk storage when a database (for example, MySQL® or PostgreSQL) is located in a Kubernetes cluster?
For a database located in a Kubernetes cluster, use StatefulSet
How do I connect to managed Yandex Cloud databases?
To connect to a Yandex Cloud managed database located in the same network, specify its hostname and FQDN.
To connect a database certificate to a pod, use secret
or configmap
objects.
What's the right way to add a persistent volume to a container?
You can select connection mode for Compute Cloud disks depending on your needs:
- If you want Kubernetes to automatically provision a
PersistentVolume
object and configure a new disk, create a pod with a dynamically provisioned volume. - To use existing Compute Cloud volumes, create a pod with a statically provisioned pod.
For more information, see Working with persistent volumes.
What types of volumes does Managed Service for Kubernetes support?
Managed Service for Kubernetes supports temporary
volumes and persistent
volumes. For more information, see Volumes.