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

Feat/elasticsearch clean job #82

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

linuzb
Copy link
Collaborator

@linuzb linuzb commented Feb 20, 2024

use cronjob to clean es indexes

@linuzb linuzb force-pushed the feat/elasticsearch-clean-job branch from 704a950 to e3c05a6 Compare February 20, 2024 10:01
@linuzb linuzb force-pushed the feat/elasticsearch-clean-job branch from e3c05a6 to 884374b Compare February 20, 2024 10:04
@linuzb linuzb self-assigned this Feb 20, 2024
- -c
- |
# 这里直接执行ConfigMap中的脚本
/scripts/delete_index.sh es-cluster-svc.{{ .Values.namespace }}:9200 \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a comment: we may add documentations about the ES indices and the fields for each index for ease of maintainance.

Copy link
Collaborator

@hnhbwlp hnhbwlp left a comment

Choose a reason for hiding this comment

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

LGTM

@linuzb linuzb merged commit 35c7559 into alipay:main Feb 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants