Kubernetes cluster uses the Secret feature of docker-registry
type to authenticate and pull a private image. This Secret can be created in the
Cloud Shell. For more information about Secret, see Pull an Image from a Private Registry.
Create a config.yml file
on your local workstation with the following details. Make sure you do not
change the alignment for the parameters.
The schedule parameter defines when and how often a Job runs
in crontab. It follows Unix standards and all the CronJob times are in UTC.
There are 5 fields in the schedule parameter. To know how to set up a schedule
for the CronJob, see CronJobs.
Click the Settings
button for the shell window as shown below and click Upload file to choose and upload the created config.yml file.
After uploading the file, run the following command in the
cloud shell.
kubectl create -f config.yml
This creates a Cron Job named
talend-standard-job like below.
Once the Cron Job is created, click it to see the following
details.
This Job is scheduled to run every 3 minutes.
To see the Job execution logs, click the Container logs on the
Cron Job details page.
To delete the Cron Job, click it and on the Cron Job details page, click KUBECTL > Delete. This will open a Cloud Shell with a command in it. Press
Enter to delete the Job.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!