This section describes how to deploy YugaByte DB natively inside Kubernetes.
Local vs remote SSDsKubernetes gives users the option of using remote disks using dynamic provisioning or local storage which has to be pre-provisioned. Local storage gives great performance but the data is not replicated and can be lost if the node fails. This option is ideal for databases like YugaByte DB that manage their own replication and can guarantee HA. Remote storage has slightly lower performance but the data is resilient to failures. This type of storage is absolutely essential for databases that do not offer HA (for example, traditional RDBMSs like Postgres and MySQL). Below is a table that summarizes the features and when to use local vs remote storage.
|Local SSD storage||Remote SSD storage|
|Provision large disk capacity per node||Depends on cloud-provider||Yes|
|Ideal deployment strategy with YugaByte DB||Use for latency sensitive apps
Add remote storage to increase capacity / cost-efficient tiering
|Use for large disk capacity per node|
|Disk storage resilient to failures||No||Yes|
|Performance - latency||Lower||Higher|
|Performance - throughput||Higher||Lower|
|Typical cost characteristics||Lower||Higher|
|Kubernetes provisioning scheme||Pre-provisioned||Dynamic provisioning|