Combine the create
and scale
commands together (#369)
This commit is contained in:
parent
8e691b5681
commit
e83fa514cb
@ -492,9 +492,7 @@ The selector doesn't match the label (cache vs cachy). To solve it, fix cachy so
|
|||||||
<details>
|
<details>
|
||||||
<summary>Create a deployment called "pluck" using the image "redis" and make sure it runs 5 replicas</summary><br><b>
|
<summary>Create a deployment called "pluck" using the image "redis" and make sure it runs 5 replicas</summary><br><b>
|
||||||
|
|
||||||
`kubectl create deployment pluck --image=redis`
|
`kubectl create deployment pluck --image=redis --replicas=5`
|
||||||
|
|
||||||
`kubectl scale deployment pluck --replicas=5`
|
|
||||||
|
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user