Problem
Need to deploy my fluentd on arm64 node group but facing "exec /usr/bin/sh: exec format error" when using cloudwatch-logs-plugin in the image.
...
Steps to replicate
Install fluent-plugin-cloudwatch-logs to fluentd image and deploy it on arm64 architecture/node. It will give "exec /usr/bin/sh: exec format error"
Expected Behavior or What you need to ask
It should run successfully on arm64 node upon installing fluent-plugin-cloudwatch-logs to fluentd image
As temporary solution we have created two different images - one without cloudwatch-logs-plugin used for daemonset on arm64 node group and other with cloudwatch-logs-plugin used for statefulset on amd64 node group