Skip to content

Commit

Permalink
Updated the Cassandra tutorial to use apps/v1beta2 (#5548)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 authored and steveperry-53 committed Sep 20, 2017
1 parent 755b521 commit c3947d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/stateful-application/cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
# reopened with the relevant failures.
#
apiVersion: apps/v1beta1
apiVersion: apps/v1beta2
kind: StatefulSet
metadata:
creationTimestamp: 2016-08-13T18:40:58Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
apiVersion: "apps/v1beta1"
apiVersion: apps/v1beta2
kind: StatefulSet
metadata:
name: cassandra
labels:
app: cassandra
spec:
serviceName: cassandra
replicas: 3
selector:
matchLabels:
app: cassandra
template:
metadata:
labels:
Expand Down

0 comments on commit c3947d5

Please sign in to comment.