Hello,
I’m new here so apologies if I’m breaking general etiquette. My google-fu and YouTube searches have left me empty handed on this question. For a school project of mine, I wanted to create a DockerSwarm that hosted a website. The ultimate goal was to also implement Traefik proxy and make it so my swarm dynamically scales up and down the number of replicas the service has based on its load. There are two things I’m looking for answers for:
-
1.Are there commands to change the number of replicas in a service at runtime?
-
2 How can I monitor the requests/load to invoke a command to scale as mentioned in question #1
Thanks,
Crocodile