Updated the Cassandra tutorial to use apps/v1beta2 (#5548)

This commit is contained in:
Yinan Li
2017-09-20 09:21:44 -07:00
committed by Steve Perry
parent 755b52134e
commit c3947d5ba5
2 changed files with 7 additions and 2 deletions
@@ -159,7 +159,7 @@ Use `kubectl edit` to modify the size of of a Cassandra StatefulSet.
# and an empty file will abort the edit. If an error occurs while saving this file will be # and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures. # reopened with the relevant failures.
# #
apiVersion: apps/v1beta1 apiVersion: apps/v1beta2
kind: StatefulSet kind: StatefulSet
metadata: metadata:
creationTimestamp: 2016-08-13T18:40:58Z creationTimestamp: 2016-08-13T18:40:58Z
@@ -1,10 +1,15 @@
apiVersion: "apps/v1beta1" apiVersion: apps/v1beta2
kind: StatefulSet kind: StatefulSet
metadata: metadata:
name: cassandra name: cassandra
labels:
app: cassandra
spec: spec:
serviceName: cassandra serviceName: cassandra
replicas: 3 replicas: 3
selector:
matchLabels:
app: cassandra
template: template:
metadata: metadata:
labels: labels: