From 4f48978b007090c05933f7094e07c58cc4d6afd1 Mon Sep 17 00:00:00 2001 From: Federico Maleh Date: Fri, 23 Jan 2026 14:39:46 -0300 Subject: [PATCH 1/2] Update scope definitions for azure-aro, azure, k8s and scheduled_task - Add description field to notification-channel.json.tpl files - Update default cpu_millicores from 500 to 100 - Update selectors: category to "Scope" and sub_category to specific values Co-Authored-By: Claude Opus 4.5 --- azure-aro/specs/notification-channel.json.tpl | 1 + azure-aro/specs/service-spec.json.tpl | 6 +++--- azure/specs/notification-channel.json.tpl | 1 + azure/specs/service-spec.json.tpl | 6 +++--- k8s/specs/notification-channel.json.tpl | 1 + k8s/specs/service-spec.json.tpl | 6 +++--- scheduled_task/specs/notification-channel.json.tpl | 1 + scheduled_task/specs/service-spec.json.tpl | 6 +++--- 8 files changed, 16 insertions(+), 12 deletions(-) diff --git a/azure-aro/specs/notification-channel.json.tpl b/azure-aro/specs/notification-channel.json.tpl index f1db58e5..6f5ba36c 100644 --- a/azure-aro/specs/notification-channel.json.tpl +++ b/azure-aro/specs/notification-channel.json.tpl @@ -1,6 +1,7 @@ { "nrn": "{{ env.Getenv "NRN" }}", "status": "active", + "description": "Channel to handle ARO Containers scopes", "type": "agent", "source": [ "telemetry", diff --git a/azure-aro/specs/service-spec.json.tpl b/azure-aro/specs/service-spec.json.tpl index d18a2d7c..b05f9b4f 100644 --- a/azure-aro/specs/service-spec.json.tpl +++ b/azure-aro/specs/service-spec.json.tpl @@ -476,7 +476,7 @@ "cpu_millicores":{ "type":"integer", "title":"CPU Millicores", - "default":500, + "default":100, "maximum":4000, "minimum":100, "description":"Amount of CPU to allocate (in millicores, 1000m = 1 CPU core)" @@ -630,10 +630,10 @@ }, "name": "Containers", "selectors": { - "category": "any", + "category": "Scope", "imported": false, "provider": "any", - "sub_category": "any" + "sub_category": "Containers" }, "type": "scope", "use_default_actions": false, diff --git a/azure/specs/notification-channel.json.tpl b/azure/specs/notification-channel.json.tpl index f1db58e5..74be3439 100644 --- a/azure/specs/notification-channel.json.tpl +++ b/azure/specs/notification-channel.json.tpl @@ -1,6 +1,7 @@ { "nrn": "{{ env.Getenv "NRN" }}", "status": "active", + "description": "Channel to handle Azure Containers scopes", "type": "agent", "source": [ "telemetry", diff --git a/azure/specs/service-spec.json.tpl b/azure/specs/service-spec.json.tpl index ca47ae5d..2a483e40 100644 --- a/azure/specs/service-spec.json.tpl +++ b/azure/specs/service-spec.json.tpl @@ -476,7 +476,7 @@ "cpu_millicores":{ "type":"integer", "title":"CPU Millicores", - "default":500, + "default":100, "maximum":4000, "minimum":100, "description":"Amount of CPU to allocate (in millicores, 1000m = 1 CPU core)" @@ -630,10 +630,10 @@ }, "name": "Containers", "selectors": { - "category": "any", + "category": "Scope", "imported": false, "provider": "any", - "sub_category": "any" + "sub_category": "Containers" }, "type": "scope", "use_default_actions": false, diff --git a/k8s/specs/notification-channel.json.tpl b/k8s/specs/notification-channel.json.tpl index ee3c7986..30fad0e3 100644 --- a/k8s/specs/notification-channel.json.tpl +++ b/k8s/specs/notification-channel.json.tpl @@ -1,6 +1,7 @@ { "nrn": "{{ env.Getenv "NRN" }}", "status": "active", + "description": "Channel to handle Containers scopes", "type": "agent", "source": [ "telemetry", diff --git a/k8s/specs/service-spec.json.tpl b/k8s/specs/service-spec.json.tpl index ca47ae5d..2a483e40 100644 --- a/k8s/specs/service-spec.json.tpl +++ b/k8s/specs/service-spec.json.tpl @@ -476,7 +476,7 @@ "cpu_millicores":{ "type":"integer", "title":"CPU Millicores", - "default":500, + "default":100, "maximum":4000, "minimum":100, "description":"Amount of CPU to allocate (in millicores, 1000m = 1 CPU core)" @@ -630,10 +630,10 @@ }, "name": "Containers", "selectors": { - "category": "any", + "category": "Scope", "imported": false, "provider": "any", - "sub_category": "any" + "sub_category": "Containers" }, "type": "scope", "use_default_actions": false, diff --git a/scheduled_task/specs/notification-channel.json.tpl b/scheduled_task/specs/notification-channel.json.tpl index f1db58e5..080fdef7 100644 --- a/scheduled_task/specs/notification-channel.json.tpl +++ b/scheduled_task/specs/notification-channel.json.tpl @@ -1,6 +1,7 @@ { "nrn": "{{ env.Getenv "NRN" }}", "status": "active", + "description": "Channel to handle Scheduled tasks scopes", "type": "agent", "source": [ "telemetry", diff --git a/scheduled_task/specs/service-spec.json.tpl b/scheduled_task/specs/service-spec.json.tpl index f6ce2009..34482a24 100644 --- a/scheduled_task/specs/service-spec.json.tpl +++ b/scheduled_task/specs/service-spec.json.tpl @@ -87,7 +87,7 @@ "type": "number" } ], - "default": 500, + "default": 100, "description": "Amount of CPU to allocate (in millicores, 1000m = 1 CPU core)", "title": "CPU Millicores", "type": "integer" @@ -285,10 +285,10 @@ "dimensions": {}, "name": "Scheduled task", "selectors": { - "category": "any", + "category": "Scope", "imported": false, "provider": "any", - "sub_category": "any" + "sub_category": "Scheduled task" }, "type": "scope", "use_default_actions": false, From 19f9513af76fd50398294f0f79e4d8b0c8ce51d5 Mon Sep 17 00:00:00 2001 From: Federico Maleh Date: Fri, 23 Jan 2026 14:44:44 -0300 Subject: [PATCH 2/2] Update selectors.provider to Agent Co-Authored-By: Claude Opus 4.5 --- azure-aro/specs/service-spec.json.tpl | 2 +- azure/specs/service-spec.json.tpl | 2 +- k8s/specs/service-spec.json.tpl | 2 +- scheduled_task/specs/service-spec.json.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-aro/specs/service-spec.json.tpl b/azure-aro/specs/service-spec.json.tpl index b05f9b4f..a3a495ac 100644 --- a/azure-aro/specs/service-spec.json.tpl +++ b/azure-aro/specs/service-spec.json.tpl @@ -632,7 +632,7 @@ "selectors": { "category": "Scope", "imported": false, - "provider": "any", + "provider": "Agent", "sub_category": "Containers" }, "type": "scope", diff --git a/azure/specs/service-spec.json.tpl b/azure/specs/service-spec.json.tpl index 2a483e40..562a1d9e 100644 --- a/azure/specs/service-spec.json.tpl +++ b/azure/specs/service-spec.json.tpl @@ -632,7 +632,7 @@ "selectors": { "category": "Scope", "imported": false, - "provider": "any", + "provider": "Agent", "sub_category": "Containers" }, "type": "scope", diff --git a/k8s/specs/service-spec.json.tpl b/k8s/specs/service-spec.json.tpl index 2a483e40..562a1d9e 100644 --- a/k8s/specs/service-spec.json.tpl +++ b/k8s/specs/service-spec.json.tpl @@ -632,7 +632,7 @@ "selectors": { "category": "Scope", "imported": false, - "provider": "any", + "provider": "Agent", "sub_category": "Containers" }, "type": "scope", diff --git a/scheduled_task/specs/service-spec.json.tpl b/scheduled_task/specs/service-spec.json.tpl index 34482a24..b5e07068 100644 --- a/scheduled_task/specs/service-spec.json.tpl +++ b/scheduled_task/specs/service-spec.json.tpl @@ -287,7 +287,7 @@ "selectors": { "category": "Scope", "imported": false, - "provider": "any", + "provider": "Agent", "sub_category": "Scheduled task" }, "type": "scope",