From 488655ca0d49740765adc61c55fca4126e55d3dd Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Fri, 26 Jan 2018 22:19:31 +0800 Subject: [PATCH] Update StatefulSet API version to 1.9 for the Cassandra example (#7096) * Update StatefulSet API version to 1.9 for the Cassandra example * Update API version for StatefulSet in the Cassandra example --- docs/tutorials/stateful-application/cassandra.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/stateful-application/cassandra.md b/docs/tutorials/stateful-application/cassandra.md index 608cf6a352..9e7c753b91 100644 --- a/docs/tutorials/stateful-application/cassandra.md +++ b/docs/tutorials/stateful-application/cassandra.md @@ -158,7 +158,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/v1beta2 + apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 kind: StatefulSet metadata: creationTimestamp: 2016-08-13T18:40:58Z @@ -168,7 +168,7 @@ Use `kubectl edit` to modify the size of of a Cassandra StatefulSet. name: cassandra namespace: default resourceVersion: "323" - selfLink: /apis/apps/v1beta1/namespaces/default/statefulsets/cassandra + selfLink: /apis/apps/v1/namespaces/default/statefulsets/cassandra uid: 7a219483-6185-11e6-a910-42010a8a0fc0 spec: replicas: 3