Learn KOP - Alerts & Notifications - Rafay Product Documentation

Alerts

What You Will Do

This is Part 1 of a multi-part, self-paced quick start exercise. In this part, you will create a custom blueprint and apply it on your cluster. Next you will simulate an error condition on your cluster to see how the platform monitors, generates and centrally aggregates alerts.


Step 1: Create Blueprint


Step 2: Apply Blueprint to the cluster


Step 3: Simulate a Failure Condition


  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: nginx-deployment
  spec:
    selector:
      matchLabels:
        app: nginx
    replicas: 2 # tells deployment to run 2 pods matching the template
    template:
      metadata:
        labels:
          app: nginx
      spec:
        containers:
        - name: nginx
          image: nginx-error:1.14.2
          ports:
          - containerPort: 80

In a few minutes, the "visibility and monitoring" add-on deployed on the cluster by the platform will automatically detect the error condition and generate an alert.

Important

Alerts will be automatically cleared by the platform if it determines that the error condition is not detected anymore.


Recap

Congratulations! At this point, you have successfully simulated an error condition with a workload on your managed cluster and used the platform to centrally monitor and aggregate the alerts.