Update StatefulSet Basics for 1.8 release (#5398)

This commit is contained in:
Kenneth Owens
2017-09-13 14:49:57 -07:00
committed by Steve Perry
parent 3810cb23cb
commit 90d95e7ab2
3 changed files with 20 additions and 93 deletions
+4 -1
View File
@@ -13,13 +13,16 @@ spec:
selector:
app: nginx
---
apiVersion: apps/v1beta1
apiVersion: apps/v1beta2
kind: StatefulSet
metadata:
name: web
spec:
serviceName: "nginx"
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels: