Questions tagged [kubernetes-cronjob]
The kubernetes-cronjob tag has no usage guidance.
kubernetes-cronjob
319
questions
0
votes
0
answers
39
views
Deploying a cronjob to multiple clusters but only running in one
I have a cronjob being deployed to two different clusters. Each cluster is a different region. Having these jobs running on two different clusters is to help insure the cronjob will run if one of the ...
-1
votes
0
answers
41
views
kubernetes job to retrieve kubectl events periodically and store them
I'm trying to have a scheduled job in kubernetes to pull the events from the namespace and stream them to logging application. We use splunk for log management and all the job/pod logs are ...
0
votes
1
answer
204
views
Pod is hanging in terminating state
I have kubernetes CRON job that invokes simple script that is cloning git repository to persistent storage. Job is invoked every 15 minutes and once per day or two I have job that is not finishing and ...
0
votes
1
answer
58
views
Automatic restart of a certain namespace in the cluster and changing the number of replicas
I have a cluster on Amazon AWS EKS with two important namespaces: dev and prod. I'm encountering the following issue with the applications in the prod namespace:
Every night at midnight, all pods in ...
0
votes
1
answer
156
views
Azure Kubernetes based cronjob completion event
We are using AKS v1.26.6. Our deployed code is .Net Core 6/7 based.
We created a cronjob and deployed in AKS. This job runs at fixed schedule in evening. All is good so far, now we need to know IF ...
0
votes
0
answers
110
views
Cron Jobs kubernetes with quarkus
I want to run batches develop with Quarkus on Kubernetes. I would like to use Cron Job Kubernetes. I want to start the pod only for the batch execution time (which can last several minutes). The ...
0
votes
1
answer
70
views
how to kill/timeout a long running cronjob pod in kubernetes
Is there a way to kill a long running cronjob in kubernetes? Basically, I have created a CronJob in kubernetes. It is running a time consuming operation. I would like to put a limit on it. So, the pod ...
-1
votes
1
answer
127
views
Kubernetes cronjob ignore all exit code from a container
We have a bunch of cronjobs in our env. And they run linkerd-proxy as a sidecar.
Well, somewhat often (but not always) the proxy container will fail after the main container is done. We "think&...
0
votes
0
answers
39
views
AWS EKS Cron seems not running completely
I have a flask app(a .py file) and there is a cronjob which run every 5 minutes.
A pod creates whenever a cron execute. In .py file I have added try, exception.
It seems to me .py file not running ...
-1
votes
1
answer
121
views
Kubernetes: I can't get my cronjob to mount a PersistentVolumeClaim
I am creating a Kubernetes cronjob that needs to write files, for that purpose, I have a server with the directory /data where the files shall be created.
My deployment is using Terraform.
My ...
0
votes
1
answer
176
views
How resume suspended cron job having concurrency policy as forbid
I am facing a unique issue with CronJob.
I have created a CronJob with concurrency Policy value as 'Forbid'.
I have a requirement of suspending and resuming the job as and when needed.
When I suspend ...
0
votes
1
answer
224
views
CronJob pod repeats pending forever even after deleting it [closed]
I've been learning kubernetes on GKE lately.
I'm testing CronJob, and I'm having trouble with the behavior there.
Below is overview of node-pool, cron job settings.
node-pool: 1 node (remaining ...
-2
votes
1
answer
54
views
AKS - Cronjob use script file inside PVC [closed]
I would like to create a cronjob that could get the script file inside PVC and run with it.
Here I have created a PVC inside AKS as follows:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
...
0
votes
0
answers
6
views
generate cronschedule for two cronjobs which gets executed alternatively
i want to to write a script to create a cronschedule so that ,
when the script runs, it should reada cron schedule provided as input and split the times half half between the two cron scheules , so ...
0
votes
0
answers
49
views
Session/EntityManager and (EntityManagerFactory) is closed following update to Spring Batch 5.1.0
We have a batch job we use for reporting that was running fine prior to upgrading spring boot / batch in our project. Following general upgrade advice we have migrated our batch tables and upgrades ...