From 9d23e518a5222250cfbc4480c36e1689114ad99a Mon Sep 17 00:00:00 2001 From: "Brett C. Dudo" Date: Mon, 13 May 2024 13:57:10 -0700 Subject: [PATCH] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a04f661..c35359b 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,9 @@ Here is the list of supported annotations: * `k8s.cronitor.io/env` - Override the environment for this CronJob. * `k8s.cronitor.io/tags` - Comma-separated list of tags for this cron job for use within the Cronitor application. * `k8s.cronitor.io/cronitor-id` - Manually specify an ID for your monitor in Cronitor rather than autogenerating a new one. Use this when you already have jobs you are tracking in Cronitor that you want to keep the history of and you are migrating to the Cronitor agent, or if you are deleting and recreating your `CronJob` objects (e.g., you are migrating clusters or namespaces). You may also use this if you have a single CronJob that you run in different environments (staging, prod, etc.) and you want them all to report to the same monitor in Cronitor in different Cronitor environments. +* `k8s.cronitor.io/id-inference` - Specify how the Cronitor ID is determined. `k8s` uses the Kubernetes UID. `name` hashes the name of the job itself (which is useful when you want standardization across environments) * `k8s.cronitor.io/cronitor-name` - Manually specify the name within the Cronitor dashboard for this CronJob. Please note if you are using `k8s.cronitor.io/cronitor-id` you must ensure that CronJobs with the same ID also have the same name, or the different names will overwrite each other. +* `k8s.cronitor.io/name-prefix` - Provides control over the prefix of the name. `none` uses the name as-is. `namespace` prepends the Kubernetes namespace. Any other string provided will be prepended to the name as-is. * `k8s.cronitor.io/cronitor-notify` - Comma-separated list of Notification List `key`s to assign alert destinations. * `k8s.cronitor.io/cronitor-group` - Group `key` attribute for grouping the monitor within the Cronitor application. * `k8s.cronitor.io/cronitor-grace-seconds` - The number of seconds that Cronitor should wait after the scheduled execution time before sending an alert. If the monitor is healthy at the end of the period no alert will be sent. @@ -80,5 +82,3 @@ Yes, you definitely can! To exclude all of your Kubernetes [1]: charts/cronitor-kubernetes/values.yaml - -