diff --git a/docs/examples/mongodb/volume-expansion/mops-volume-exp-replicaset.yaml b/docs/examples/mongodb/volume-expansion/mops-volume-exp-replicaset.yaml index b6f22adf7f..e9f380c464 100644 --- a/docs/examples/mongodb/volume-expansion/mops-volume-exp-replicaset.yaml +++ b/docs/examples/mongodb/volume-expansion/mops-volume-exp-replicaset.yaml @@ -8,4 +8,5 @@ spec: databaseRef: name: mg-replicaset volumeExpansion: - replicaSet: 2Gi \ No newline at end of file + replicaSet: 2Gi + mode: Online \ No newline at end of file diff --git a/docs/examples/mongodb/volume-expansion/mops-volume-exp-standalone.yaml b/docs/examples/mongodb/volume-expansion/mops-volume-exp-standalone.yaml index 9c7e1188cb..4b0285353c 100644 --- a/docs/examples/mongodb/volume-expansion/mops-volume-exp-standalone.yaml +++ b/docs/examples/mongodb/volume-expansion/mops-volume-exp-standalone.yaml @@ -8,4 +8,5 @@ spec: databaseRef: name: mg-standalone volumeExpansion: - standalone: 2Gi \ No newline at end of file + standalone: 2Gi + mode: Online \ No newline at end of file diff --git a/docs/examples/postgres/volume-expansion/pg-ha-cluster.yaml b/docs/examples/postgres/volume-expansion/pg-ha-cluster.yaml new file mode 100644 index 0000000000..8d163eeb87 --- /dev/null +++ b/docs/examples/postgres/volume-expansion/pg-ha-cluster.yaml @@ -0,0 +1,18 @@ +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-ha-cluster + namespace: demo +spec: + version: "13.13" + replicas: 2 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut diff --git a/docs/examples/postgres/volume-expansion/pg-standalone.yaml b/docs/examples/postgres/volume-expansion/pg-standalone.yaml new file mode 100644 index 0000000000..fff6a5ff13 --- /dev/null +++ b/docs/examples/postgres/volume-expansion/pg-standalone.yaml @@ -0,0 +1,18 @@ +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-standalone + namespace: demo +spec: + version: "13.13" + replicas: 3 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut diff --git a/docs/examples/postgres/volume-expansion/vol-exp-arbiter.yaml b/docs/examples/postgres/volume-expansion/vol-exp-arbiter.yaml new file mode 100644 index 0000000000..8eadb81cbc --- /dev/null +++ b/docs/examples/postgres/volume-expansion/vol-exp-arbiter.yaml @@ -0,0 +1,13 @@ +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp-arbiter + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-ha-cluster + type: VolumeExpansion + volumeExpansion: + mode: Online + arbiter: 12Gi diff --git a/docs/examples/postgres/volume-expansion/vol-exp.yaml b/docs/examples/postgres/volume-expansion/vol-exp.yaml new file mode 100644 index 0000000000..91133d2869 --- /dev/null +++ b/docs/examples/postgres/volume-expansion/vol-exp.yaml @@ -0,0 +1,13 @@ +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-standalone + type: VolumeExpansion + volumeExpansion: + mode: Online + postgres: 12Gi diff --git a/docs/guides/elasticsearch/autoscaler/compute/overview/index.md b/docs/guides/elasticsearch/autoscaler/compute/overview/index.md index f4972d8fa8..8706d61a84 100644 --- a/docs/guides/elasticsearch/autoscaler/compute/overview/index.md +++ b/docs/guides/elasticsearch/autoscaler/compute/overview/index.md @@ -2,7 +2,7 @@ title: Elasticsearch Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: es-auto-scaling-overview + identifier: es-auto-scaling-Overview name: Overview parent: es-compute-auto-scaling weight: 5 diff --git a/docs/guides/elasticsearch/autoscaler/storage/overview/index.md b/docs/guides/elasticsearch/autoscaler/storage/overview/index.md index 110c076a62..7e6774994c 100644 --- a/docs/guides/elasticsearch/autoscaler/storage/overview/index.md +++ b/docs/guides/elasticsearch/autoscaler/storage/overview/index.md @@ -2,7 +2,7 @@ title: Elasticsearch Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: es-storage-auto-scaling-overview + identifier: es-storage-auto-scaling-Overview name: Overview parent: es-storage-auto-scaling weight: 5 diff --git a/docs/guides/elasticsearch/backup/overview/index.md b/docs/guides/elasticsearch/backup/overview/index.md index 5e7cae339d..5b3c15b20a 100644 --- a/docs/guides/elasticsearch/backup/overview/index.md +++ b/docs/guides/elasticsearch/backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore Elasticsearch Using Stash menu: docs_{{ .version }}: - identifier: guides-es-backup-overview + identifier: guides-es-backup-Overview name: Overview parent: guides-es-backup weight: 10 diff --git a/docs/guides/elasticsearch/configuration/overview/index.md b/docs/guides/elasticsearch/configuration/overview/index.md index 1ed741f289..1b76469d91 100644 --- a/docs/guides/elasticsearch/configuration/overview/index.md +++ b/docs/guides/elasticsearch/configuration/overview/index.md @@ -2,7 +2,7 @@ title: Run Elasticsearch with Custom Configuration menu: docs_{{ .version }}: - identifier: es-overview-configuration + identifier: es-Overview-configuration name: Overview parent: es-configuration weight: 10 diff --git a/docs/guides/elasticsearch/monitoring/overview.md b/docs/guides/elasticsearch/monitoring/overview.md index b6ee784c1c..1d87acda07 100644 --- a/docs/guides/elasticsearch/monitoring/overview.md +++ b/docs/guides/elasticsearch/monitoring/overview.md @@ -3,7 +3,7 @@ title: Elasticsearch Monitoring Overview description: Elasticsearch Monitoring Overview menu: docs_{{ .version }}: - identifier: es-monitoring-overview + identifier: es-monitoring-Overview name: Overview parent: es-monitoring-elasticsearch weight: 10 diff --git a/docs/guides/elasticsearch/plugins-backup/overview/index.md b/docs/guides/elasticsearch/plugins-backup/overview/index.md index f4e0907a85..c57b2524a8 100644 --- a/docs/guides/elasticsearch/plugins-backup/overview/index.md +++ b/docs/guides/elasticsearch/plugins-backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore Elasticsearch Using Snapshot Plugins menu: docs_{{ .version }}: - identifier: guides-es-plugins-backup-overview + identifier: guides-es-plugins-backup-Overview name: Overview parent: guides-es-plugins-backup weight: 10 diff --git a/docs/guides/elasticsearch/quickstart/overview/_index.md b/docs/guides/elasticsearch/quickstart/overview/_index.md index 29876db1fb..736096000c 100755 --- a/docs/guides/elasticsearch/quickstart/overview/_index.md +++ b/docs/guides/elasticsearch/quickstart/overview/_index.md @@ -2,7 +2,7 @@ title: Elasticsearch Overview menu: docs_{{ .version }}: - identifier: es-overview-elasticsearch + identifier: es-Overview-elasticsearch name: Overview parent: es-quickstart-elasticsearch weight: 10 diff --git a/docs/guides/elasticsearch/quickstart/overview/elasticsearch/index.md b/docs/guides/elasticsearch/quickstart/overview/elasticsearch/index.md index 7a7a16aab7..4a7a3e0176 100644 --- a/docs/guides/elasticsearch/quickstart/overview/elasticsearch/index.md +++ b/docs/guides/elasticsearch/quickstart/overview/elasticsearch/index.md @@ -2,9 +2,9 @@ title: Elasticsearch Quickstart menu: docs_{{ .version }}: - identifier: es-elasticsearch-overview-elasticsearch + identifier: es-elasticsearch-Overview-elasticsearch name: Elasticsearch - parent: es-overview-elasticsearch + parent: es-Overview-elasticsearch weight: 10 menu_name: docs_{{ .version }} section_menu_id: guides @@ -176,7 +176,7 @@ Here, Let's create the Elasticsearch CR that is shown above: ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/overview/elasticsearch/yamls/elasticsearch.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/Overview/elasticsearch/yamls/elasticsearch.yaml elasticsearch.kubedb.com/es-quickstart created ``` @@ -607,7 +607,7 @@ Say, the Elasticsearch CR was deleted with `spec.terminationPolicy` to `Halt` an You can do it by simpily re-deploying the original Elasticsearch object: ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/overview/elasticsearch/yamls/elasticsearch.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/Overview/elasticsearch/yamls/elasticsearch.yaml elasticsearch.kubedb.com/es-quickstart created ``` diff --git a/docs/guides/elasticsearch/quickstart/overview/opensearch/index.md b/docs/guides/elasticsearch/quickstart/overview/opensearch/index.md index b6fd76c136..bb21166b18 100644 --- a/docs/guides/elasticsearch/quickstart/overview/opensearch/index.md +++ b/docs/guides/elasticsearch/quickstart/overview/opensearch/index.md @@ -2,9 +2,9 @@ title: OpenSearch Quickstart menu: docs_{{ .version }}: - identifier: es-opensearch-overview-elasticsearch + identifier: es-opensearch-Overview-elasticsearch name: OpenSearch - parent: es-overview-elasticsearch + parent: es-Overview-elasticsearch weight: 10 menu_name: docs_{{ .version }} section_menu_id: guides @@ -171,7 +171,7 @@ Here, Let's apply the yaml that is shown above: ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/overview/opensearch/yamls/opensearch.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/elasticsearch/quickstart/Overview/opensearch/yamls/opensearch.yaml elasticsearch.kubedb.com/es-quickstart created ``` diff --git a/docs/guides/kafka/monitoring/overview.md b/docs/guides/kafka/monitoring/overview.md index 2c643dcfb9..a4ebd49581 100644 --- a/docs/guides/kafka/monitoring/overview.md +++ b/docs/guides/kafka/monitoring/overview.md @@ -3,7 +3,7 @@ title: Kafka Monitoring Overview description: Kafka Monitoring Overview menu: docs_{{ .version }}: - identifier: kf-monitoring-overview + identifier: kf-monitoring-Overview name: Overview parent: kf-monitoring-kafka weight: 10 diff --git a/docs/guides/kafka/quickstart/overview/index.md b/docs/guides/kafka/quickstart/overview/index.md index ea8c84068a..52184e4078 100644 --- a/docs/guides/kafka/quickstart/overview/index.md +++ b/docs/guides/kafka/quickstart/overview/index.md @@ -105,7 +105,7 @@ Here, Let's create the Kafka CR that is shown above: ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/Kafka/quickstart/overview/yamls/kafka.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/Kafka/quickstart/Overview/yamls/kafka.yaml kafka.kubedb.com/kafka-quickstart created ``` diff --git a/docs/guides/kafka/tls/overview.md b/docs/guides/kafka/tls/overview.md index 6efd4b7005..588f7f819a 100644 --- a/docs/guides/kafka/tls/overview.md +++ b/docs/guides/kafka/tls/overview.md @@ -2,7 +2,7 @@ title: Kafka TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: kf-tls-overview + identifier: kf-tls-Overview name: Overview parent: kf-tls weight: 10 diff --git a/docs/guides/mariadb/README.md b/docs/guides/mariadb/README.md index deb50e6005..4ec7ea466b 100644 --- a/docs/guides/mariadb/README.md +++ b/docs/guides/mariadb/README.md @@ -2,7 +2,7 @@ title: MariaDB menu: docs_{{ .version }}: - identifier: guides-mariadb-overview + identifier: guides-mariadb-Overview name: MariaDB parent: guides-mariadb weight: 10 diff --git a/docs/guides/mariadb/autoscaler/compute/overview/index.md b/docs/guides/mariadb/autoscaler/compute/overview/index.md index b897342b4e..75e495beda 100644 --- a/docs/guides/mariadb/autoscaler/compute/overview/index.md +++ b/docs/guides/mariadb/autoscaler/compute/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-autoscaling-compute-overview + identifier: guides-mariadb-autoscaling-compute-Overview name: Overview parent: guides-mariadb-autoscaling-compute weight: 10 diff --git a/docs/guides/mariadb/autoscaler/storage/overview/index.md b/docs/guides/mariadb/autoscaler/storage/overview/index.md index b7c97ca3aa..42d5b691a5 100644 --- a/docs/guides/mariadb/autoscaler/storage/overview/index.md +++ b/docs/guides/mariadb/autoscaler/storage/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: mguides-mariadb-autoscaling-storage-overview + identifier: mguides-mariadb-autoscaling-storage-Overview name: Overview parent: guides-mariadb-autoscaling-storage weight: 10 diff --git a/docs/guides/mariadb/backup/overview/index.md b/docs/guides/mariadb/backup/overview/index.md index 4b7f565fb8..792e2fb84f 100644 --- a/docs/guides/mariadb/backup/overview/index.md +++ b/docs/guides/mariadb/backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore MariaDB Using Stash menu: docs_{{ .version }}: - identifier: guides-mariadb-backup-overview + identifier: guides-mariadb-backup-Overview name: Overview parent: guides-mariadb-backup weight: 10 diff --git a/docs/guides/mariadb/clustering/overview/index.md b/docs/guides/mariadb/clustering/overview/index.md index eb00981de6..4a81bd5842 100644 --- a/docs/guides/mariadb/clustering/overview/index.md +++ b/docs/guides/mariadb/clustering/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Galera Cluster Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-clustering-overview + identifier: guides-mariadb-clustering-Overview name: MariaDB Galera Cluster Overview parent: guides-mariadb-clustering weight: 10 diff --git a/docs/guides/mariadb/monitoring/overview/index.md b/docs/guides/mariadb/monitoring/overview/index.md index d1768d1eb9..d497f8e140 100644 --- a/docs/guides/mariadb/monitoring/overview/index.md +++ b/docs/guides/mariadb/monitoring/overview/index.md @@ -3,7 +3,7 @@ title: MariaDB Monitoring Overview description: MariaDB Monitoring Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-monitoring-overview + identifier: guides-mariadb-monitoring-Overview name: Overview parent: guides-mariadb-monitoring weight: 10 diff --git a/docs/guides/mariadb/quickstart/overview/index.md b/docs/guides/mariadb/quickstart/overview/index.md index d0bd08c03d..96eeddd4bf 100644 --- a/docs/guides/mariadb/quickstart/overview/index.md +++ b/docs/guides/mariadb/quickstart/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Quickstart menu: docs_{{ .version }}: - identifier: guides-mariadb-quickstart-overview + identifier: guides-mariadb-quickstart-Overview name: Overview parent: guides-mariadb-quickstart weight: 10 @@ -79,7 +79,7 @@ spec: ``` ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/mariadb/quickstart/overview/examples/sample-mariadb.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/mariadb/quickstart/Overview/examples/sample-mariadb.yaml mariadb.kubedb.com/sample-mariadb created ``` diff --git a/docs/guides/mariadb/reconfigure-tls/overview/index.md b/docs/guides/mariadb/reconfigure-tls/overview/index.md index 883738d8ec..40ff85ee9f 100644 --- a/docs/guides/mariadb/reconfigure-tls/overview/index.md +++ b/docs/guides/mariadb/reconfigure-tls/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring TLS of MariaDB Database menu: docs_{{ .version }}: - identifier: guides-mariadb-reconfigure-tls-overview + identifier: guides-mariadb-reconfigure-tls-Overview name: Overview parent: guides-mariadb-reconfigure-tls weight: 10 diff --git a/docs/guides/mariadb/reconfigure/overview/index.md b/docs/guides/mariadb/reconfigure/overview/index.md index 3b194999d1..7e8a6cba92 100644 --- a/docs/guides/mariadb/reconfigure/overview/index.md +++ b/docs/guides/mariadb/reconfigure/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring MariaDB menu: docs_{{ .version }}: - identifier: guides-mariadb-reconfigure-overview + identifier: guides-mariadb-reconfigure-Overview name: Overview parent: guides-mariadb-reconfigure weight: 10 diff --git a/docs/guides/mariadb/scaling/horizontal-scaling/overview/index.md b/docs/guides/mariadb/scaling/horizontal-scaling/overview/index.md index 35225c5cdd..c0a4fa8105 100644 --- a/docs/guides/mariadb/scaling/horizontal-scaling/overview/index.md +++ b/docs/guides/mariadb/scaling/horizontal-scaling/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-scaling-horizontal-overview + identifier: guides-mariadb-scaling-horizontal-Overview name: Overview parent: guides-mariadb-scaling-horizontal weight: 10 diff --git a/docs/guides/mariadb/scaling/vertical-scaling/overview/index.md b/docs/guides/mariadb/scaling/vertical-scaling/overview/index.md index 86ad42e905..fd659d4bd9 100644 --- a/docs/guides/mariadb/scaling/vertical-scaling/overview/index.md +++ b/docs/guides/mariadb/scaling/vertical-scaling/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-scaling-vertical-overview + identifier: guides-mariadb-scaling-vertical-Overview name: Overview parent: guides-mariadb-scaling-vertical weight: 10 diff --git a/docs/guides/mariadb/tls/overview/index.md b/docs/guides/mariadb/tls/overview/index.md index 3dff8459a4..f9aef0641e 100644 --- a/docs/guides/mariadb/tls/overview/index.md +++ b/docs/guides/mariadb/tls/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-tls-overview + identifier: guides-mariadb-tls-Overview name: Overview parent: guides-mariadb-tls weight: 10 diff --git a/docs/guides/mariadb/update-version/overview/index.md b/docs/guides/mariadb/update-version/overview/index.md index 8718c1e2f8..1735959ac5 100644 --- a/docs/guides/mariadb/update-version/overview/index.md +++ b/docs/guides/mariadb/update-version/overview/index.md @@ -2,7 +2,7 @@ title: Updating MariaDB Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-updating-overview + identifier: guides-mariadb-updating-Overview name: Overview parent: guides-mariadb-updating weight: 10 diff --git a/docs/guides/mariadb/volume-expansion/overview/index.md b/docs/guides/mariadb/volume-expansion/overview/index.md index c309fc954d..d9205d4c27 100644 --- a/docs/guides/mariadb/volume-expansion/overview/index.md +++ b/docs/guides/mariadb/volume-expansion/overview/index.md @@ -2,7 +2,7 @@ title: MariaDB Volume Expansion Overview menu: docs_{{ .version }}: - identifier: guides-mariadb-volume-expansion-overview + identifier: guides-mariadb-volume-expansion-Overview name: Overview parent: guides-mariadb-volume-expansion weight: 10 diff --git a/docs/guides/memcached/monitoring/overview.md b/docs/guides/memcached/monitoring/overview.md index 06647a19ae..9d7f5cdbb0 100644 --- a/docs/guides/memcached/monitoring/overview.md +++ b/docs/guides/memcached/monitoring/overview.md @@ -3,7 +3,7 @@ title: Memcached Monitoring Overview description: Memcached Monitoring Overview menu: docs_{{ .version }}: - identifier: mc-monitoring-overview + identifier: mc-monitoring-Overview name: Overview parent: mc-monitoring-memcached weight: 10 diff --git a/docs/guides/mongodb/autoscaler/compute/overview.md b/docs/guides/mongodb/autoscaler/compute/overview.md index 69d60315eb..efc559b68c 100644 --- a/docs/guides/mongodb/autoscaler/compute/overview.md +++ b/docs/guides/mongodb/autoscaler/compute/overview.md @@ -2,7 +2,7 @@ title: MongoDB Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: mg-auto-scaling-overview + identifier: mg-auto-scaling-Overview name: Overview parent: mg-compute-auto-scaling weight: 10 diff --git a/docs/guides/mongodb/autoscaler/storage/overview.md b/docs/guides/mongodb/autoscaler/storage/overview.md index 1a3477293c..1bc90432a0 100644 --- a/docs/guides/mongodb/autoscaler/storage/overview.md +++ b/docs/guides/mongodb/autoscaler/storage/overview.md @@ -2,7 +2,7 @@ title: MongoDB Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: mg-storage-auto-scaling-overview + identifier: mg-storage-auto-scaling-Overview name: Overview parent: mg-storage-auto-scaling weight: 10 diff --git a/docs/guides/mongodb/backup/overview/index.md b/docs/guides/mongodb/backup/overview/index.md index 61699343e2..f4149d9c89 100644 --- a/docs/guides/mongodb/backup/overview/index.md +++ b/docs/guides/mongodb/backup/overview/index.md @@ -2,7 +2,7 @@ title: MongoDB Backup & Restore Overview menu: docs_{{ .version }}: - identifier: guides-mongodb-backup-overview + identifier: guides-mongodb-backup-Overview name: Overview parent: guides-mongodb-backup weight: 10 diff --git a/docs/guides/mongodb/monitoring/overview.md b/docs/guides/mongodb/monitoring/overview.md index c74e35fa04..b3116a8a1f 100644 --- a/docs/guides/mongodb/monitoring/overview.md +++ b/docs/guides/mongodb/monitoring/overview.md @@ -3,7 +3,7 @@ title: MongoDB Monitoring Overview description: MongoDB Monitoring Overview menu: docs_{{ .version }}: - identifier: mg-monitoring-overview + identifier: mg-monitoring-Overview name: Overview parent: mg-monitoring-mongodb weight: 10 diff --git a/docs/guides/mongodb/reconfigure-tls/overview.md b/docs/guides/mongodb/reconfigure-tls/overview.md index 6afe1d92f8..09ec9e6fd4 100644 --- a/docs/guides/mongodb/reconfigure-tls/overview.md +++ b/docs/guides/mongodb/reconfigure-tls/overview.md @@ -2,7 +2,7 @@ title: Reconfiguring TLS of MongoDB Database menu: docs_{{ .version }}: - identifier: mg-reconfigure-tls-overview + identifier: mg-reconfigure-tls-Overview name: Overview parent: mg-reconfigure-tls weight: 10 diff --git a/docs/guides/mongodb/reconfigure/overview.md b/docs/guides/mongodb/reconfigure/overview.md index 40034c8f52..66288a182a 100644 --- a/docs/guides/mongodb/reconfigure/overview.md +++ b/docs/guides/mongodb/reconfigure/overview.md @@ -2,7 +2,7 @@ title: Reconfiguring MongoDB menu: docs_{{ .version }}: - identifier: mg-reconfigure-overview + identifier: mg-reconfigure-Overview name: Overview parent: mg-reconfigure weight: 10 diff --git a/docs/guides/mongodb/scaling/horizontal-scaling/overview.md b/docs/guides/mongodb/scaling/horizontal-scaling/overview.md index f8171164d3..0fb490a57e 100644 --- a/docs/guides/mongodb/scaling/horizontal-scaling/overview.md +++ b/docs/guides/mongodb/scaling/horizontal-scaling/overview.md @@ -2,7 +2,7 @@ title: MongoDB Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: mg-horizontal-scaling-overview + identifier: mg-horizontal-scaling-Overview name: Overview parent: mg-horizontal-scaling weight: 10 diff --git a/docs/guides/mongodb/scaling/vertical-scaling/overview.md b/docs/guides/mongodb/scaling/vertical-scaling/overview.md index 5febd2b8ac..5f7836a131 100644 --- a/docs/guides/mongodb/scaling/vertical-scaling/overview.md +++ b/docs/guides/mongodb/scaling/vertical-scaling/overview.md @@ -2,7 +2,7 @@ title: MongoDB Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: mg-vertical-scaling-overview + identifier: mg-vertical-scaling-Overview name: Overview parent: mg-vertical-scaling weight: 10 diff --git a/docs/guides/mongodb/schema-manager/overview/index.md b/docs/guides/mongodb/schema-manager/overview/index.md index 3feff42adb..b3a972418c 100644 --- a/docs/guides/mongodb/schema-manager/overview/index.md +++ b/docs/guides/mongodb/schema-manager/overview/index.md @@ -2,7 +2,7 @@ title: MongoDB Schema Manager Overview menu: docs_{{ .version }}: - identifier: mg-schema-manager-overview + identifier: mg-schema-manager-Overview name: Overview parent: mg-schema-manager weight: 10 diff --git a/docs/guides/mongodb/tls/overview.md b/docs/guides/mongodb/tls/overview.md index 809ea24520..672b2be2b8 100644 --- a/docs/guides/mongodb/tls/overview.md +++ b/docs/guides/mongodb/tls/overview.md @@ -2,7 +2,7 @@ title: MongoDB TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: mg-tls-overview + identifier: mg-tls-Overview name: Overview parent: mg-tls weight: 10 diff --git a/docs/guides/mongodb/update-version/overview.md b/docs/guides/mongodb/update-version/overview.md index 7bddf1928e..3f298910b5 100644 --- a/docs/guides/mongodb/update-version/overview.md +++ b/docs/guides/mongodb/update-version/overview.md @@ -2,7 +2,7 @@ title: Updating MongoDB Overview menu: docs_{{ .version }}: - identifier: mg-updating-overview + identifier: mg-updating-Overview name: Overview parent: mg-updating weight: 10 diff --git a/docs/guides/mongodb/volume-expansion/overview.md b/docs/guides/mongodb/volume-expansion/overview.md index 4c920cc4b9..ca97ccc37d 100644 --- a/docs/guides/mongodb/volume-expansion/overview.md +++ b/docs/guides/mongodb/volume-expansion/overview.md @@ -2,7 +2,7 @@ title: MongoDB Volume Expansion Overview menu: docs_{{ .version }}: - identifier: mg-volume-expansion-overview + identifier: mg-volume-expansion-Overview name: Overview parent: mg-volume-expansion weight: 10 @@ -49,8 +49,8 @@ The Volume Expansion process consists of the following steps: 8. Then the `KubeDB` Ops-manager operator will expand the persistent volume to reach the expected size defined in the `MongoDBOpsRequest` CR. -9. After the successfully expansion of the volume of the related StatefulSet Pods, the `KubeDB` Ops-manager operator updates the new volume size in the `MongoDB` object to reflect the updated state. +9. After the successful Volume Expansion of the related StatefulSet Pods, the `KubeDB` Ops-manager operator updates the new volume size in the `MongoDB` object to reflect the updated state. 10. After the successful Volume Expansion of the `MongoDB` components, the `KubeDB` Ops-manager operator resumes the `MongoDB` object so that the `KubeDB` Provisioner operator resumes its usual operations. -In the next docs, we are going to show a step by step guide on Volume Expansion of various MongoDB database components using `MongoDBOpsRequest` CRD. +In the next docs, we are going to show a step-by-step guide on Volume Expansion of various MongoDB database components using `MongoDBOpsRequest` CRD. diff --git a/docs/guides/mongodb/volume-expansion/replicaset.md b/docs/guides/mongodb/volume-expansion/replicaset.md index 588ff3dc61..e991926dc9 100644 --- a/docs/guides/mongodb/volume-expansion/replicaset.md +++ b/docs/guides/mongodb/volume-expansion/replicaset.md @@ -37,7 +37,7 @@ $ kubectl create ns demo namespace/demo created ``` -> **Note:** YAML files used in this tutorial are stored in [docs/examples/mongodb](/docs/examples/mongodb) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. +> Note: The yaml files used in this tutorial are stored in [docs/examples/mongodb](https://github.com/kubedb/docs/tree/{{< param "info.version" >}}/docs/examples/mongodb) folder in GitHub repository [kubedb/docs](https://github.com/kubedb/docs). ## Expand Volume of Replicaset @@ -55,7 +55,7 @@ standard (default) kubernetes.io/gce-pd Delete Immediate We can see from the output the `standard` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We can use it. -Now, we are going to deploy a `MongoDB` replicaSet database with version `3.6.8`. +Now, we are going to deploy a `MongoDB` replicaSet database with version `4.4.26`. ### Deploy MongoDB @@ -134,6 +134,7 @@ spec: name: mg-replicaset volumeExpansion: replicaSet: 2Gi + mode: Online ``` Here, @@ -157,7 +158,6 @@ Let's wait for `MongoDBOpsRequest` to be `Successful`. Run the following comman ```bash $ kubectl get mongodbopsrequest -n demo -Every 2.0s: kubectl get mongodbopsrequest -n demo NAME TYPE STATUS AGE mops-volume-exp-replicaset VolumeExpansion Successful 83s ``` diff --git a/docs/guides/mongodb/volume-expansion/sharding.md b/docs/guides/mongodb/volume-expansion/sharding.md index 98318e4df2..3974a3c00d 100644 --- a/docs/guides/mongodb/volume-expansion/sharding.md +++ b/docs/guides/mongodb/volume-expansion/sharding.md @@ -37,7 +37,7 @@ $ kubectl create ns demo namespace/demo created ``` -> **Note:** YAML files used in this tutorial are stored in [docs/examples/mongodb](/docs/examples/mongodb) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. +> Note: The yaml files used in this tutorial are stored in [docs/examples/mongodb](https://github.com/kubedb/docs/tree/{{< param "info.version" >}}/docs/examples/mongodb) folder in GitHub repository [kubedb/docs](https://github.com/kubedb/docs). ## Expand Volume of Sharded Database @@ -175,7 +175,6 @@ Let's wait for `MongoDBOpsRequest` to be `Successful`. Run the following command ```bash $ kubectl get mongodbopsrequest -n demo -Every 2.0s: kubectl get mongodbopsrequest -n demo NAME TYPE STATUS AGE mops-volume-exp-shard VolumeExpansion Successful 3m49s ``` diff --git a/docs/guides/mongodb/volume-expansion/standalone.md b/docs/guides/mongodb/volume-expansion/standalone.md index b71dae6fe6..9828d618bd 100644 --- a/docs/guides/mongodb/volume-expansion/standalone.md +++ b/docs/guides/mongodb/volume-expansion/standalone.md @@ -36,7 +36,7 @@ $ kubectl create ns demo namespace/demo created ``` -> **Note:** YAML files used in this tutorial are stored in [docs/examples/mongodb](/docs/examples/mongodb) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. +> Note: The yaml files used in this tutorial are stored in [docs/examples/mongodb](https://github.com/kubedb/docs/tree/{{< param "info.version" >}}/docs/examples/mongodb) folder in GitHub repository [kubedb/docs](https://github.com/kubedb/docs). ## Expand Volume of Standalone Database @@ -128,13 +128,17 @@ spec: name: mg-standalone volumeExpansion: standalone: 2Gi + mode: Online ``` Here, -- `spec.databaseRef.name` specifies that we are performing volume expansion operation on `mops-volume-exp-standalone` database. +- `spec.databaseRef.name` specifies that we are performing volume expansion operation on `mg-standalone` database. - `spec.type` specifies that we are performing `VolumeExpansion` on our database. - `spec.volumeExpansion.standalone` specifies the desired volume size. +- `spec.volumeExpansion.mode` specifies the desired volume expansion mode(`Online` or `Offline`). + +During `Online` VolumeExpansion KubeDB expands volume without pausing database object, it directly updates the underlying PVC. And for `Offline` volume expansion, the database is paused. The Pods are deleted and PVC is updated. Then the database Pods are recreated with updated PVC. Let's create the `MongoDBOpsRequest` CR we have shown above, @@ -151,7 +155,8 @@ Let's wait for `MongoDBOpsRequest` to be `Successful`. Run the following command ```bash $ kubectl get mongodbopsrequest -n demo -Every 2.0s: kubectl get mongodbopsrequest -n demo +NAME TYPE STATUS AGE +mops-volume-exp-standalone VolumeExpansion Successful 75s ``` We can see from the above output that the `MongoDBOpsRequest` has succeeded. If we describe the `MongoDBOpsRequest` we will get an overview of the steps that were followed to expand the volume of the database. diff --git a/docs/guides/mysql/autoscaler/compute/overview/index.md b/docs/guides/mysql/autoscaler/compute/overview/index.md index 48e022a5b9..d600642381 100644 --- a/docs/guides/mysql/autoscaler/compute/overview/index.md +++ b/docs/guides/mysql/autoscaler/compute/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: guides-mysql-autoscaling-compute-overview + identifier: guides-mysql-autoscaling-compute-Overview name: Overview parent: guides-mysql-autoscaling-compute weight: 10 diff --git a/docs/guides/mysql/autoscaler/storage/overview/index.md b/docs/guides/mysql/autoscaler/storage/overview/index.md index 9e53b652e7..0a3be58828 100644 --- a/docs/guides/mysql/autoscaler/storage/overview/index.md +++ b/docs/guides/mysql/autoscaler/storage/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: mguides-mysql-autoscaling-storage-overview + identifier: mguides-mysql-autoscaling-storage-Overview name: Overview parent: guides-mysql-autoscaling-storage weight: 10 diff --git a/docs/guides/mysql/backup/overview/index.md b/docs/guides/mysql/backup/overview/index.md index 0a7834d053..870519368b 100644 --- a/docs/guides/mysql/backup/overview/index.md +++ b/docs/guides/mysql/backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore MySQL Overview menu: docs_{{ .version }}: - identifier: guides-mysql-backup-overview + identifier: guides-mysql-backup-Overview name: Overview parent: guides-mysql-backup weight: 10 diff --git a/docs/guides/mysql/clustering/overview/index.md b/docs/guides/mysql/clustering/overview/index.md index 58d26ce3e7..e26d95f330 100644 --- a/docs/guides/mysql/clustering/overview/index.md +++ b/docs/guides/mysql/clustering/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Group Replication Overview menu: docs_{{ .version }}: - identifier: guides-mysql-clustering-overview + identifier: guides-mysql-clustering-Overview name: MySQL Group Replication Overview parent: guides-mysql-clustering weight: 15 diff --git a/docs/guides/mysql/monitoring/overview/index.md b/docs/guides/mysql/monitoring/overview/index.md index 785e7aafae..2bf0863492 100644 --- a/docs/guides/mysql/monitoring/overview/index.md +++ b/docs/guides/mysql/monitoring/overview/index.md @@ -3,7 +3,7 @@ title: MySQL Monitoring Overview description: MySQL Monitoring Overview menu: docs_{{ .version }}: - identifier: guides-mysql-monitoring-overview + identifier: guides-mysql-monitoring-Overview name: Overview parent: guides-mysql-monitoring weight: 10 diff --git a/docs/guides/mysql/reconfigure-tls/overview/index.md b/docs/guides/mysql/reconfigure-tls/overview/index.md index a7306bdcfe..9c3579f74a 100644 --- a/docs/guides/mysql/reconfigure-tls/overview/index.md +++ b/docs/guides/mysql/reconfigure-tls/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Vertical Reconfigure TLS Overview menu: docs_{{ .version }}: - identifier: guides-mysql-reconfigure-tls-overview + identifier: guides-mysql-reconfigure-tls-Overview name: Overview parent: guides-mysql-reconfigure-tls weight: 11 diff --git a/docs/guides/mysql/reconfigure/overview/index.md b/docs/guides/mysql/reconfigure/overview/index.md index c666b5a025..dc4e46e3ac 100644 --- a/docs/guides/mysql/reconfigure/overview/index.md +++ b/docs/guides/mysql/reconfigure/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring MySQL menu: docs_{{ .version }}: - identifier: guides-mysql-reconfigure-overview + identifier: guides-mysql-reconfigure-Overview name: Overview parent: guides-mysql-reconfigure weight: 10 diff --git a/docs/guides/mysql/scaling/horizontal-scaling/overview/index.md b/docs/guides/mysql/scaling/horizontal-scaling/overview/index.md index f2ec01e926..ad272494dc 100644 --- a/docs/guides/mysql/scaling/horizontal-scaling/overview/index.md +++ b/docs/guides/mysql/scaling/horizontal-scaling/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: guides-mysql-scaling-horizontal-overview + identifier: guides-mysql-scaling-horizontal-Overview name: Overview parent: guides-mysql-scaling-horizontal weight: 10 diff --git a/docs/guides/mysql/scaling/vertical-scaling/overview/index.md b/docs/guides/mysql/scaling/vertical-scaling/overview/index.md index 3cb1c10b0c..93566e90a4 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/overview/index.md +++ b/docs/guides/mysql/scaling/vertical-scaling/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: guides-mysql-scaling-vertical-overview + identifier: guides-mysql-scaling-vertical-Overview name: Overview parent: guides-mysql-scaling-vertical weight: 10 diff --git a/docs/guides/mysql/schema-manager/overview/index.md b/docs/guides/mysql/schema-manager/overview/index.md index 23d458d426..2f39f6d68f 100644 --- a/docs/guides/mysql/schema-manager/overview/index.md +++ b/docs/guides/mysql/schema-manager/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Schema Manager Overview menu: docs_{{ .version }}: - identifier: mysql-schema-manager-overview + identifier: mysql-schema-manager-Overview name: Overview parent: guides-mysql-schema-manager weight: 10 diff --git a/docs/guides/mysql/tls/overview/index.md b/docs/guides/mysql/tls/overview/index.md index 3395ec4f55..c97e93bdc5 100644 --- a/docs/guides/mysql/tls/overview/index.md +++ b/docs/guides/mysql/tls/overview/index.md @@ -2,7 +2,7 @@ title: MySQL TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: guides-mysql-tls-overview + identifier: guides-mysql-tls-Overview name: Overview parent: guides-mysql-tls weight: 10 diff --git a/docs/guides/mysql/update-version/overview/index.md b/docs/guides/mysql/update-version/overview/index.md index 68f05dd2ac..2351f1fe8c 100644 --- a/docs/guides/mysql/update-version/overview/index.md +++ b/docs/guides/mysql/update-version/overview/index.md @@ -2,7 +2,7 @@ title: Updating MySQL Overview menu: docs_{{ .version }}: - identifier: guides-mysql-updating-overview + identifier: guides-mysql-updating-Overview name: Overview parent: guides-mysql-updating weight: 10 diff --git a/docs/guides/mysql/volume-expansion/overview/index.md b/docs/guides/mysql/volume-expansion/overview/index.md index f897d20a8e..5a0b558122 100644 --- a/docs/guides/mysql/volume-expansion/overview/index.md +++ b/docs/guides/mysql/volume-expansion/overview/index.md @@ -2,7 +2,7 @@ title: MySQL Volume Expansion Overview menu: docs_{{ .version }}: - identifier: guides-mysql-volume-expansion-overview + identifier: guides-mysql-volume-expansion-Overview name: Overview parent: guides-mysql-volume-expansion weight: 11 diff --git a/docs/guides/percona-xtradb/README.md b/docs/guides/percona-xtradb/README.md index 26ca2b23f5..17d4d696b0 100644 --- a/docs/guides/percona-xtradb/README.md +++ b/docs/guides/percona-xtradb/README.md @@ -2,7 +2,7 @@ title: PerconaXtraDB menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-overview + identifier: guides-perconaxtradb-Overview name: PerconaXtraDB parent: guides-perconaxtradb weight: 10 diff --git a/docs/guides/percona-xtradb/autoscaler/compute/overview/index.md b/docs/guides/percona-xtradb/autoscaler/compute/overview/index.md index 290fd3a980..3baaf7a420 100644 --- a/docs/guides/percona-xtradb/autoscaler/compute/overview/index.md +++ b/docs/guides/percona-xtradb/autoscaler/compute/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-autoscaling-compute-overview + identifier: guides-perconaxtradb-autoscaling-compute-Overview name: Overview parent: guides-perconaxtradb-autoscaling-compute weight: 10 diff --git a/docs/guides/percona-xtradb/autoscaler/storage/overview/index.md b/docs/guides/percona-xtradb/autoscaler/storage/overview/index.md index cd508cae0f..4285ea4503 100644 --- a/docs/guides/percona-xtradb/autoscaler/storage/overview/index.md +++ b/docs/guides/percona-xtradb/autoscaler/storage/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-autoscaling-storage-overview + identifier: guides-perconaxtradb-autoscaling-storage-Overview name: Overview parent: guides-perconaxtradb-autoscaling-storage weight: 10 diff --git a/docs/guides/percona-xtradb/clustering/overview/index.md b/docs/guides/percona-xtradb/clustering/overview/index.md index 4727efcbbc..b1071315ba 100644 --- a/docs/guides/percona-xtradb/clustering/overview/index.md +++ b/docs/guides/percona-xtradb/clustering/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Galera Cluster Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-clustering-overview + identifier: guides-perconaxtradb-clustering-Overview name: PerconaXtraDB Galera Cluster Overview parent: guides-perconaxtradb-clustering weight: 10 diff --git a/docs/guides/percona-xtradb/monitoring/overview/index.md b/docs/guides/percona-xtradb/monitoring/overview/index.md index ae65a53187..9152cd10d0 100644 --- a/docs/guides/percona-xtradb/monitoring/overview/index.md +++ b/docs/guides/percona-xtradb/monitoring/overview/index.md @@ -3,7 +3,7 @@ title: PerconaXtraDB Monitoring Overview description: PerconaXtraDB Monitoring Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-monitoring-overview + identifier: guides-perconaxtradb-monitoring-Overview name: Overview parent: guides-perconaxtradb-monitoring weight: 10 diff --git a/docs/guides/percona-xtradb/quickstart/overview/index.md b/docs/guides/percona-xtradb/quickstart/overview/index.md index 68b5d4ddef..8faf27ae83 100644 --- a/docs/guides/percona-xtradb/quickstart/overview/index.md +++ b/docs/guides/percona-xtradb/quickstart/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Quickstart menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-quickstart-overview + identifier: guides-perconaxtradb-quickstart-Overview name: Overview parent: guides-perconaxtradb-quickstart weight: 10 @@ -78,7 +78,7 @@ spec: ``` ```bash -$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/percona-xtradb/quickstart/overview/examples/sample-pxc.yaml +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/percona-xtradb/quickstart/Overview/examples/sample-pxc.yaml perconaxtradb.kubedb.com/sample-pxc created ``` diff --git a/docs/guides/percona-xtradb/reconfigure-tls/overview/index.md b/docs/guides/percona-xtradb/reconfigure-tls/overview/index.md index c5ed91b621..53f9069b2a 100644 --- a/docs/guides/percona-xtradb/reconfigure-tls/overview/index.md +++ b/docs/guides/percona-xtradb/reconfigure-tls/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring TLS of PerconaXtraDB Database menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-reconfigure-tls-overview + identifier: guides-perconaxtradb-reconfigure-tls-Overview name: Overview parent: guides-perconaxtradb-reconfigure-tls weight: 10 diff --git a/docs/guides/percona-xtradb/reconfigure/overview/index.md b/docs/guides/percona-xtradb/reconfigure/overview/index.md index 9914fa6950..8a4d357e3f 100644 --- a/docs/guides/percona-xtradb/reconfigure/overview/index.md +++ b/docs/guides/percona-xtradb/reconfigure/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring PerconaXtraDB menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-reconfigure-overview + identifier: guides-perconaxtradb-reconfigure-Overview name: Overview parent: guides-perconaxtradb-reconfigure weight: 10 diff --git a/docs/guides/percona-xtradb/scaling/horizontal-scaling/overview/index.md b/docs/guides/percona-xtradb/scaling/horizontal-scaling/overview/index.md index b3b748ae75..fbd5b510a4 100644 --- a/docs/guides/percona-xtradb/scaling/horizontal-scaling/overview/index.md +++ b/docs/guides/percona-xtradb/scaling/horizontal-scaling/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-scaling-horizontal-overview + identifier: guides-perconaxtradb-scaling-horizontal-Overview name: Overview parent: guides-perconaxtradb-scaling-horizontal weight: 10 diff --git a/docs/guides/percona-xtradb/scaling/vertical-scaling/overview/index.md b/docs/guides/percona-xtradb/scaling/vertical-scaling/overview/index.md index 7df6b4bd73..e534f57f9e 100644 --- a/docs/guides/percona-xtradb/scaling/vertical-scaling/overview/index.md +++ b/docs/guides/percona-xtradb/scaling/vertical-scaling/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-scaling-vertical-overview + identifier: guides-perconaxtradb-scaling-vertical-Overview name: Overview parent: guides-perconaxtradb-scaling-vertical weight: 10 diff --git a/docs/guides/percona-xtradb/tls/overview/index.md b/docs/guides/percona-xtradb/tls/overview/index.md index 07f145deaa..d2dea70582 100644 --- a/docs/guides/percona-xtradb/tls/overview/index.md +++ b/docs/guides/percona-xtradb/tls/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-tls-overview + identifier: guides-perconaxtradb-tls-Overview name: Overview parent: guides-perconaxtradb-tls weight: 10 diff --git a/docs/guides/percona-xtradb/update-version/overview/index.md b/docs/guides/percona-xtradb/update-version/overview/index.md index 45bf74d55a..fd7358692f 100644 --- a/docs/guides/percona-xtradb/update-version/overview/index.md +++ b/docs/guides/percona-xtradb/update-version/overview/index.md @@ -2,7 +2,7 @@ title: Updating PerconaXtraDB Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-updating-overview + identifier: guides-perconaxtradb-updating-Overview name: Overview parent: guides-perconaxtradb-updating weight: 10 diff --git a/docs/guides/percona-xtradb/volume-expansion/overview/index.md b/docs/guides/percona-xtradb/volume-expansion/overview/index.md index 7aac0b0983..468eba9dc8 100644 --- a/docs/guides/percona-xtradb/volume-expansion/overview/index.md +++ b/docs/guides/percona-xtradb/volume-expansion/overview/index.md @@ -2,7 +2,7 @@ title: PerconaXtraDB Volume Expansion Overview menu: docs_{{ .version }}: - identifier: guides-perconaxtradb-volume-expansion-overview + identifier: guides-perconaxtradb-volume-expansion-Overview name: Overview parent: guides-perconaxtradb-volume-expansion weight: 10 diff --git a/docs/guides/pgbouncer/monitoring/overview.md b/docs/guides/pgbouncer/monitoring/overview.md index 48cee055eb..cba401cc6d 100644 --- a/docs/guides/pgbouncer/monitoring/overview.md +++ b/docs/guides/pgbouncer/monitoring/overview.md @@ -3,7 +3,7 @@ title: PgBouncer Monitoring Overview description: PgBouncer Monitoring Overview menu: docs_{{ .version }}: - identifier: pb-monitoring-overview + identifier: pb-monitoring-Overview name: Overview parent: pb-monitoring-pgbouncer weight: 10 diff --git a/docs/guides/postgres/README.md b/docs/guides/postgres/README.md index 97a427877c..08ef9fe1b3 100644 --- a/docs/guides/postgres/README.md +++ b/docs/guides/postgres/README.md @@ -52,6 +52,7 @@ aliases: - [Streaming Replication](/docs/guides/postgres/clustering/streaming_replication.md) for PostgreSQL clustering. - Monitor your PostgreSQL database with KubeDB using [`out-of-the-box` builtin-Prometheus](/docs/guides/postgres/monitoring/using-builtin-prometheus.md). - Monitor your PostgreSQL database with KubeDB using [`out-of-the-box` Prometheus operator](/docs/guides/postgres/monitoring/using-prometheus-operator.md). +- Check Update Version of PostgreSQL database with KubeDB using [Update Version](/docs/guides/postgres/update-version/versionupgrading) - Use [private Docker registry](/docs/guides/postgres/private-registry/using-private-registry.md) to deploy PostgreSQL with KubeDB. - Detail concepts of [Postgres object](/docs/guides/postgres/concepts/postgres.md). - Want to hack on KubeDB? Check our [contribution guidelines](/docs/CONTRIBUTING.md). diff --git a/docs/guides/postgres/backup/overview/index.md b/docs/guides/postgres/backup/overview/index.md index c48a7c6cfa..efd06d3512 100644 --- a/docs/guides/postgres/backup/overview/index.md +++ b/docs/guides/postgres/backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore PostgreSQL Using Stash menu: docs_{{ .version }}: - identifier: guides-pg-backup-overview + identifier: guides-pg-backup-Overview name: Overview parent: guides-pg-backup weight: 10 diff --git a/docs/guides/postgres/monitoring/overview.md b/docs/guides/postgres/monitoring/overview.md index b89285eb18..0e2be8a6dc 100644 --- a/docs/guides/postgres/monitoring/overview.md +++ b/docs/guides/postgres/monitoring/overview.md @@ -3,7 +3,7 @@ title: PostgreSQL Monitoring Overview description: PostgreSQL Monitoring Overview menu: docs_{{ .version }}: - identifier: pg-monitoring-overview + identifier: pg-monitoring-Overview name: Overview parent: pg-monitoring-postgres weight: 10 diff --git a/docs/guides/postgres/scaling/horizontal-scaling/overview/index.md b/docs/guides/postgres/scaling/horizontal-scaling/overview/index.md index 6d92c83585..f85768956f 100644 --- a/docs/guides/postgres/scaling/horizontal-scaling/overview/index.md +++ b/docs/guides/postgres/scaling/horizontal-scaling/overview/index.md @@ -2,7 +2,7 @@ title: Postgres Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: guides-postgres-scaling-horizontal-overview + identifier: guides-postgres-scaling-horizontal-Overview name: Overview parent: guides-postgres-scaling-horizontal weight: 10 diff --git a/docs/guides/postgres/scaling/vertical-scaling/overview/index.md b/docs/guides/postgres/scaling/vertical-scaling/overview/index.md index 44d315ae38..9b2f73e1c2 100644 --- a/docs/guides/postgres/scaling/vertical-scaling/overview/index.md +++ b/docs/guides/postgres/scaling/vertical-scaling/overview/index.md @@ -2,7 +2,7 @@ title: Postgres Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: guides-postgres-scaling-vertical-overview + identifier: guides-postgres-scaling-vertical-Overview name: Overview parent: guides-postgres-scaling-vertical weight: 10 diff --git a/docs/guides/postgres/tls/overview/index.md b/docs/guides/postgres/tls/overview/index.md index 5e032e1b25..642e856b1c 100644 --- a/docs/guides/postgres/tls/overview/index.md +++ b/docs/guides/postgres/tls/overview/index.md @@ -2,7 +2,7 @@ title: Postgres TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: guides-postgres-tls-overview + identifier: guides-postgres-tls-Overview name: Overview parent: guides-postgres-tls weight: 10 diff --git a/docs/guides/postgres/update-version/overview/index.md b/docs/guides/postgres/update-version/overview/index.md index 7b59c2b591..baa362f073 100644 --- a/docs/guides/postgres/update-version/overview/index.md +++ b/docs/guides/postgres/update-version/overview/index.md @@ -2,7 +2,7 @@ title: Updating Postgres Overview menu: docs_{{ .version }}: - identifier: guides-postgres-updating-overview + identifier: guides-postgres-updating-Overview name: Overview parent: guides-postgres-updating weight: 10 diff --git a/docs/guides/postgres/update-version/versionupgrading/index.md b/docs/guides/postgres/update-version/versionupgrading/index.md index 16f3085ea4..a1e1aedc41 100644 --- a/docs/guides/postgres/update-version/versionupgrading/index.md +++ b/docs/guides/postgres/update-version/versionupgrading/index.md @@ -33,7 +33,7 @@ $ kubectl create ns demo namespace/demo created ``` -> **Note:** YAML files used in this tutorial are stored in [docs/guides/postgres/updating/versionupdating/yamls](/docs/guides/postgres/update-version/versionupgrading/yamls) directory of [kubedb/docs](https://github.com/kube/docs) repository. +> **Note:** YAML files used in this tutorial are stored in [docs/guides/postgres/update-version/versionupdating/yamls](/docs/guides/postgres/update-version/versionupgrading/yamls) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. ### Apply Version updating on Postgres diff --git a/docs/guides/postgres/volume-expansion/Overview/images/pg-volume-expansion.svg b/docs/guides/postgres/volume-expansion/Overview/images/pg-volume-expansion.svg new file mode 100644 index 0000000000..952f3170fe --- /dev/null +++ b/docs/guides/postgres/volume-expansion/Overview/images/pg-volume-expansion.svg @@ -0,0 +1,4 @@ + + +1.Create PostgreSQL1.Create PostgreSQL2.Watch2.Watch3.Create3.Create5.Initiate Volume Expansion5.Initiate Volu...7.Pause7.Pause8.Expand Volume of Postgres8.Expand Volume9.Update Volume9.Update Volume10.Resumed Postgres10.Resumed PostgresVolume Expansion stageVolume Expansion stageUserUser Community Operator PersistentVolumePersiste...6.Watch6.Watch Enterprise OperatorPostgreSQL OpsRequestPostgreSQL...PostgreSQLPostgreSQL StatefulSetStateful...Expanded Persistent VolumeExpanded...4.Create 4.Createrefers to refers toUpdated PostgreSQLUpdate...Viewer does not support full SVG 1.1 \ No newline at end of file diff --git a/docs/guides/postgres/volume-expansion/Overview/overview.md b/docs/guides/postgres/volume-expansion/Overview/overview.md new file mode 100644 index 0000000000..8c68f7c499 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/Overview/overview.md @@ -0,0 +1,56 @@ +--- +title: Postgres Volume Expansion Overview +menu: + docs_{{ .version }}: + identifier: pg-volume-expansion-Overview + name: Overview + parent: pg-volume-expansion + weight: 10 +menu_name: docs_{{ .version }} +section_menu_id: guides +--- + +> New to KubeDB? Please start [here](/docs/README.md). + +# PostgreSQL Volume Expansion + +This guide will give an overview on how KubeDB Ops-manager operator expand the volume of `Postgres` components such as Standalone, HA cluster etc. + +## Before You Begin + +- You should be familiar with the following `KubeDB` concepts: + - [Postgres](/docs/guides/postgres/concepts/postgres.md) + - [PostgresOpsRequest](/docs/guides/postgres/concepts/opsrequest.md) + +## Volume Expansion Working Procedure + +The following diagram shows how KubeDB Ops-manager operator expand the volumes of `Postgres` database components. Open the image in a new tab to see the enlarged version. + + + +Fig: Volume Expansion process of PostgreSQL + + +The Volume Expansion process consists of the following steps: + +1. At first, a user creates a `Postgres` Custom Resource (CR). + +2. `KubeDB` community operator watches the `Postgres` CR. + +3. When the operator finds a `Postgres` CR, it creates a `StatefulSet` and related necessary stuffs like pods, pvc, secret, service etc. + +4. Each StatefulSet creates a Persistent Volume according to the Volume Claim Template provided in the Statefulset configuration. This Persistent Volume will be expanded by the `KubeDB` Ops-manager operator. + +5. Then, in order to expand the volume of the various components (Standalone, HA cluster etc.) of the `Postgres` database, the user creates a `PostgresOpsRequest` CR with desired information. + +6. `KubeDB` Ops-manager operator watches the `PostgresOpsRequest` CR. + +7. When it finds a `PostgresOpsRequest` CR, it halts the `Postgres` object which is referred from the `PostgresOpsRequest`. So, the `KubeDB` Provisioner operator doesn't perform any operations on the `Postgres` object during the volume expansion process. + +8. Then the `KubeDB` Ops-manager operator will expand the persistent volume to reach the expected size defined in the `PostgresOpsRequest` CR. + +9. After the successful expansion of the volume of the related StatefulSet Pods the `KubeDB` Ops-manager operator updates the new volume size in the `Postgres` object to reflect the updated state. + +10. After the successful Volume Expansion of the `Postgres` components, the `KubeDB` Ops-manager operator resumes the `Postgres` object so that the `KubeDB` Provisioner operator resumes its usual operations. + +In the next docs, we are going to show you a step-by-step guide on Volume Expansion of various Postgres database components using `PostgresOpsRequest` CRD. diff --git a/docs/guides/postgres/volume-expansion/_index.md b/docs/guides/postgres/volume-expansion/_index.md new file mode 100644 index 0000000000..d5c4a569a2 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/_index.md @@ -0,0 +1,10 @@ +--- +title: Volume Expansion +menu: + docs_{{ .version }}: + identifier: pg-volume-expansion + name: Volume Expansion + parent: pg-postgres-guides + weight: 43 +menu_name: docs_{{ .version }} +--- \ No newline at end of file diff --git a/docs/guides/postgres/volume-expansion/ha-cluster/HA Cluster.md b/docs/guides/postgres/volume-expansion/ha-cluster/HA Cluster.md new file mode 100644 index 0000000000..512096b5a7 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/ha-cluster/HA Cluster.md @@ -0,0 +1,258 @@ +--- +title: Postgres HA Volume Expansion +menu: + docs_{{ .version }}: + identifier: pg-volume-expansion-ha + name: HA + parent: pg-volume-expansion + weight: 20 +menu_name: docs_{{ .version }} +section_menu_id: guides +--- + +> New to KubeDB? Please start [here](/docs/README.md). + +# Postgres HA Cluster Volume Expansion + +This guide will show you how to use `KubeDB` Ops-manager operator to expand the volume of a Postgres HA database. + +## Before You Begin + +- At first, you need to have a Kubernetes cluster, and the `kubectl` command-line tool must be configured to communicate with your cluster. + +- You must have a `StorageClass` that supports volume expansion. + +- Install `KubeDB` Provisioner and Ops-manager operator in your cluster following the steps [here](/docs/setup/README.md). + +- You should be familiar with the following `KubeDB` concepts: + - [Postgres](/docs/guides/postgres/concepts/postgres.md) + - [PostgresOpsRequest](/docs/guides/postgres/concepts/opsrequest.md) + - [Volume Expansion Overview](/docs/guides/postgres/volume-expansion/overview.md) + +To keep everything isolated, we are going to use a separate namespace called `demo` throughout this tutorial. + +```bash +$ kubectl create ns demo +namespace/demo created +``` + +> **Note:** YAML files used in this tutorial are stored in [docs/guides/postgres/volume-expansion/ha-cluster/yamls](/docs/guides/postgres/volume-expansion/ha-cluster/yamls) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. + +## Expand Volume of HA Cluster + +Here, we are going to deploy a `Postgres` High Availability cluster using a supported version by `KubeDB` operator. Then we are going to apply `PostgresOpsRequest` to expand its volume. + +### Prepare Postgres HA Cluster Database + +At first verify that your cluster has a storage class, that supports volume expansion. Let's check, + +```bash +$ kubectl get storageclass +NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE +linode-block-storage linodebs.csi.linode.com Delete Immediate true 5m +``` + +We can see the output from the `linode-block-storage` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We can use it. + +Now, we are going to deploy a `Postgres` HA cluster database with version `13.13`. + +#### Deploy Postgres HA Cluster + +In this section, we are going to deploy a Postgres HA database with 10GB volume. Then, in the next section we will expand its volume to 12GB using `PostgresOpsRequest` CRD. Below is the YAML of the `Postgres` CR that we are going to create, + +```yaml +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-ha-cluster + namespace: demo +spec: + version: "13.13" + replicas: 2 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut +``` + +Let's create the `Postgres` CR we have shown above, + +```bash +$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/postgres/volume-expansion/ha-cluster/yamls/pg-ha-cluster.yaml +postgres.kubedb.com/pg-ha-cluster created +``` + +Now, wait until `pg-ha-cluster` has status `Ready`. i.e, + +```bash +$ kubectl get pg -n demo +NAME VERSION STATUS AGE +pg-ha-cluster 13.13 Ready 3m6s +``` + +Let's check volume size from statefulset, and from the persistent volume, + +```bash +$ kubectl get sts -n demo pg-ha-cluster -o json | jq '.spec.volumeClaimTemplates[].spec.resources.requests.storage' +"10Gi" + +$ kubectl get pv -n demo +NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE +pvc-037525b1de294233 10Gi RWO Delete Bound demo/data-pg-ha-cluster-0 linode-block-storage 4m24s +pvc-3bd05d8b36c84c0a 10Gi RWO Delete Bound demo/data-pg-ha-cluster-arbiter-0 linode-block-storage 3m2s +pvc-f03277c318c44029 10Gi RWO Delete Bound demo/data-pg-ha-cluster-1 linode-block-storage 3m35s +``` + +You can see the statefulset has 10GB storage, and the capacity of the persistent volume is also 10GB. + +We are now ready to apply the `PostgresOpsRequest` CR to expand the volume of this HA Cluster (Arbiter) + +### Volume Expansion + +Here, we are going to expand the volume of the Postgres database. + +#### Create PostgresOpsRequest + +In order to expand the volume of the database, we have to create a `PostgresOpsRequest` CR with our desired volume size for HA cluster (Arbiter). Below is the YAML of the `PostgresOpsRequest` CR that we are going to create, + +```yaml +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp-arbiter + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-ha-cluster + type: VolumeExpansion + volumeExpansion: + mode: Online + arbiter: 12Gi +``` + +Here, + +- `spec.databaseRef.name` specifies that we are performing volume expansion operation on `pg-ha-cluster` Postgres database. +- `spec.type` specifies that we are performing `VolumeExpansion` on our database. +- `spec.volumeExpansion.postgres` specifies the desired volume size. +- `spec.volumeExpansion.mode` specifies the desired volume expansion mode(only `Online`). + +Let's create the `PostgresOpsRequest` CR we have shown above, + +```bash +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/postgres/volume-expansion/ha-cluster/yamls/vol-exp-arbiter.yaml +postgresopsrequest.ops.kubedb.com/pgops-vol-exp-arbiter created +``` + +#### Verify Postgres HA Cluster (Arbiter) volume expanded successfully + +If everything goes well, `KubeDB` Ops-manager operator will update the volume size of `Postgres` object and related `StatefulSet` and `Persistent Volume`. + +Let's wait for `PostgresOpsRequest` to be `Successful`. Run the following command to watch `PostgresOpsRequest` CR, + +```bash +$ kubectl get postgresopsrequest -n demo +NAME TYPE STATUS AGE +pgops-vol-exp-arbiter VolumeExpansion Successful 105s +``` + +We can see from the above output that the `PostgresOpsRequest` has succeeded. If we describe the `PostgresOpsRequest` we will get an overview of the steps that were followed to expand the volume of the database. + +```bash +$ kubectl describe postgresopsrequest pgops-vol-exp-arbiter -n demo +Name: pgops-vol-exp-arbiter +Namespace: demo +Labels: +Annotations: +API Version: ops.kubedb.com/v1alpha1 +Kind: PostgresOpsRequest +Metadata: + Creation Timestamp: 2024-03-15T05:12:53Z + Generation: 1 + Resource Version: 73874 + UID: 4388eacc-4bf6-4ca4-90a2-cb8b4293b9a5 +Spec: + Apply: IfReady + Database Ref: + Name: pg-ha-cluster + Type: VolumeExpansion + Volume Expansion: + Arbiter: 12Gi + Mode: Online +Status: + Conditions: + Last Transition Time: 2024-03-15T05:12:53Z + Message: Postgres ops request is expanding volume of database + Observed Generation: 1 + Reason: Running + Status: True + Type: Running + Last Transition Time: 2024-03-15T05:13:11Z + Message: Online Volume Expansion performed successfully in Arbiter pods for PostgresDBOpsRequest: demo/pgops-vol-exp-arbiter + Observed Generation: 1 + Reason: ArbiterVolumeExpansion + Status: True + Type: ArbiterVolumeExpansion + Last Transition Time: 2024-03-15T05:13:16Z + Message: Arbiter StatefulSet is recreated + Observed Generation: 1 + Reason: ReadyArbiterStatefulSets + Status: True + Type: ReadyArbiterStatefulSets + Last Transition Time: 2024-03-15T05:13:17Z + Message: Successfully Expanded Volume. + Observed Generation: 1 + Reason: Successful + Status: True + Type: Successful + Observed Generation: 1 + Phase: Successful +Events: + Type Reason Age From Message + ---- ------ ---- ---- ------- + Normal PauseDatabase 2m26s KubeDB Ops-manager Operator Pausing Postgres demo/pg-ha-cluster + Normal PauseDatabase 2m26s KubeDB Ops-manager Operator Successfully paused Postgres demo/pg-ha-cluster + Normal ArbiterVolumeExpansion 2m8s KubeDB Ops-manager Operator Online Volume Expansion performed successfully in Arbiter pods for PostgresDBOpsRequest: demo/pgops-vol-exp-arbiter + Normal ResumeDatabase 2m8s KubeDB Ops-manager Operator Resuming PostgreSQL demo/pg-ha-cluster + Normal ResumeDatabase 2m8s KubeDB Ops-manager Operator Successfully resumed PostgreSQL demo/pg-ha-cluster + Normal PauseDatabase 2m8s KubeDB Ops-manager Operator Pausing Postgres demo/pg-ha-cluster + Normal PauseDatabase 2m8s KubeDB Ops-manager Operator Successfully paused Postgres demo/pg-ha-cluster + Normal ReadyArbiterStatefulSets 2m3s KubeDB Ops-manager Operator Arbiter StatefulSet is recreated + Normal ResumeDatabase 2m3s KubeDB Ops-manager Operator Resuming PostgreSQL demo/pg-ha-cluster + Normal ResumeDatabase 2m3s KubeDB Ops-manager Operator Successfully resumed PostgreSQL demo/pg-ha-cluster + Normal Successful 2m2s KubeDB Ops-manager Operator Successfully Expanded Volume +``` + +Now, we are going to verify from the `Statefulset`, and the `Persistent Volume` whether the volume of the `pg-ha-cluster-arbiter` has expanded to meet the desired state, Let's check that particular statefulset, + +```bash +$ kubectl get sts -n demo pg-ha-cluster-arbiter -o json | jq '.spec.volumeClaimTemplates[].spec.resources.requests.storage' +"12Gi" + +$ kubectl get pv -n demo +NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE +pvc-037525b1de294233 10Gi RWO Delete Bound demo/data-pg-ha-cluster-0 linode-block-storage 16m +pvc-3bd05d8b36c84c0a 12Gi RWO Delete Bound demo/data-pg-ha-cluster-arbiter-0 linode-block-storage 14m +pvc-f03277c318c44029 10Gi RWO Delete Bound demo/data-pg-ha-cluster-1 linode-block-storage 15m +``` + +The above output verifies that we have successfully expanded the volume of the Postgres HA cluster database. + +## Cleaning Up + +To clean up the Kubernetes resources created by this tutorial, run: + +```bash +$ kubectl delete pg -n demo pg-ha-cluster +postgres.kubedb.com "pg-ha-cluster" deleted + +$ kubectl delete postgresopsrequest -n demo pgops-vol-exp-arbiter +postgresopsrequest.ops.kubedb.com "pgops-vol-exp-arbiter" deleted +``` diff --git a/docs/guides/postgres/volume-expansion/ha-cluster/yamls/pg-ha-cluster.yaml b/docs/guides/postgres/volume-expansion/ha-cluster/yamls/pg-ha-cluster.yaml new file mode 100644 index 0000000000..8d163eeb87 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/ha-cluster/yamls/pg-ha-cluster.yaml @@ -0,0 +1,18 @@ +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-ha-cluster + namespace: demo +spec: + version: "13.13" + replicas: 2 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut diff --git a/docs/guides/postgres/volume-expansion/ha-cluster/yamls/vol-exp-arbiter.yaml b/docs/guides/postgres/volume-expansion/ha-cluster/yamls/vol-exp-arbiter.yaml new file mode 100644 index 0000000000..8eadb81cbc --- /dev/null +++ b/docs/guides/postgres/volume-expansion/ha-cluster/yamls/vol-exp-arbiter.yaml @@ -0,0 +1,13 @@ +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp-arbiter + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-ha-cluster + type: VolumeExpansion + volumeExpansion: + mode: Online + arbiter: 12Gi diff --git a/docs/guides/postgres/volume-expansion/standalone/standalone.md b/docs/guides/postgres/volume-expansion/standalone/standalone.md new file mode 100644 index 0000000000..6afc75209a --- /dev/null +++ b/docs/guides/postgres/volume-expansion/standalone/standalone.md @@ -0,0 +1,260 @@ +--- +title: Postgres Standalone Volume Expansion +menu: + docs_{{ .version }}: + identifier: pg-volume-expansion-standalone + name: Standalone + parent: pg-volume-expansion + weight: 20 +menu_name: docs_{{ .version }} +section_menu_id: guides +--- + +> New to KubeDB? Please start [here](/docs/README.md). + +# Postgres Standalone Volume Expansion + +This guide will show you how to use `KubeDB` Ops-manager operator to expand the volume of a Postgres standalone database. + +## Before You Begin + +- At first, you need to have a Kubernetes cluster, and the `kubectl` command-line tool must be configured to communicate with your cluster. + +- You must have a `StorageClass` that supports volume expansion. + +- Install `KubeDB` Provisioner and Ops-manager operator in your cluster following the steps [here](/docs/setup/README.md). + +- You should be familiar with the following `KubeDB` concepts: + - [Postgres](/docs/guides/postgres/concepts/postgres.md) + - [PostgresOpsRequest](/docs/guides/postgres/concepts/opsrequest.md) + - [Volume Expansion Overview](/docs/guides/postgres/volume-expansion/Overview/overview.md) + +To keep everything isolated, we are going to use a separate namespace called `demo` throughout this tutorial. + +```bash +$ kubectl create ns demo +namespace/demo created +``` + +> **Note:** YAML files used in this tutorial are stored in [docs/guides/postgres/volume-expansion/standalone/yamls](/docs/guides/postgres/volume-expansion/standalone/yamls) directory of [kubedb/docs](https://github.com/kubedb/docs) repository. + +## Expand Volume of Standalone Database + +Here, we are going to deploy a `Postgres` standalone using a supported version by `KubeDB` operator. Then we are going to apply `PostgresOpsRequest` to expand its volume. + +### Prepare Postgres Standalone Database + +At first verify that your cluster has a storage class, that supports volume expansion. Let's check, + +```bash +$ kubectl get storageclass +NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE +linode-block-storage linodebs.csi.linode.com Delete Immediate true 13m +``` + +We can see the output from the `linode-block-storage` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We can use it. + +Now, we are going to deploy a `Postgres` standalone database with version `13.13`. + +#### Deploy Postgres standalone + +In this section, we are going to deploy a Postgres standalone database with 10GB volume. Then, in the next section we will expand its volume to 12GB using `PostgresOpsRequest` CRD. Below is the YAML of the `Postgres` CR that we are going to create, + +```yaml +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-standalone + namespace: demo +spec: + version: "13.13" + replicas: 3 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut +``` + +Let's create the `Postgres` CR we have shown above, + +```bash +$ kubectl create -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/postgres/volume-expansion/standalone/yamls/pg-standalone.yaml +postgres.kubedb.com/pg-standalone created +``` + +Now, wait until `pg-standalone` has status `Ready`. i.e, + +```bash +$ kubectl get pg -n demo +NAME VERSION STATUS AGE +pg-standalone 13.13 Ready 3m47s +``` + +Let's check volume size from statefulset, and from the persistent volume, + +```bash +$ kubectl get sts -n demo pg-standalone -o json | jq '.spec.volumeClaimTemplates[].spec.resources.requests.storage' +"10Gi" + +$ kubectl get pv -n demo +NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE +pvc-39ed8f427a2c4a83 10Gi RWO Delete Bound demo/data-pg-standalone-0 linode-block-storage 11m +pvc-7dff097ca2014d95 10Gi RWO Delete Bound demo/data-pg-standalone-1 linode-block-storage 10m +pvc-940dea6bff46428a 10Gi RWO Delete Bound demo/data-pg-standalone-2 linode-block-storage 10m +``` + +You can see the statefulset has 10GB storage, and the capacity of the persistent volume is also 10GB. + +We are now ready to apply the `PostgresOpsRequest` CR to expand the volume of this database. + +### Volume Expansion + +Here, we are going to expand the volume of the standalone database. + +#### Create PostgresOpsRequest + +In order to expand the volume of the database, we have to create a `PostgresOpsRequest` CR with our desired volume size. Below is the YAML of the `PostgresOpsRequest` CR that we are going to create, + +```yaml +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-standalone + type: VolumeExpansion + volumeExpansion: + mode: Online + postgres: 12Gi +``` + +Here, + +- `spec.databaseRef.name` specifies that we are performing volume expansion operation on `pg-stanalone` Postgres database. +- `spec.type` specifies that we are performing `VolumeExpansion` on our database. +- `spec.volumeExpansion.postgres` specifies the desired volume size. +- `spec.volumeExpansion.mode` specifies the desired volume expansion mode(`Online` or `Offline`) + +> Note: If the Storageclass doesn’t support `Online` volume expansion, Try offline volume expansion by using spec.volumeExpansion.mode:"Offline". + +During `Online` VolumeExpansion KubeDB expands volume without pausing database object, it directly updates the underlying PVC. And for `Offline` volume expansion, the database is paused. The Pods are deleted and PVC is updated. Then the database Pods are recreated with updated PVC. + +Let's create the `PostgresOpsRequest` CR we have shown above, + +```bash +$ kubectl apply -f https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/postgres/volume-expansion/standalone/yamls/vol-exp.yaml +postgresopsrequest.ops.kubedb.com/pgops-vol-exp created +``` + +#### Verify Postgres Standalone volume expanded successfully + +If everything goes well, `KubeDB` Ops-manager operator will update the volume size of `Postgres` object and related `StatefulSet` and `Persistent Volume`. + +Let's wait for `PostgresOpsRequest` to be `Successful`. Run the following command to watch `PostgresOpsRequest` CR, + +```bash +$ kubectl get postgresopsrequest -n demo +NAME TYPE STATUS AGE +pgops-vol-exp VolumeExpansion Successful 10m +``` + +We can see from the above output that the `PostgresOpsRequest` has succeeded. If we describe the `PostgresOpsRequest` we will get an overview of the steps that were followed to expand the volume of the database. + +```bash +$ kubectl describe postgresopsrequest pgops-vol-exp -n demo +Name: pgops-vol-exp +Namespace: demo +Labels: +Annotations: +API Version: ops.kubedb.com/v1alpha1 +Kind: PostgresOpsRequest +Metadata: + Creation Timestamp: 2024-03-14T09:04:06Z + Generation: 1 + Resource Version: 8621 + UID: 54256467-7bc1-42f5-b0e4-4bf64337b9a0 +Spec: + Apply: IfReady + Database Ref: + Name: pg-standalone + Type: VolumeExpansion + Volume Expansion: + Mode: Online + Postgres: 12Gi +Status: + Conditions: + Last Transition Time: 2024-03-14T09:04:19Z + Message: Postgres ops request is expanding volume of database + Observed Generation: 1 + Reason: Running + Status: True + Type: Running + Last Transition Time: 2024-03-14T09:05:12Z + Message: Online Volume Expansion performed successfully in Postgres pods for PostgresDBOpsRequest: demo/pgops-vol-exp + Observed Generation: 1 + Reason: VolumeExpansion + Status: True + Type: VolumeExpansion + Last Transition Time: 2024-03-14T09:06:08Z + Message: StatefulSet is recreated + Observed Generation: 1 + Reason: ReadyStatefulSets + Status: True + Type: ReadyStatefulSets + Last Transition Time: 2024-03-14T09:06:52Z + Message: Successfully Expanded Volume. + Observed Generation: 1 + Reason: Successful + Status: True + Type: Successful + Observed Generation: 1 + Phase: Successful +Events: + Type Reason Age From Message + ---- ------ ---- ---- ------- + Normal PauseDatabase 12m KubeDB Ops-manager Operator Pausing Postgres demo/pg-standalone + Normal PauseDatabase 12m KubeDB Ops-manager Operator Successfully paused Postgres demo/pg-standalone + Normal VolumeExpansion 11m KubeDB Ops-manager Operator Online Volume Expansion performed successfully in Postgres pods for PostgresDBOpsRequest: demo/pgops-vol-exp + Normal ResumeDatabase 11m KubeDB Ops-manager Operator Resuming PostgreSQL demo/pg-standalone + Normal ResumeDatabase 11m KubeDB Ops-manager Operator Successfully resumed PostgreSQL demo/pg-standalone + Normal PauseDatabase 11m KubeDB Ops-manager Operator Pausing Postgres demo/pg-standalone + Normal PauseDatabase 11m KubeDB Ops-manager Operator Successfully paused Postgres demo/pg-standalone + Normal ReadyStatefulSets 10m KubeDB Ops-manager Operator StatefulSet is recreated + Normal Successful 10m KubeDB Ops-manager Operator Successfully Expanded Volume +``` + +Now, we are going to verify from the `Statefulset`, and the `Persistent Volume` whether the volume of the standalone database has expanded to meet the desired state, Let's check, + +```bash +$ kubectl get sts -n demo pg-standalone -o json | jq '.spec.volumeClaimTemplates[].spec.resources.requests.storage' +"12Gi" + +$ kubectl get pv -n demo +NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE +pvc-39ed8f427a2c4a83 12Gi RWO Delete Bound demo/data-pg-standalone-0 linode-block-storage 12m +pvc-7dff097ca2014d95 12Gi RWO Delete Bound demo/data-pg-standalone-2 linode-block-storage 11m +pvc-940dea6bff46428a 12Gi RWO Delete Bound demo/data-pg-standalone-1 linode-block-storage 11m +``` + +The above output verifies that we have successfully expanded the volume of the Postgres standalone database. + +## Cleaning Up + +To clean up the Kubernetes resources created by this tutorial, run: + +```bash +$ kubectl delete pg -n demo pg-standalone +postgres.kubedb.com "pg-standalone" deleted + +$ kubectl delete postgresopsrequest -n demo pgops-vol-exp +postgresopsrequest.ops.kubedb.com "pgops-vol-exp" deleted +``` diff --git a/docs/guides/postgres/volume-expansion/standalone/yamls/pg-standalone.yaml b/docs/guides/postgres/volume-expansion/standalone/yamls/pg-standalone.yaml new file mode 100644 index 0000000000..fff6a5ff13 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/standalone/yamls/pg-standalone.yaml @@ -0,0 +1,18 @@ +apiVersion: kubedb.com/v1alpha2 +kind: Postgres +metadata: + name: pg-standalone + namespace: demo +spec: + version: "13.13" + replicas: 3 + standbyMode: Hot + storageType: Durable + storage: + storageClassName: "linode-block-storage" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi + terminationPolicy: WipeOut diff --git a/docs/guides/postgres/volume-expansion/standalone/yamls/vol-exp.yaml b/docs/guides/postgres/volume-expansion/standalone/yamls/vol-exp.yaml new file mode 100644 index 0000000000..91133d2869 --- /dev/null +++ b/docs/guides/postgres/volume-expansion/standalone/yamls/vol-exp.yaml @@ -0,0 +1,13 @@ +apiVersion: ops.kubedb.com/v1alpha1 +kind: PostgresOpsRequest +metadata: + name: pgops-vol-exp + namespace: demo +spec: + apply: IfReady + databaseRef: + name: pg-standalone + type: VolumeExpansion + volumeExpansion: + mode: Online + postgres: 12Gi diff --git a/docs/guides/proxysql/autoscaler/compute/overview/index.md b/docs/guides/proxysql/autoscaler/compute/overview/index.md index cb55eb1560..be851f1764 100644 --- a/docs/guides/proxysql/autoscaler/compute/overview/index.md +++ b/docs/guides/proxysql/autoscaler/compute/overview/index.md @@ -2,7 +2,7 @@ title: ProxySQL Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-autoscaling-compute-overview + identifier: guides-proxysql-autoscaling-compute-Overview name: Overview parent: guides-proxysql-autoscaling-compute weight: 10 diff --git a/docs/guides/proxysql/clustering/overview/index.md b/docs/guides/proxysql/clustering/overview/index.md index f44f96b941..8b5656fc72 100644 --- a/docs/guides/proxysql/clustering/overview/index.md +++ b/docs/guides/proxysql/clustering/overview/index.md @@ -2,7 +2,7 @@ title: ProxySQL Cluster Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-clustering-overview + identifier: guides-proxysql-clustering-Overview name: ProxySQL Cluster Overview parent: guides-proxysql-clustering weight: 10 diff --git a/docs/guides/proxysql/monitoring/overview/index.md b/docs/guides/proxysql/monitoring/overview/index.md index 795c804294..61fa266454 100644 --- a/docs/guides/proxysql/monitoring/overview/index.md +++ b/docs/guides/proxysql/monitoring/overview/index.md @@ -3,7 +3,7 @@ title: ProxySQL Monitoring Overview description: ProxySQL Monitoring Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-monitoring-overview + identifier: guides-proxysql-monitoring-Overview name: Overview parent: guides-proxysql-monitoring weight: 10 diff --git a/docs/guides/proxysql/quickstart/mysqlgrp/index.md b/docs/guides/proxysql/quickstart/mysqlgrp/index.md index 0244c81b7c..e5d4bde1d5 100644 --- a/docs/guides/proxysql/quickstart/mysqlgrp/index.md +++ b/docs/guides/proxysql/quickstart/mysqlgrp/index.md @@ -2,7 +2,7 @@ title: Load Balance To MySQL Group Replication With KubeDB Provisioned ProxySQL menu: docs_{{ .version }}: - identifier: guides-proxysql-quickstart-overview + identifier: guides-proxysql-quickstart-Overview name: KubeDB MySQL Group Replication Backend parent: guides-proxysql-quickstart weight: 20 diff --git a/docs/guides/proxysql/reconfigure-tls/overview/index.md b/docs/guides/proxysql/reconfigure-tls/overview/index.md index c7d3898297..eb7ec9d3e9 100644 --- a/docs/guides/proxysql/reconfigure-tls/overview/index.md +++ b/docs/guides/proxysql/reconfigure-tls/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring TLS of ProxySQL menu: docs_{{ .version }}: - identifier: guides-proxysql-reconfigure-tls-overview + identifier: guides-proxysql-reconfigure-tls-Overview name: Overview parent: guides-proxysql-reconfigure-tls weight: 10 diff --git a/docs/guides/proxysql/reconfigure/overview/index.md b/docs/guides/proxysql/reconfigure/overview/index.md index 7de4da3c61..2446dd5325 100644 --- a/docs/guides/proxysql/reconfigure/overview/index.md +++ b/docs/guides/proxysql/reconfigure/overview/index.md @@ -2,7 +2,7 @@ title: Reconfiguring ProxySQL menu: docs_{{ .version }}: - identifier: guides-proxysql-reconfigure-overview + identifier: guides-proxysql-reconfigure-Overview name: Overview parent: guides-proxysql-reconfigure weight: 10 diff --git a/docs/guides/proxysql/scaling/horizontal-scaling/overview/index.md b/docs/guides/proxysql/scaling/horizontal-scaling/overview/index.md index dc9ea8a3b9..3eb41cdbae 100644 --- a/docs/guides/proxysql/scaling/horizontal-scaling/overview/index.md +++ b/docs/guides/proxysql/scaling/horizontal-scaling/overview/index.md @@ -2,7 +2,7 @@ title: ProxySQL Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-scaling-horizontal-overview + identifier: guides-proxysql-scaling-horizontal-Overview name: Overview parent: guides-proxysql-scaling-horizontal weight: 10 diff --git a/docs/guides/proxysql/scaling/vertical-scaling/overview/index.md b/docs/guides/proxysql/scaling/vertical-scaling/overview/index.md index 124e5efcef..c5ff9f1e12 100644 --- a/docs/guides/proxysql/scaling/vertical-scaling/overview/index.md +++ b/docs/guides/proxysql/scaling/vertical-scaling/overview/index.md @@ -2,7 +2,7 @@ title: ProxySQL Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-scaling-vertical-overview + identifier: guides-proxysql-scaling-vertical-Overview name: Overview parent: guides-proxysql-scaling-vertical weight: 10 diff --git a/docs/guides/proxysql/tls/overview/index.md b/docs/guides/proxysql/tls/overview/index.md index 3d38b6e5dd..1f3ef76418 100644 --- a/docs/guides/proxysql/tls/overview/index.md +++ b/docs/guides/proxysql/tls/overview/index.md @@ -2,7 +2,7 @@ title: ProxySQL TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-tls-overview + identifier: guides-proxysql-tls-Overview name: Overview parent: guides-proxysql-tls weight: 10 diff --git a/docs/guides/proxysql/update-version/overview/index.md b/docs/guides/proxysql/update-version/overview/index.md index a9d04d9047..5af8e01d63 100644 --- a/docs/guides/proxysql/update-version/overview/index.md +++ b/docs/guides/proxysql/update-version/overview/index.md @@ -2,7 +2,7 @@ title: Updating ProxySQL Overview menu: docs_{{ .version }}: - identifier: guides-proxysql-updating-overview + identifier: guides-proxysql-updating-Overview name: Overview parent: guides-proxysql-updating weight: 10 diff --git a/docs/guides/redis/autoscaler/compute/overview.md b/docs/guides/redis/autoscaler/compute/overview.md index fe08523c68..46b25ffb23 100644 --- a/docs/guides/redis/autoscaler/compute/overview.md +++ b/docs/guides/redis/autoscaler/compute/overview.md @@ -2,7 +2,7 @@ title: Redis Compute Autoscaling Overview menu: docs_{{ .version }}: - identifier: rd-auto-scaling-overview + identifier: rd-auto-scaling-Overview name: Overview parent: rd-compute-auto-scaling weight: 10 diff --git a/docs/guides/redis/autoscaler/storage/overview.md b/docs/guides/redis/autoscaler/storage/overview.md index f385c8de96..ee69f92c65 100644 --- a/docs/guides/redis/autoscaler/storage/overview.md +++ b/docs/guides/redis/autoscaler/storage/overview.md @@ -2,7 +2,7 @@ title: Redis Storage Autoscaling Overview menu: docs_{{ .version }}: - identifier: rd-storage-auto-scaling-overview + identifier: rd-storage-auto-scaling-Overview name: Overview parent: rd-storage-auto-scaling weight: 10 diff --git a/docs/guides/redis/backup/overview/index.md b/docs/guides/redis/backup/overview/index.md index 1ef9f56771..b8d91848f4 100644 --- a/docs/guides/redis/backup/overview/index.md +++ b/docs/guides/redis/backup/overview/index.md @@ -2,7 +2,7 @@ title: Backup & Restore Redis Using Stash menu: docs_{{ .version }}: - identifier: rd-backup-overview + identifier: rd-backup-Overview name: Overview parent: rd-guides-redis-backup weight: 10 diff --git a/docs/guides/redis/clustering/overview.md b/docs/guides/redis/clustering/overview.md index 32c40042a4..dc7a2a3f19 100644 --- a/docs/guides/redis/clustering/overview.md +++ b/docs/guides/redis/clustering/overview.md @@ -2,7 +2,7 @@ title: Redis Cluster Overview menu: docs_{{ .version }}: - identifier: rd-clustering-overview + identifier: rd-clustering-Overview name: Overview parent: rd-clustering-redis weight: 10 diff --git a/docs/guides/redis/monitoring/overview.md b/docs/guides/redis/monitoring/overview.md index 426bfb7ed5..870b75f87c 100644 --- a/docs/guides/redis/monitoring/overview.md +++ b/docs/guides/redis/monitoring/overview.md @@ -3,7 +3,7 @@ title: Redis Monitoring Overview description: Redis Monitoring Overview menu: docs_{{ .version }}: - identifier: rd-monitoring-overview + identifier: rd-monitoring-Overview name: Overview parent: rd-monitoring-redis weight: 10 diff --git a/docs/guides/redis/reconfigure-tls/overview.md b/docs/guides/redis/reconfigure-tls/overview.md index fb1aaf3dbf..3c6aa15bba 100644 --- a/docs/guides/redis/reconfigure-tls/overview.md +++ b/docs/guides/redis/reconfigure-tls/overview.md @@ -2,7 +2,7 @@ title: Reconfiguring TLS of Redis menu: docs_{{ .version }}: - identifier: rd-reconfigure-tls-overview + identifier: rd-reconfigure-tls-Overview name: Overview parent: rd-reconfigure-tls weight: 10 diff --git a/docs/guides/redis/reconfigure/overview.md b/docs/guides/redis/reconfigure/overview.md index 786f21397e..52efb4a875 100644 --- a/docs/guides/redis/reconfigure/overview.md +++ b/docs/guides/redis/reconfigure/overview.md @@ -2,7 +2,7 @@ title: Reconfiguring Redis menu: docs_{{ .version }}: - identifier: rd-reconfigure-overview + identifier: rd-reconfigure-Overview name: Overview parent: rd-reconfigure weight: 10 diff --git a/docs/guides/redis/scaling/horizontal-scaling/overview.md b/docs/guides/redis/scaling/horizontal-scaling/overview.md index 1b19aaec55..d0bfdf782f 100644 --- a/docs/guides/redis/scaling/horizontal-scaling/overview.md +++ b/docs/guides/redis/scaling/horizontal-scaling/overview.md @@ -2,7 +2,7 @@ title: Redis Horizontal Scaling Overview menu: docs_{{ .version }}: - identifier: rd-horizontal-scaling-overview + identifier: rd-horizontal-scaling-Overview name: Overview parent: rd-horizontal-scaling weight: 10 diff --git a/docs/guides/redis/scaling/vertical-scaling/overview.md b/docs/guides/redis/scaling/vertical-scaling/overview.md index 1331bed41d..f5e335e717 100644 --- a/docs/guides/redis/scaling/vertical-scaling/overview.md +++ b/docs/guides/redis/scaling/vertical-scaling/overview.md @@ -2,7 +2,7 @@ title: Redis Vertical Scaling Overview menu: docs_{{ .version }}: - identifier: rd-vertical-scaling-overview + identifier: rd-vertical-scaling-Overview name: Overview parent: rd-vertical-scaling weight: 10 diff --git a/docs/guides/redis/sentinel/overview.md b/docs/guides/redis/sentinel/overview.md index addf801908..04231c3dd9 100644 --- a/docs/guides/redis/sentinel/overview.md +++ b/docs/guides/redis/sentinel/overview.md @@ -2,7 +2,7 @@ title: Redis Sentinel Overview menu: docs_{{ .version }}: - identifier: rd-sentinel-overview + identifier: rd-sentinel-Overview name: Overview parent: rd-sentinel-redis weight: 10 diff --git a/docs/guides/redis/sentinel/replacesentinel/overview.md b/docs/guides/redis/sentinel/replacesentinel/overview.md index d1a67b72f4..766f4f356b 100644 --- a/docs/guides/redis/sentinel/replacesentinel/overview.md +++ b/docs/guides/redis/sentinel/replacesentinel/overview.md @@ -2,7 +2,7 @@ title: Replace Sentinel Overview menu: docs_{{ .version }}: - identifier: replace-sentinel-overview + identifier: replace-sentinel-Overview name: Overview parent: rd-replace-sentinel weight: 10 diff --git a/docs/guides/redis/tls/overview.md b/docs/guides/redis/tls/overview.md index a744af44a2..f2a6c41a66 100644 --- a/docs/guides/redis/tls/overview.md +++ b/docs/guides/redis/tls/overview.md @@ -2,7 +2,7 @@ title: Redis TLS/SSL Encryption Overview menu: docs_{{ .version }}: - identifier: rd-tls-overview + identifier: rd-tls-Overview name: Overview parent: rd-tls weight: 10 diff --git a/docs/guides/redis/update-version/overview.md b/docs/guides/redis/update-version/overview.md index 1f7c0c2e93..22f7a5301f 100644 --- a/docs/guides/redis/update-version/overview.md +++ b/docs/guides/redis/update-version/overview.md @@ -2,7 +2,7 @@ title: Updating Redis Version Overview menu: docs_{{ .version }}: - identifier: rd-update-version-overview + identifier: rd-update-version-Overview name: Overview parent: rd-update-version weight: 10 diff --git a/docs/guides/redis/volume-expansion/overview.md b/docs/guides/redis/volume-expansion/overview.md index 9eefaa9189..8ee8e782ab 100644 --- a/docs/guides/redis/volume-expansion/overview.md +++ b/docs/guides/redis/volume-expansion/overview.md @@ -2,7 +2,7 @@ title: Redis Volume Expansion Overview menu: docs_{{ .version }}: - identifier: rd-volume-expansion-overview + identifier: rd-volume-expansion-Overview name: Overview parent: rd-volume-expansion weight: 10 diff --git a/docs/images/postgres/pg-volume-expansion.svg b/docs/images/postgres/pg-volume-expansion.svg new file mode 100644 index 0000000000..952f3170fe --- /dev/null +++ b/docs/images/postgres/pg-volume-expansion.svg @@ -0,0 +1,4 @@ + + +1.Create PostgreSQL1.Create PostgreSQL2.Watch2.Watch3.Create3.Create5.Initiate Volume Expansion5.Initiate Volu...7.Pause7.Pause8.Expand Volume of Postgres8.Expand Volume9.Update Volume9.Update Volume10.Resumed Postgres10.Resumed PostgresVolume Expansion stageVolume Expansion stageUserUser Community Operator PersistentVolumePersiste...6.Watch6.Watch Enterprise OperatorPostgreSQL OpsRequestPostgreSQL...PostgreSQLPostgreSQL StatefulSetStateful...Expanded Persistent VolumeExpanded...4.Create 4.Createrefers to refers toUpdated PostgreSQLUpdate...Viewer does not support full SVG 1.1 \ No newline at end of file diff --git a/docs/overview/README.md b/docs/overview/README.md index 806150ff5c..6a21fa4717 100644 --- a/docs/overview/README.md +++ b/docs/overview/README.md @@ -2,15 +2,15 @@ title: KubeDB Overview menu: docs_{{ .version }}: - identifier: overview-readme + identifier: Overview-readme name: Readme - parent: overview + parent: Overview weight: -1 menu_name: docs_{{ .version }} -section_menu_id: overview -url: /docs/{{ .version }}/overview/ +section_menu_id: Overview +url: /docs/{{ .version }}/Overview/ aliases: - - /docs/{{ .version }}/overview/README/ + - /docs/{{ .version }}/Overview/README/ --- # KubeDB by AppsCode diff --git a/docs/overview/_index.md b/docs/overview/_index.md index 679bd1db4e..9f8f00e422 100644 --- a/docs/overview/_index.md +++ b/docs/overview/_index.md @@ -3,7 +3,7 @@ title: Overview description: Overview menu: docs_{{ .version }}: - identifier: overview + identifier: Overview name: Overview weight: 20 menu_name: docs_{{ .version }} diff --git a/docs/setup/monitoring/overview.md b/docs/setup/monitoring/overview.md index 621952ee03..0e2623efac 100644 --- a/docs/setup/monitoring/overview.md +++ b/docs/setup/monitoring/overview.md @@ -2,7 +2,7 @@ title: Monitoring KubeDB Operator menu: docs_{{ .version }}: - identifier: operator-monitoring-overview + identifier: operator-monitoring-Overview name: Overview parent: operator-monitoring weight: 10