From a166d32ba530ca43a1b69b7a783255e93e757cf9 Mon Sep 17 00:00:00 2001 From: zanejohnson-azure Date: Mon, 1 Jun 2026 14:16:15 -0700 Subject: [PATCH] chore: remove unused container-azm-ms-osmconfig ConfigMap OSM (Open Service Mesh) scraping support in ama-logs is unused. Telemetry over the last 30 days shows 33 clusters with the ConfigMap mounted but zero with osmNamespaceCount > 0 (no cluster has any monitor_namespaces configured). OSM itself was archived by CNCF in early 2024. This commit removes the sample ConfigMap manifest as a first step toward deprecating OSM support. Code paths in the agent (tomlparser-osm-config.rb, in_kube_nodes.rb, telemetry.go, telegraf configs, Helm volume mounts) are left in place and can be removed in a follow-up. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- kubernetes/container-azm-ms-osmconfig.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 kubernetes/container-azm-ms-osmconfig.yaml diff --git a/kubernetes/container-azm-ms-osmconfig.yaml b/kubernetes/container-azm-ms-osmconfig.yaml deleted file mode 100644 index 05b7ac3ed..000000000 --- a/kubernetes/container-azm-ms-osmconfig.yaml +++ /dev/null @@ -1,17 +0,0 @@ -kind: ConfigMap -apiVersion: v1 -data: - schema-version: - #string.used by agent to parse OSM config. supported versions are {v1}. Configs with other schema versions will be rejected by the agent. - v1 - config-version: - #string.used by OSM addon team to keep track of this config file's version in their source control/repository (max allowed 10 chars, other chars will be truncated) - ver1 - osm-metric-collection-configuration: |- - # OSM metric collection settings - [osm_metric_collection_configuration.settings] - # Namespaces to monitor - # monitor_namespaces = ["namespace1", "namespace2"] -metadata: - name: container-azm-ms-osmconfig - namespace: kube-system