Add deprecation warning on PetSet guide.
This commit is contained in:
@@ -1,10 +1,23 @@
|
|||||||
---
|
---
|
||||||
assignees:
|
assignees:
|
||||||
- bprashanth
|
- bprashanth
|
||||||
|
- enisoc
|
||||||
|
- erictune
|
||||||
- foxish
|
- foxish
|
||||||
|
- janetkuo
|
||||||
|
- kow3ns
|
||||||
|
- smarterclayton
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Starting in Kubernetes version 1.5, PetSet has been renamed to
|
||||||
|
[StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/).
|
||||||
|
To use (or continue to use) PetSet in Kubernetes 1.5 or higher, you must
|
||||||
|
[migrate your existing PetSets to StatefulSets](/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/).
|
||||||
|
|
||||||
|
__This document has been deprecated__, but can still apply if you're using
|
||||||
|
Kubernetes version 1.4 or earlier.
|
||||||
|
|
||||||
* TOC
|
* TOC
|
||||||
{:toc}
|
{:toc}
|
||||||
|
|
||||||
@@ -424,4 +437,8 @@ Deploying one RC of size 1/Service per pod is a popular alternative, as is simpl
|
|||||||
|
|
||||||
## Next steps
|
## Next steps
|
||||||
|
|
||||||
The deployment and maintenance of stateful applications is a vast topic. The next step is to explore cluster bootstrapping and initialization, [here](/docs/user-guide/petset/bootstrapping/).
|
* Learn about [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/),
|
||||||
|
the replacement for PetSet introduced in Kubernetes version 1.5.
|
||||||
|
* [Migrate your existing PetSets to StatefulSets](/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/)
|
||||||
|
when upgrading to Kubernetes version 1.5 or higher.
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: nginx
|
app: nginx
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1beta1
|
apiVersion: apps/v1alpha1
|
||||||
kind: StatefulSet
|
kind: PetSet
|
||||||
metadata:
|
metadata:
|
||||||
name: web
|
name: web
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
Reference in New Issue
Block a user