We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d32bf97 commit 2dcc8dfCopy full SHA for 2dcc8df
2 files changed
docs/tutorials/stateful-application/cassandra.md
@@ -159,7 +159,7 @@ Use `kubectl edit` to modify the size of of a Cassandra StatefulSet.
159
# and an empty file will abort the edit. If an error occurs while saving this file will be
160
# reopened with the relevant failures.
161
#
162
- apiVersion: apps/v1beta1
+ apiVersion: apps/v1beta2
163
kind: StatefulSet
164
metadata:
165
creationTimestamp: 2016-08-13T18:40:58Z
docs/tutorials/stateful-application/cassandra/cassandra-statefulset.yaml
@@ -1,10 +1,15 @@
1
-apiVersion: "apps/v1beta1"
+apiVersion: apps/v1beta2
2
3
4
name: cassandra
5
+ labels:
6
+ app: cassandra
7
spec:
8
serviceName: cassandra
9
replicas: 3
10
+ selector:
11
+ matchLabels:
12
13
template:
14
15
labels:
0 commit comments