I have some set of java code and built docker image and deployed on the k8’s cluster. Now i want to schedule this code to run on daily basis at 4 PM CST. What would be best ways to implement?
A kubernetes cron-job is the best way to implement it. You can read more here: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/
You can find the examples of how to set it for a particular time here: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#cron-schedule-syntax