Update the workloads API versions to 1.9 for rest of the docs (#7099)

* Update the workloads API versions to 1.9 for rest of the docs

* Remove comments per CR feedback

* Add a comment to be clear about which versions will work with the example
This commit is contained in:
Kai Chen 2018-02-02 07:40:04 +08:00 committed by k8s-ci-robot
parent 8828567afd
commit f15d03a1f6
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ talk to the API server. Accounts may be explicitly associated with pods using th
NOTE: `serviceAccountName` is usually omitted because this is done automatically.
```
apiVersion: apps/v1beta2
apiVersion: apps/v1 # this apiVersion is relevant as of Kubernetes 1.9
kind: Deployment
metadata:
name: nginx-deployment

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: frontend