mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
Now that we have a good number of longer exercises, it makes sense to rename the shorter demos/labs into 'labs' to avoid confusion between the two.
561 B
561 B
Scaling a deployment
- We will start with an easy one: the
workerdeployment
.lab[
- Open two new terminals to check what's going on with pods and deployments:
kubectl get pods -w kubectl get deployments -w
- Now, create more
workerreplicas:kubectl scale deploy/worker --replicas=10
]
After a few seconds, the graph in the web UI should show up.
(And peak at 10 hashes/second, just like when we were running on a single one.)