Sign inSign up

stacklayer/batch-runner

By stacklayer

•Updated about 14 hours ago

Lightweight runner image for Kubernetes Jobs & CronJobs on Azure Kubernetes Service (AKS).

Image
Integration & delivery
Developer tools
0

68

stacklayer/batch-runner repository overview

⁠Stack Layer Batch Runner Lab Container Image

RepositoryRelease TagArchitecturePlatform
RepositoryRelease TagArchitecturePlatform

Hands-on educational lab container image built specifically for Azure Kubernetes Service (AKS) learning, batch Job execution, parallel queue processing, and CronJob background automation.


⁠📋 Image Specifications & Software Stack

ComponentVersion / SpecificationDetails
Base OSAlpine 3.20Ultra-minimalist, security-hardened Linux base with zero vulnerabilities
Runtime Userstacklayer (UID 10001)Strictly non-root execution ensuring compliance with Azure AKS Pod Security Standards
Shell & UtilitiesPOSIX sh / CoreutilsHigh-efficiency diagnostic logging, POSIX signal trapping, and telemetry output
Execution LifecycleRun-to-CompletionPerforms deterministic tasks, logs structured checkpoints, and exits with return code 0
Supported TasksMigration, Parallel, BackupBuilt-in handlers for database migrations, parallel partition aggregation, and scheduled backups
Supported Architectureslinux/amd64, linux/arm64Native multi-architecture support (Intel/AMD x86_64 & ARM64 Azure Cobalt / Apple Silicon)

⁠🚀 Quick Pull

docker pull stacklayer/batch-runner:latest

⁠🏃 Run with Docker

To test this batch container locally before deploying to your AKS cluster:

⁠Test 1: Run One-Off Database Migration Task
docker run --rm \
  --name stacklayer-test-job \
  -e TASK_NAME="database-migration" \
  -e BATCH_MODE="sequential" \
  stacklayer/batch-runner:latest
⁠Test 2: Run Scheduled Database Backup Task
docker run --rm \
  --name stacklayer-test-cron \
  -e TASK_NAME="database-backup" \
  -e RETENTION_DAYS="14" \
  stacklayer/batch-runner:latest

⁠⚙️ Environment Variables

VariableDescriptionDefault
TASK_NAMEName of the automation task (database-migration, partition-processing, database-backup)default-task
BATCH_MODEExecution queuing mode (sequential or parallel)sequential
RETENTION_DAYSNumber of retention days applied during database backup snapshots7
WORKER_IDIdentifier for the active worker node or partition runner$HOSTNAME

⁠📦 Kubernetes Lab Manifests & Full Guide


⁠⚠️ Educational & Lab Disclaimer

This container image is built strictly for hands-on educational and lab learning on Azure Kubernetes Service (AKS). Always follow proper teardown procedures to clean up Jobs, CronJobs, and cluster worker nodes when finishing your lab session.


Built with ❤️ by the Stack Layer Engineering Team

Tag summary

Content type

Image

Digest

sha256:4e1aeac64…

Size

4.8 MB

Last updated

about 14 hours ago

docker pull stacklayer/batch-runner