cassandra: documentation for scale down action

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
This commit is contained in:
Yannis Zarkadas
2018-12-07 13:46:46 +02:00
parent a9178ccb59
commit 68f2c4e5d5
8 changed files with 39 additions and 7 deletions
+6
View File
@@ -1,3 +1,9 @@
---
title: Cassandra Cluster
weight: 36
indent: true
---
# Cassandra Cluster CRD
Cassandra database clusters can be created and configuring using the `clusters.cassandra.rook.io` custom resource definition (CRD).
+27 -2
View File
@@ -1,4 +1,10 @@
# Quickstart
---
title: Cassandra
weight: 7
indent: true
---
# Cassandra Quickstart
[Cassandra](http://cassandra.apache.org/) is a highly available, fault tolerant, peer-to-peer NoSQL database featuring lightning fast performance and tunable consistency. It provides massive scalability with no single point of failure.
@@ -83,9 +89,28 @@ To get a cqlsh shell in your new Cluster:
## Scale Up
The operator supports scale up of a rack as well as addition of new racks. To make the changes, you can use `kubectl edit clusters.cassandra.rook.io rook-cassandra`:
The operator supports scale up of a rack as well as addition of new racks. To make the changes, you can use:
```console
kubectl edit clusters.cassandra.rook.io rook-cassandra
```
* To scale up a rack, change the `Spec.Members` field of the rack to the desired value.
* To add a new rack, append the `racks` list with a new rack. Remember to choose a different rack name for the new rack.
* After editing and saving the yaml, check your cluster's Status and Events for information on what's happening:
```console
kubectl -n rook-cassandra describe clusters.cassandra.rook.io rook-cassandra
```
## Scale Down
The operator supports scale down of a rack. To make the changes, you can use:
```console
kubectl edit clusters.cassandra.rook.io rook-cassandra
```
* To scale down a rack, change the `Spec.Members` field of the rack to the desired value.
* After editing and saving the yaml, check your cluster's Status and Events for information on what's happening:
```console
kubectl -n rook-cassandra describe clusters.cassandra.rook.io rook-cassandra
```
## Clean Up
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Ceph Cluster
weight: 32
weight: 31
indent: true
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Ceph Shared File System
weight: 36
weight: 35
indent: true
---
{% assign url = page.url | split: '/' %}
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Ceph Object Store
weight: 34
weight: 33
indent: true
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Ceph Object Store User
weight: 35
weight: 34
indent: true
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Ceph Block Pool
weight: 33
weight: 32
indent: true
---
+1
View File
@@ -16,3 +16,4 @@ Rook provides growing number of storage providers to a Kubernetes cluster, each
| [CockroachDB](cockroachdb.md) | Alpha | CockroachDB is a cloud-native SQL database for building global, scalable cloud services that survive disasters. |
| [EdgeFS](edgefs-quickstart.md) | Alpha | EdgeFS is high-performance and low-latency object storage system with Geo-Transparent data access via standard protocols (S3, NFS, iSCSI) from on-prem, private/public clouds or small footprint edge (IoT) devices. |
| [Minio](minio-object-store.md) | Alpha | Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure. |
| [Cassandra](cassandra.md) | Alpha | Cassandra is a highly available NoSQL database featuring lightning fast performance, tunable consistency and massive scalability.|