diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a2d3e1..fbc3575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## k8s/1.3.6 +- Upgrade cloduwatch-agent image version to cloudwatch-agent:1.247347.6b250880 +- Fix container insight pod metric missing when using containerd runtime ## k8s/1.3.4 - Upgrade cloudwatch-agent image version to cloudwatch-agent:1.247347.4b250525 - Fix container insight pod metric missing when using docker systemd cgroup driver diff --git a/container-insights-manifest-update.sh b/container-insights-manifest-update.sh index ec6b758..1d40360 100755 --- a/container-insights-manifest-update.sh +++ b/container-insights-manifest-update.sh @@ -4,8 +4,8 @@ cd "$(dirname "$0")" k8sDirPrefix="./k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring" ecsDirPrefix="./ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric" -newK8sVersion="k8s/1.3.5" -agentVersion="amazon/cloudwatch-agent:1.247347.5b250583" +newK8sVersion="k8s/1.3.6" +agentVersion="amazon/cloudwatch-agent:1.247347.6b250880" fluentdVersion="fluent/fluentd-kubernetes-daemonset:v1.7.3-debian-cloudwatch-1.0" fluentBitVersion="amazon/aws-for-fluent-bit:2.10.0" diff --git a/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cloudformation-quickstart/cwagent-ecs-instance-metric-cfn.json b/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cloudformation-quickstart/cwagent-ecs-instance-metric-cfn.json index 8e6408a..74d5eed 100644 --- a/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cloudformation-quickstart/cwagent-ecs-instance-metric-cfn.json +++ b/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cloudformation-quickstart/cwagent-ecs-instance-metric-cfn.json @@ -105,7 +105,7 @@ "ContainerDefinitions": [ { "Name": "cloudwatch-agent", - "Image": "amazon/cloudwatch-agent:1.247347.5b250583", + "Image": "amazon/cloudwatch-agent:1.247347.6b250880", "MountPoints": [ { "ReadOnly": true, diff --git a/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cwagent-ecs-instance-metric.json b/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cwagent-ecs-instance-metric.json index 54b7732..183eb42 100644 --- a/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cwagent-ecs-instance-metric.json +++ b/ecs-task-definition-templates/deployment-mode/daemon-service/cwagent-ecs-instance-metric/cwagent-ecs-instance-metric.json @@ -6,7 +6,7 @@ "containerDefinitions": [ { "name": "cloudwatch-agent", - "image": "amazon/cloudwatch-agent:1.247347.5b250583", + "image": "amazon/cloudwatch-agent:1.247347.6b250880", "mountPoints": [ { "readOnly": true, diff --git a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-awsvpc.yaml b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-awsvpc.yaml index b3a28d7..6d9c839 100644 --- a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-awsvpc.yaml +++ b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-awsvpc.yaml @@ -224,7 +224,7 @@ Resources: NetworkMode: awsvpc ContainerDefinitions: - Name: cloudwatch-agent-prometheus - Image: amazon/cloudwatch-agent:1.247347.5b250583 + Image: amazon/cloudwatch-agent:1.247347.6b250880 Essential: true MountPoints: [] PortMappings: [] diff --git a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-bridge-host.yaml b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-bridge-host.yaml index 8fa5764..eac8176 100644 --- a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-bridge-host.yaml +++ b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart/cwagent-ecs-prometheus-metric-for-bridge-host.yaml @@ -219,7 +219,7 @@ Resources: NetworkMode: !Ref ECSNetworkMode ContainerDefinitions: - Name: cloudwatch-agent-prometheus - Image: amazon/cloudwatch-agent:1.247347.5b250583 + Image: amazon/cloudwatch-agent:1.247347.6b250880 Essential: true MountPoints: [] PortMappings: [] diff --git a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cwagent-prometheus-task-definition.json b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cwagent-prometheus-task-definition.json index 957138c..e881b41 100644 --- a/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cwagent-prometheus-task-definition.json +++ b/ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cwagent-prometheus-task-definition.json @@ -6,7 +6,7 @@ "containerDefinitions": [ { "name": "cloudwatch-agent-prometheus", - "image": "amazon/cloudwatch-agent:1.247347.5b250583", + "image": "amazon/cloudwatch-agent:1.247347.6b250880", "essential": true, "mountPoints": [ ], diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml index 13cb8af..c4397bf 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 #ports: # - containerPort: 8125 # hostPort: 8125 @@ -42,7 +42,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" # Please don't change the mountPath volumeMounts: - name: cwagentconfig diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit-compatible.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit-compatible.yaml index fb0cb63..55389ac 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit-compatible.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit-compatible.yaml @@ -318,7 +318,7 @@ spec: fieldRef: fieldPath: spec.nodeName - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" resources: limits: memory: 200Mi diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit.yaml index bcfbf96..275f3f0 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit/fluent-bit.yaml @@ -307,7 +307,7 @@ spec: fieldRef: fieldPath: spec.nodeName - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" resources: limits: memory: 200Mi diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd/fluentd.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd/fluentd.yaml index ed36763..c4d8d92 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd/fluentd.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd/fluentd.yaml @@ -391,7 +391,7 @@ spec: name: cluster-info key: cluster.name - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" resources: limits: memory: 400Mi diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluent-bit-quickstart.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluent-bit-quickstart.yaml index d4c7392..92c8b3f 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluent-bit-quickstart.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluent-bit-quickstart.yaml @@ -98,7 +98,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 #ports: # - containerPort: 8125 # hostPort: 8125 @@ -125,7 +125,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" # Please don't change the mountPath volumeMounts: - name: cwagentconfig @@ -323,6 +323,7 @@ data: Name systemd Tag dataplane.systemd.* Systemd_Filter _SYSTEMD_UNIT=docker.service + Systemd_Filter _SYSTEMD_UNIT=kubelet.service DB /var/fluent-bit/state/systemd.db Path /var/log/journal Read_From_Tail ${READ_FROM_TAIL} @@ -501,7 +502,7 @@ spec: fieldRef: fieldPath: spec.nodeName - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" resources: limits: memory: 200Mi diff --git a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml index c7d5ca8..3641f4f 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml @@ -98,7 +98,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 #ports: # - containerPort: 8125 # hostPort: 8125 @@ -125,7 +125,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" # Please don't change the mountPath volumeMounts: - name: cwagentconfig @@ -580,7 +580,7 @@ spec: name: cluster-info key: cluster.name - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" resources: limits: memory: 400Mi diff --git a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks-fargate.yaml b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks-fargate.yaml index 21edb62..0200c57 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks-fargate.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks-fargate.yaml @@ -398,7 +398,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 imagePullPolicy: Always resources: limits: @@ -410,7 +410,7 @@ spec: # Please don't change below envs env: - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" - name: RUN_IN_AWS value: "True" # Please don't change the mountPath diff --git a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks.yaml b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks.yaml index e80c6ac..716751b 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-eks.yaml @@ -449,7 +449,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 imagePullPolicy: Always resources: limits: @@ -461,7 +461,7 @@ spec: # Please don't change below envs env: - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" # Please don't change the mountPath volumeMounts: - name: prometheus-cwagentconfig diff --git a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-k8s.yaml b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-k8s.yaml index cf8f5b5..d638a54 100644 --- a/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-k8s.yaml +++ b/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/prometheus-k8s.yaml @@ -396,7 +396,7 @@ spec: spec: containers: - name: cloudwatch-agent - image: amazon/cloudwatch-agent:1.247347.5b250583 + image: amazon/cloudwatch-agent:1.247347.6b250880 imagePullPolicy: Always resources: limits: @@ -408,7 +408,7 @@ spec: # Please don't change below envs env: - name: CI_VERSION - value: "k8s/1.3.5" + value: "k8s/1.3.6" # Please don't change the mountPath volumeMounts: - name: prometheus-cwagentconfig