Create job ΒΆ

This how-to guide will show you how to create a Nais manifest for your job.

Setup ΒΆ

Inside your job repository, create a .nais-folder.

bash

Create a file called job.yaml in the .nais-folder.

bash

Define your job ΒΆ

Below is a basic example of an job manifest.

Add the following content to the file, and insert the appropriate values in the placeholders on the highlighted lines:

.nais/app.yaml

yaml

This job manifest will run your code every hour. If you want to run your job only once, you can remove the schedule field.

🎯 Build and deploy your job to Nais.

πŸ“š Job spec reference.

πŸ“š Complete job example.