Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove optional Kubelet monitoring from Container Insights on AWS for FluentBit addon #251

Merged
merged 7 commits into from
Sep 19, 2023

Conversation

rodrigobersa
Copy link
Contributor

@rodrigobersa rodrigobersa commented Sep 19, 2023

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:

[error] [filter:kubernetes:kubernetes.0] kubelet upstream connection 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 paramenter hostNetwork: 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

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Customer using the example, validated the solution.

@rodrigobersa rodrigobersa requested a review from a team as a code owner September 19, 2023 19:16
@bryantbiggs bryantbiggs changed the title fix: Removing Optional Kubelet monitoring from Container Insights on AWS for FluentBit addon. fix: Remov optional Kubelet monitoring from Container Insights on AWS for FluentBit addon Sep 19, 2023
@rodrigobersa rodrigobersa merged commit bf37e2f into main Sep 19, 2023
7 checks passed
@rodrigobersa rodrigobersa deleted the 20230913-aws-for-fluentbit branch September 19, 2023 19:18
@bryantbiggs bryantbiggs changed the title fix: Remov optional Kubelet monitoring from Container Insights on AWS for FluentBit addon fix: Remove optional Kubelet monitoring from Container Insights on AWS for FluentBit addon Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants