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:
@@ -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.
|
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
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-deployment
|
name: nginx-deployment
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: ReplicaSet
|
kind: ReplicaSet
|
||||||
metadata:
|
metadata:
|
||||||
name: frontend
|
name: frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user