From 3ea77dc09f17742ab95ed794d1e07f55c5eb7e9f Mon Sep 17 00:00:00 2001 From: Ganga Mahesh Siddem Date: Mon, 31 Jan 2022 12:44:12 -0800 Subject: [PATCH 1/3] release updates for ciprod01312022 release --- ReleaseNotes.md | 33 ++++++++++++++++++++++ charts/azuremonitor-containers/values.yaml | 4 +-- kubernetes/linux/Dockerfile | 2 +- kubernetes/omsagent.yaml | 9 +++--- kubernetes/windows/Dockerfile | 2 +- 5 files changed, 41 insertions(+), 9 deletions(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index c8a147044..0ca8788e9 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -11,6 +11,39 @@ additional questions or comments. Note : The agent version(s) below has dates (ciprod), which indicate the agent build dates (not release dates) +### 1/31/2022 - +##### Version microsoft/oms:ciprod01312022 Version mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod01312022 (linux) +##### Version microsoft/oms:win-ciprod01312022 Version mcr.microsoft.com/azuremonitor/containerinsights/ciprod:win-ciprod01312022 (windows) +##### Code change log +- Linux Agent + - Configurable DB name via configmap for ADX (default DB name:containerinsights) + - Default to cAdvisor port to 10250 and container runtime to Containerd + - Update AgentVersion annotation in yamls (omsagent and chart) with released MDSD agent version + - Incresing windows agent CPU limits from 200m to 500m + - Ignore new disk path that comes from containerd starting with k8s version >= 1.19.x, which was adding unnecessary InsightsMetrics logs and increasing cost + - Route the AI SDK logs to log file instead of stdout + - Telemetry to collect ContainerLog Records with empty Timestamp +- Windows Agent + - Update to use FluentBit for container log collection + - Telemetry to track if any of the variable fields of windows container inventory records has field size >= 64KB + - Add windows os check in in_cadvisor_perf plugin to avoid making call in MDSD in MSI auth mode + - Bug fix for placeholder_hostname in telegraf metrics +- Common + - Upgrade FluentD gem version from 1.12.2 to 1.14.2 + - Upgrade Telegraf version from 1.18.0 to 1.20.3 + - Fix for exception in node allocatable + - Telemetry to track nodeCount & containerCount +- Other changes + - Updates to Arc K8s Extension ARM Onboarding templates with GA API version + - Added ARM Templates for MSI Based Onboarding for AKS + - Conformance test updates relates to sidecar container + - Troubelshooting script to detect issues related to Arc K8s Extension onboarding + - Remove the dependency SP for CDPX since configured to use MSI + - Linux Agent Image build improvements + - Update msys2 version to fix windows agent build + - Add explicit exit code 1 across all the PS scripts + + ### 10/13/2021 - ##### Version microsoft/oms:ciprod10132021 Version mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021 (linux) ##### Version microsoft/oms:win-ciprod10132021 Version mcr.microsoft.com/azuremonitor/containerinsights/ciprod:win-ciprod10132021 (windows) diff --git a/charts/azuremonitor-containers/values.yaml b/charts/azuremonitor-containers/values.yaml index d5d7ad2e1..0456eb625 100644 --- a/charts/azuremonitor-containers/values.yaml +++ b/charts/azuremonitor-containers/values.yaml @@ -21,8 +21,8 @@ Azure: omsagent: image: repo: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod" - tag: "ciprod10132021" - tagWindows: "win-ciprod10132021" + tag: "ciprod01312022" + tagWindows: "win-ciprod01312022" pullPolicy: IfNotPresent dockerProviderVersion: "16.0.0-0" agentVersion: "1.10.0.1" diff --git a/kubernetes/linux/Dockerfile b/kubernetes/linux/Dockerfile index 9164abc9c..f3a9efd7a 100644 --- a/kubernetes/linux/Dockerfile +++ b/kubernetes/linux/Dockerfile @@ -17,7 +17,7 @@ ENV RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR 0.9 RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y libc-bin wget openssl curl sudo python-ctypes init-system-helpers net-tools rsyslog cron vim dmidecode apt-transport-https gnupg && rm -rf /var/lib/apt/lists/* COPY setup.sh main.sh defaultpromenvvariables defaultpromenvvariables-rs defaultpromenvvariables-sidecar mdsd.xml envmdsd logrotate.conf $tmpdir/ -ARG IMAGE_TAG=ciprod10132021 +ARG IMAGE_TAG=ciprod01312022 ENV AGENT_VERSION ${IMAGE_TAG} WORKDIR ${tmpdir} diff --git a/kubernetes/omsagent.yaml b/kubernetes/omsagent.yaml index 248276a08..28c8803c6 100644 --- a/kubernetes/omsagent.yaml +++ b/kubernetes/omsagent.yaml @@ -368,7 +368,7 @@ spec: value: "3" containers: - name: omsagent - image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021" + image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod01312022" imagePullPolicy: IfNotPresent resources: limits: @@ -454,7 +454,7 @@ spec: timeoutSeconds: 15 #Only in sidecar scraping mode # - name: omsagent-prometheus - # image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021" + # image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod01312022" # imagePullPolicy: IfNotPresent # resources: # limits: @@ -603,7 +603,7 @@ spec: serviceAccountName: omsagent containers: - name: omsagent - image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021" + image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod01312022" imagePullPolicy: IfNotPresent resources: limits: @@ -776,7 +776,7 @@ spec: value: "3" containers: - name: omsagent-win - image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:win-ciprod10132021" + image: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod:win-ciprod01312022" imagePullPolicy: IfNotPresent resources: limits: @@ -933,4 +933,3 @@ spec: names: plural: healthstates kind: HealthState - \ No newline at end of file diff --git a/kubernetes/windows/Dockerfile b/kubernetes/windows/Dockerfile index 55bedf7f5..6a2785e69 100644 --- a/kubernetes/windows/Dockerfile +++ b/kubernetes/windows/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER OMSContainers@microsoft.com LABEL vendor=Microsoft\ Corp \ com.microsoft.product="Azure Monitor for containers" -ARG IMAGE_TAG=win-ciprod10132021 +ARG IMAGE_TAG=win-ciprod01312022 # Do not split this into multiple RUN! # Docker creates a layer for every RUN-Statement From 9078731b76a3e4ab094c1531c06d17208431d785 Mon Sep 17 00:00:00 2001 From: Ganga Mahesh Siddem Date: Mon, 31 Jan 2022 12:47:30 -0800 Subject: [PATCH 2/3] release updates for ciprod01312022 release --- ReleaseNotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 0ca8788e9..9d598b0d1 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -24,7 +24,7 @@ Note : The agent version(s) below has dates (ciprod), which indicate t - Route the AI SDK logs to log file instead of stdout - Telemetry to collect ContainerLog Records with empty Timestamp - Windows Agent - - Update to use FluentBit for container log collection + - Update to use FluentBit for container log collection and removed FluentD dependency for container log collection - Telemetry to track if any of the variable fields of windows container inventory records has field size >= 64KB - Add windows os check in in_cadvisor_perf plugin to avoid making call in MDSD in MSI auth mode - Bug fix for placeholder_hostname in telegraf metrics From 1cf95cad7bfd3495cfee3aa4073524a2b2889514 Mon Sep 17 00:00:00 2001 From: Ganga Mahesh Siddem Date: Mon, 31 Jan 2022 13:27:13 -0800 Subject: [PATCH 3/3] fix pr feedback --- ReleaseNotes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 9d598b0d1..67f144608 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -23,11 +23,13 @@ Note : The agent version(s) below has dates (ciprod), which indicate t - Ignore new disk path that comes from containerd starting with k8s version >= 1.19.x, which was adding unnecessary InsightsMetrics logs and increasing cost - Route the AI SDK logs to log file instead of stdout - Telemetry to collect ContainerLog Records with empty Timestamp + - FluentBit version upgrade from 1.6.8 to 1.7.8 - Windows Agent - Update to use FluentBit for container log collection and removed FluentD dependency for container log collection - Telemetry to track if any of the variable fields of windows container inventory records has field size >= 64KB - Add windows os check in in_cadvisor_perf plugin to avoid making call in MDSD in MSI auth mode - Bug fix for placeholder_hostname in telegraf metrics + - FluentBit version upgrade from 1.4.0 to 1.7.8 - Common - Upgrade FluentD gem version from 1.12.2 to 1.14.2 - Upgrade Telegraf version from 1.18.0 to 1.20.3