https://rancher.com/ logo
h

hundreds-evening-84071

09/18/2023, 7:37 PM
I have RKE2 (v1.26.6) cluster created from Rancher UI... have setup a Project and namespace There is a need to terminate/delete any pod that has run time of greater than 12 hours... Just wondering if this is possible from UI or I should just write a script that checks pod run times and delete pods with >12 hours ?
In Resource limit options, I see CPU/Memory limits but do not see any thing related to Time
s

steep-furniture-72588

09/18/2023, 9:49 PM
Write a script, store in a container or external means to interact with kubernetes and delete off pods within your Timeframe