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

Update the default cloudwatch fetch interval to 60sec #549

Merged
merged 1 commit into from Apr 25, 2020

Conversation

Suraiya-Hameed
Copy link
Contributor

@Suraiya-Hameed Suraiya-Hameed commented Apr 24, 2020

Description

Cloudwatch plugin for EKS reads 1MB of data for every 600s(default fetchInterval), overtime ES audit logs grows out of sync with cloudwatch logs. With 600sec fetchInterval if we do CRUD operation, the logs appear in cloudwatch immediately, but it never appear in ES audit index or appear after a long gap.

This PR reduces the fetchInterval to 60sec, it works fine on the test EKS cluster with minimal CRUD operation. There is no additional cost incurred as cloudwatch charges based on data stored and transferred.

PR for doc updates https://github.com/tigera/calico-private/pull/2091

Refer:

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@Suraiya-Hameed Suraiya-Hameed marked this pull request as ready for review April 24, 2020 19:00
@Suraiya-Hameed Suraiya-Hameed changed the title SAAS-671 update the eks default fetch interval to 60sec Update the default cloudwatch fetch interval to 60sec Apr 24, 2020
Copy link
Contributor

@realgaurav realgaurav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm per our conversation.

Please wait for @tmjd's stamp before merging.

@doublek doublek added this to the v1.6.0 milestone Apr 24, 2020
@doublek doublek added enterprise Feature applies to enterprise only kind/enhancement New feature or request labels Apr 24, 2020
Copy link
Contributor

@doublek doublek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@doublek doublek merged commit b835e25 into tigera:master Apr 25, 2020
@Suraiya-Hameed Suraiya-Hameed deleted the SAAS-671 branch May 26, 2020 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise Feature applies to enterprise only kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants