Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Rancher Deep Dive
  • Table Of Contents Toc
Rancher Deep Dive

Rancher Deep Dive

By : Matthew Mattox
4.4 (7)
close
close
Rancher Deep Dive

Rancher Deep Dive

4.4 (7)
By: Matthew Mattox

Overview of this book

Knowing how to use Rancher enables you to manage multiple clusters and applications without being locked into a vendor’s platform. This book will guide you through Rancher’s capabilities while deepening your understanding of Kubernetes and helping you to take your applications to a new level. The book begins by introducing you to Rancher and Kubernetes, helping you to learn and implement best practices. As you progress through the chapters, you’ll understand the strengths and limitations of Rancher and Kubernetes and discover all the different ways to deploy Rancher. You’ll also find out how to design and deploy Kubernetes clusters to match your requirements. The concluding chapters will show you how to set up a continuous integration and continuous deployment (CI/CD) pipeline for deploying applications into a Rancher cluster, along with covering supporting services such as image registries and Helm charts. By the end of this Kubernetes book, you’ll be able to confidently deploy your mission-critical production workloads on Rancher-managed Kubernetes clusters.
Table of Contents (25 chapters)
close
close
1
Part 1 – Rancher Background and Architecture and Design
4
Part 2 – Installing Rancher
8
Part 3 – Deploying a Kubernetes Cluster
12
Part 4 – Getting Your Cluster Production-Ready
20
Part 5 – Deploying Your Applications

Creating alert rules in Prometheus

The Prometheus operator defines alert rules via the CRD PrometheusRule. At its core, all an alert is is an expression with a trigger. Let's look at the following example alert. This alert is from Longhorn, which we'll cover in the next chapter. As you can see, the expression is denoted by the expr field, which has a formula to take the actual size of the volume, divided by the capacity, and convert it to a percentage. Then, if that value is greater than 90%, the expression is true, which will trigger an alert. The description section is mainly for the end user. Still, it's important to note that you can have variables inside the description because the alert will contain the same explanation as the summary, typically used for the subject line. For example, when sending an email alert, the email's subject will be set to the subject of the alert, with the body of the email being the description.

Here is an example of an alert...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Rancher Deep Dive
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon