Consolidate YAML files [part-11] (#9363)

This PR relocates some of the YAML files used by the administer cluster
topic. One yaml file not used is deleted.
This commit is contained in:
Qiming
2018-07-04 04:39:21 +08:00
committed by k8s-ci-robot
parent 9b81aa7ccd
commit 4962ffabbf
35 changed files with 85 additions and 95 deletions
@@ -38,12 +38,12 @@ kubectl create namespace quota-object-example
Here is the configuration file for a ResourceQuota object:
{{< code file="quota-objects.yaml" >}}
{{< codenew file="admin/resource/quota-objects.yaml" >}}
Create the ResourceQuota:
```shell
kubectl create -f https://k8s.io/docs/tasks/administer-cluster/quota-objects.yaml --namespace=quota-object-example
kubectl create -f https://k8s.io/examples/admin/resource/quota-objects.yaml --namespace=quota-object-example
```
View detailed information about the ResourceQuota:
@@ -72,12 +72,12 @@ status:
Here is the configuration file for a PersistentVolumeClaim object:
{{< code file="quota-objects-pvc.yaml" >}}
{{< codenew file="admin/resource/quota-objects-pvc.yaml" >}}
Create the PersistentVolumeClaim:
```shell
kubectl create -f https://k8s.io/docs/tasks/administer-cluster/quota-objects-pvc.yaml --namespace=quota-object-example
kubectl create -f https://k8s.io/examples/admin/resource/quota-objects-pvc.yaml --namespace=quota-object-example
```
Verify that the PersistentVolumeClaim was created:
@@ -97,12 +97,12 @@ pvc-quota-demo Pending
Here is the configuration file for a second PersistentVolumeClaim:
{{< code file="quota-objects-pvc-2.yaml" >}}
{{< codenew file="admin/resource/quota-objects-pvc-2.yaml" >}}
Attempt to create the second PersistentVolumeClaim:
```shell
kubectl create -f https://k8s.io/docs/tasks/administer-cluster/quota-objects-pvc-2.yaml --namespace=quota-object-example
kubectl create -f https://k8s.io/examples/admin/resource/quota-objects-pvc-2.yaml --namespace=quota-object-example
```
The output shows that the second PersistentVolumeClaim was not created,