From 1707856246ed91705a87671b4b0fd4b3f183090b Mon Sep 17 00:00:00 2001 From: Razz4780 Date: Mon, 27 Jan 2025 12:23:36 +0100 Subject: [PATCH] Updated schema and configuration.md --- mirrord-schema.json | 2 +- mirrord/config/configuration.md | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mirrord-schema.json b/mirrord-schema.json index dee629fe493..0cebfb20ce9 100644 --- a/mirrord-schema.json +++ b/mirrord-schema.json @@ -461,7 +461,7 @@ }, "tolerations": { "title": "agent.tolerations {#agent-tolerations}", - "description": "Set pod tolerations. (not with ephemeral agents) Default is ```json [ { \"operator\": \"Exists\" } ] ```\n\nSet to an empty array to have no tolerations at all", + "description": "Set pod tolerations. (not with ephemeral agents).\n\nDefaults to `operator: Exists`.\n\n```json [ { \"key\": \"meow\", \"operator\": \"Exists\", \"effect\": \"NoSchedule\" } ] ```\n\nSet to an empty array to have no tolerations at all", "type": [ "array", "null" diff --git a/mirrord/config/configuration.md b/mirrord/config/configuration.md index e8f3f43c437..20d3dbc0e0e 100644 --- a/mirrord/config/configuration.md +++ b/mirrord/config/configuration.md @@ -394,12 +394,14 @@ Defaults to `60`. ### agent.tolerations {#agent-tolerations} -Set pod tolerations. (not with ephemeral agents) -Default is +Set pod tolerations. (not with ephemeral agents). + +Defaults to `operator: Exists`. + ```json [ { - "operator": "Exists" + "key": "meow", "operator": "Exists", "effect": "NoSchedule" } ] ```