Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qingjie authored May 1, 2019
1 parent 4d33a1e commit 4ccbce8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,27 @@ spec:
services: "10"
services.loadbalancers: "2"
```

```
cat resourcequotas/resourcequota.yml
kubectl create -f resourcequotas/resourcequota.yml
cat resourcequotas/helloworld-no-quotas.yml
kubectl create -f resourcequotas/helloworld-no-quotas.yml
kubectl get deploy --namespace=myspace
kubectl get rs --namespace=myspace
kubectl describe rs/... --namespace=myspace
kubectl delete deploy/helloworld-deployment --namespace=myspace
cat resourcequotas/helloworld-with-quotas.yml
kubectl create -f resourcequotas/helloworld-with-quotas.yml
kubectl get pod --namespace=myspace
kubectl get rs --namespace=myspace
kubectl describe rs/... --namespace=myspace
kubectl get quota --namespace=myspace
kubectl describe quota/compute-quota --namespace=myspace
kubectl delete deploy/helloworld-deployment --namespace=myspace
cat resourcequotas/defaults.yml
kubectl create -f resourcesquotas/default.yml
kubectl describe limits limits --namespace=myspace
kubectl create -f resourcequotas/helloworld-no-quotas.yml
kubectl get pods --namespace=myspace
```

0 comments on commit 4ccbce8

Please sign in to comment.