Skip to content

Create a Container Job

Container Jobs allow you to execute scheduled workloads using container images — perfect for batch tasks, periodic data syncs, or report generation.

This guide walks you through creating your first container job using the Nexaa portal.


Prerequisites

  • A Nexaa account with billing completed.
  • A container image that performs the task you want to schedule (must be hosted in a public or authorized registry).
  • Optional: A private registry configured in your Namespace if your image is private.

Step 1: Log In

Go to the nexaa portal and sign in using your Nexaa credentials.


Step 2: Navigate to Your Namespace

  1. From the dashboard, select your Namespace or create a new one.
  2. Go to the tab "Container Jobs".

Step 3: Create a New Job

  1. Click "Add Container Job".
  2. Fill in the following fields:
Field Description
Container Name A unique identifier for your job (e.g. daily-report)
Container Image The image you want to run (e.g. my-org/reporter:latest)
Registry Credentials The registry source of where your image is stored
Resource Select the required resources for your job
Environment Variables Key-value pairs for environment variables
Command (optional) Override the image's default ENTRYPOINT and Command
Persistent Volume Mount an existing or new persistent volume
Schedule (Cron) When the job should run (e.g. 0 12 * * * * for every day at 12:00)
Enable Job Enable the job so it will be excuted at the scheduled time

Optionally, attach secrets or volumes if your job depends on them.


Step 4: Save and Deploy

  • Click "Create Job".
  • Your job will now appear in the list with its next execution time.

Step 5: Monitor Job Executions

  1. Click on the job to view its execution history.
  2. For each run, you can inspect:
  3. Status (success/failure)
  4. Start/End time
  5. Logs output from STDOUT/STDERR

Tips & Best Practices

  • Test your image manually before scheduling to avoid runtime surprises.
  • Avoid writing to the container filesystem — use external storage or databases.
  • Keep the job duration short to avoid overlaps (concurrency is not supported).
  • Use secrets for any credentials instead of hardcoding environment variables.
  • Pause Job Disable the job to keep the configuration but pause execution until enabled again.

What's Next