@@ -233,13 +233,13 @@ Now this is actually not that interesting, since we haven't actually done anythi
...
@@ -233,13 +233,13 @@ Now this is actually not that interesting, since we haven't actually done anythi
Let's scale our cluster to 2:
Let's scale our cluster to 2:
```sh
```console
$ kubectl scale rc cassandra --replicas=2
$ kubectl scale rc cassandra --replicas=2
```
```
Now if you list the pods in your cluster, and filter to the label ```name=cassandra```, you should see two cassandra pods:
Now if you list the pods in your cluster, and filter to the label ```name=cassandra```, you should see two cassandra pods:
```sh
```console
$ kubectl get pods -l="name=cassandra"
$ kubectl get pods -l="name=cassandra"
NAME READY STATUS RESTARTS AGE
NAME READY STATUS RESTARTS AGE
cassandra 1/1 Running 0 3m
cassandra 1/1 Running 0 3m
...
@@ -250,7 +250,7 @@ Notice that one of the pods has the human readable name ```cassandra``` that you
...
@@ -250,7 +250,7 @@ Notice that one of the pods has the human readable name ```cassandra``` that you
To prove that this all works, you can use the ```nodetool``` command to examine the status of the cluster. To do this, use the ```kubectl exec``` command to run ```nodetool``` in one of your Cassandra pods.
To prove that this all works, you can use the ```nodetool``` command to examine the status of the cluster. To do this, use the ```kubectl exec``` command to run ```nodetool``` in one of your Cassandra pods.