fix: Remove optional Kubelet monitoring from Container Insights on AWS for FluentBit addon #251
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Motivation
When Container Insights are enabled wiht AWS for FluentBit addon, the
aws-for-fluentbit-
PODs starting experiencing a CPU spike due logs flooding with the following error:This happens because the access to Kubelet from PODs is not allowed by design on Amazon EKS, being required to add Kubernetes RBAC resources, and update
aws-for-fluentbit
daemonSet with the paramenterhostNetwork: true
. This is an optional feature recommended just for large clusters, as shown in this documentation.I'll create a documentation here, to guide the deployment of the AWS for FluentBit addon with ClusterInsights Kubelet monitoring enabled.
More
pre-commit run -a
with this PRFor Moderators
Additional Notes
Customer using the example, validated the solution.