added limits to walkthrough (#15707)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
8eba965dff
commit
c2b0321dbf
@@ -65,7 +65,7 @@ It defines an index.php page which performs some CPU intensive computations:
|
|||||||
First, we will start a deployment running the image and expose it as a service:
|
First, we will start a deployment running the image and expose it as a service:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl run php-apache --image=k8s.gcr.io/hpa-example --requests=cpu=200m --expose --port=80
|
kubectl run php-apache --image=k8s.gcr.io/hpa-example --requests=cpu=200m --limits=cpu=500m --expose --port=80
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
service/php-apache created
|
service/php-apache created
|
||||||
|
|||||||
Reference in New Issue
Block a user