Skip to Main Content
The DevOps 2.2 Toolkit
book

The DevOps 2.2 Toolkit

by Viktor Farcic
March 2018
Intermediate to advanced content levelIntermediate to advanced
360 pages
7h 52m
English
Packt Publishing
Content preview from The DevOps 2.2 Toolkit

Preventing the scaling disaster

On the first look, the script we created works correctly. Doesn't it?. I've seen similar scripts in other places, and there is only one thing I have to say. Do not run this pipeline in production!!! It is too dangerous. It can easily crash your entire cluster or make your service disappear. Can you guess why?

Let us imagine the following situation. Prometheus detects that certain threshold is reached (for example, memory utilization, response time, and so on) and send a notification to Alertmanager. It sends a build request to Jenkins which, in turn, scales the service by increasing the number of replicas by one. So far, so good.

What happens if scaling does not resolve the problem? What if the threshold reached ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The DevOps 2.4 Toolkit

The DevOps 2.4 Toolkit

Viktor Farcic

Publisher Resources

ISBN: 9781788991278Supplemental Content