feat(policy-usage-tracking): add ILM for tigera_ee_policy_activity#4303
Merged
rene-dekker merged 2 commits intotigera:masterfrom Dec 23, 2025
Merged
Conversation
51e7eeb to
e8f352e
Compare
e8f352e to
d03329d
Compare
asincu
reviewed
Dec 15, 2025
| "tigera_secure_ee_compliance_reports": buildILMPolicy(totalEsStorage, minorPctOfTotalDisk, pctOfDisk, int(*ls.Spec.Retention.ComplianceReports), true), | ||
| "tigera_secure_ee_benchmark_results": buildILMPolicy(totalEsStorage, minorPctOfTotalDisk, pctOfDisk, 91, true), | ||
| "tigera_secure_ee_events": buildILMPolicy(totalEsStorage, minorPctOfTotalDisk, pctOfDisk, 91, false), | ||
| "tigera_secure_ee_policy_activity": buildILMPolicy(totalEsStorage, minorPctOfTotalDisk, pctOfDisk, 91, false), |
Contributor
There was a problem hiding this comment.
Why is the last parameter set to false? This is used to put data in read only mode once in WARM. Are you planning on editing the data once in WARM ?
Contributor
Author
There was a problem hiding this comment.
Yes. The data is designed to be updated. We're using elasticsearch like a relational database.
asincu
approved these changes
Dec 23, 2025
tianfeng92
added a commit
to tianfeng92/operator
that referenced
this pull request
Dec 29, 2025
…igera#4303) * feat(policy-usage-tracking): add ILM for tigera_ee_policy_activity * fix: re-generate versions
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
For tracking policy usage, we are introducing a new Elasticsearch index
tigera_secure_ee_policy_activity. This PR is for adding index lifecycle management for this Elasticsearch index.Related PR: https://github.com/tigera/calico-private/pull/10358
Release Note
For PR author
make gen-filesmake gen-versionsFor PR reviewers
A note for code reviewers - all pull requests must have the following:
kind/bugif this is a bugfix.kind/enhancementif this is a a new feature.enterpriseif this PR applies to Calico Enterprise only.