diff --git a/docs/concepts/elasticsearch.md b/docs/concepts/elasticsearch.md index 519bf86db..0320b7c81 100644 --- a/docs/concepts/elasticsearch.md +++ b/docs/concepts/elasticsearch.md @@ -18,7 +18,7 @@ spec: version: 2.3.1 replicas: 1 storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -70,7 +70,7 @@ spec: ### spec.storage `spec.storage` is an optional field that specifies the StorageClass of PVCs dynamically allocated to store data for the database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. You can specify any StorageClass available in your cluster with appropriate resource requests. If no storage spec is given, an `emptyDir` is used. - - `spec.storage.class` is the name of the StorageClass used to provision PVCs. PVCs don’t necessarily have to request a class. A PVC with its storageClassName set equal to "" is always interpreted to be requesting a PV with no class, so it can only be bound to PVs with no class (no annotation or one set equal to ""). A PVC with no storageClassName is not quite the same and is treated differently by the cluster depending on whether the DefaultStorageClass admission plugin is turned on. + - `spec.storage.storageClassName` is the name of the StorageClass used to provision PVCs. PVCs don’t necessarily have to request a class. A PVC with its storageClassName set equal to "" is always interpreted to be requesting a PV with no class, so it can only be bound to PVs with no class (no annotation or one set equal to ""). A PVC with no storageClassName is not quite the same and is treated differently by the cluster depending on whether the DefaultStorageClass admission plugin is turned on. - `spec.storage.accessModes` uses the same conventions as Kubernetes PVCs when requesting storage with specific access modes. diff --git a/docs/concepts/postgres.md b/docs/concepts/postgres.md index 18fa140e0..f6f3b47da 100644 --- a/docs/concepts/postgres.md +++ b/docs/concepts/postgres.md @@ -17,7 +17,7 @@ metadata: spec: version: 9.5 storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -69,7 +69,7 @@ spec: ### spec.storage `spec.storage` is an optional field that specifies the StorageClass of PVCs dynamically allocated to store data for the database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. You can specify any StorageClass available in your cluster with appropriate resource requests. If no storage spec is given, an `emptyDir` is used. - - `spec.storage.class` is the name of the StorageClass used to provision PVCs. PVCs don’t necessarily have to request a class. A PVC with its storageClassName set equal to "" is always interpreted to be requesting a PV with no class, so it can only be bound to PVs with no class (no annotation or one set equal to ""). A PVC with no storageClassName is not quite the same and is treated differently by the cluster depending on whether the DefaultStorageClass admission plugin is turned on. + - `spec.storage.storageClassName` is the name of the StorageClass used to provision PVCs. PVCs don’t necessarily have to request a class. A PVC with its storageClassName set equal to "" is always interpreted to be requesting a PV with no class, so it can only be bound to PVs with no class (no annotation or one set equal to ""). A PVC with no storageClassName is not quite the same and is treated differently by the cluster depending on whether the DefaultStorageClass admission plugin is turned on. - `spec.storage.accessModes` uses the same conventions as Kubernetes PVCs when requesting storage with specific access modes. diff --git a/docs/examples/elasticsearch/demo-1.yaml b/docs/examples/elasticsearch/demo-1.yaml index 1f95b030e..a3da395ce 100644 --- a/docs/examples/elasticsearch/demo-1.yaml +++ b/docs/examples/elasticsearch/demo-1.yaml @@ -8,7 +8,7 @@ spec: replicas: 1 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/elasticsearch/demo-3.yaml b/docs/examples/elasticsearch/demo-3.yaml index 2a6ab75b9..56e69e714 100644 --- a/docs/examples/elasticsearch/demo-3.yaml +++ b/docs/examples/elasticsearch/demo-3.yaml @@ -8,7 +8,7 @@ spec: replicas: 1 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/elasticsearch/demo-4.yaml b/docs/examples/elasticsearch/demo-4.yaml index e2b2187a2..07ebb9008 100644 --- a/docs/examples/elasticsearch/demo-4.yaml +++ b/docs/examples/elasticsearch/demo-4.yaml @@ -6,7 +6,7 @@ metadata: spec: version: 2.3.1 storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/monitoring/demo-2.yaml b/docs/examples/monitoring/demo-2.yaml index fc1d62e92..e17fc03f3 100644 --- a/docs/examples/monitoring/demo-2.yaml +++ b/docs/examples/monitoring/demo-2.yaml @@ -6,7 +6,7 @@ metadata: spec: version: 9.5 storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/postgres/demo-1.yaml b/docs/examples/postgres/demo-1.yaml index 22a0de6f1..c87a96881 100644 --- a/docs/examples/postgres/demo-1.yaml +++ b/docs/examples/postgres/demo-1.yaml @@ -7,7 +7,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/postgres/demo-3.yaml b/docs/examples/postgres/demo-3.yaml index 8efcdcc86..5cdc0fe36 100644 --- a/docs/examples/postgres/demo-3.yaml +++ b/docs/examples/postgres/demo-3.yaml @@ -7,7 +7,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/postgres/demo-4.yaml b/docs/examples/postgres/demo-4.yaml index 726d0baa6..86c67e4f3 100644 --- a/docs/examples/postgres/demo-4.yaml +++ b/docs/examples/postgres/demo-4.yaml @@ -7,7 +7,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/examples/rbac/demo-1.yaml b/docs/examples/rbac/demo-1.yaml index 5dee33473..968363023 100644 --- a/docs/examples/rbac/demo-1.yaml +++ b/docs/examples/rbac/demo-1.yaml @@ -7,7 +7,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/install.md b/docs/install.md index 9ae4c6da0..a2912922c 100644 --- a/docs/install.md +++ b/docs/install.md @@ -7,12 +7,12 @@ KubeDB provides a CLI to work with database objects. Download pre-built binaries ```console # Linux amd 64-bit -wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.5.0/kubedb-linux-amd64 \ +wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.6.0/kubedb-linux-amd64 \ && chmod +x kubedb \ && sudo mv kubedb /usr/local/bin/ # Mac 64-bit -wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.5.0/kubedb-darwin-amd64 \ +wget -O kubedb https://github.com/k8sdb/cli/releases/download/0.6.0/kubedb-darwin-amd64 \ && chmod +x kubedb \ && sudo mv kubedb /usr/local/bin/ ``` @@ -68,7 +68,7 @@ To upgrade KubeDB cli, just replace the old cli with the new version. `kubedb init` command can be used to upgrade operator. Re-run the `kubedb init` command with `--upgrade flag` to upgrade operator. ```console -$ kubedb init --version='0.5.0' --upgrade +$ kubedb init --version='0.6.0' --upgrade Successfully upgraded operator deployment. ``` diff --git a/docs/reference/kubedb_init.md b/docs/reference/kubedb_init.md index 0b5137187..94601a600 100644 --- a/docs/reference/kubedb_init.md +++ b/docs/reference/kubedb_init.md @@ -18,7 +18,7 @@ kubedb init [flags] kubedb init # Upgrade operator to use another version. - kubedb init --version=0.5.0 --upgrade + kubedb init --version=0.6.0 --upgrade ``` ### Options @@ -28,7 +28,7 @@ kubedb init [flags] --operator-namespace string Name of namespace where operator will be deployed. (default "kube-system") --rbac If true, uses RBAC with operator and database objects --upgrade If present, Upgrade operator to use provided version - --version string Operator version (default "0.5.0") + --version string Operator version (default "0.6.0") ``` ### Options inherited from parent commands diff --git a/docs/tutorials/elasticsearch.md b/docs/tutorials/elasticsearch.md index ed045963b..79f235955 100644 --- a/docs/tutorials/elasticsearch.md +++ b/docs/tutorials/elasticsearch.md @@ -34,7 +34,7 @@ spec: replicas: 1 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -125,7 +125,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -320,7 +320,7 @@ spec: replicas: 1 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -356,7 +356,7 @@ spec: version: 2.3.1 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -468,7 +468,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -523,7 +523,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -574,7 +574,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi diff --git a/docs/tutorials/monitoring.md b/docs/tutorials/monitoring.md index 77d1baff4..6920a7d92 100644 --- a/docs/tutorials/monitoring.md +++ b/docs/tutorials/monitoring.md @@ -55,7 +55,7 @@ metadata: spec: version: 9.5 storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: diff --git a/docs/tutorials/postgres.md b/docs/tutorials/postgres.md index 8c4dc5266..dc14389e8 100644 --- a/docs/tutorials/postgres.md +++ b/docs/tutorials/postgres.md @@ -43,7 +43,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -153,7 +153,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -334,7 +334,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -375,7 +375,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -497,7 +497,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -558,7 +558,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi @@ -615,7 +615,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi diff --git a/docs/tutorials/rbac.md b/docs/tutorials/rbac.md index 15aafe234..e96e9aa65 100644 --- a/docs/tutorials/rbac.md +++ b/docs/tutorials/rbac.md @@ -71,7 +71,7 @@ spec: version: 9.5 doNotPause: true storage: - class: "standard" + storageClassName: "standard" accessModes: - ReadWriteOnce resources: @@ -238,7 +238,7 @@ spec: storage: accessModes: - ReadWriteOnce - class: standard + storageClassName: standard resources: requests: storage: 50Mi