I am trying to create a housekeeping job where I erase namespaces that have not been used for seven days. I have two options:
- I can use a Job, but I don't know how to make sure the Jobs are running on the date that I want.
- I read about CronJob. Unfortunately, CronJob in Kubernetes can only support 5 fields (default format). This means we can only define dates and months, but not years.
Which one is better to use?