Updated the Cassandra tutorial to use apps/v1beta2 (#5548)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user