vald
vald copied to clipboard
[Impl] Delete expired index from Agent using k8s Job
Is your feature request related to a problem? Please describe.:
It is possible to send an index deletion request from the client, but this requires user intervention each time.
Describe the solution you'd like:
Allow old indexes to be deleted via a Kubernetes Job (periodic or one-time)
Describe alternatives you've considered:
The Remove
or RemoveWithTimestamp
RPC allows us to delete indexes at a specified time, so create a Kubernetes Job to execute this RPC.
We can implement it under the here