mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-21 00:02:59 +00:00
'keys' does not handle special keys (like ^J) anymore. Instead, we should use `key`, which will pass its entire argument to tmux, without any processing. It is therefore possible to do something like: ```key ^C``` Or ```key Escape``` Most (if not all) calls to special keys have been converted to use 'key' instead of 'keys'. Action ```copypaste``` has been deprecated in favor of three separate actions: ```copy REGEX``` (searches the regex in the active pane, and if found, places it in an internal clipboard) ```paste``` (inserts the content of the clipboard as keystrokes) ```check``` (forces a status check) Also, a 'tmux' command has been added. It allows to do stuff like: ```tmux split-pane -v```
566 B
566 B
Scaling a deployment
- We will start with an easy one: the
workerdeployment
.exercise[
- 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.)