Apache SeaTunnel Job Failure and Zeta Cluster Health Sentinel
Audits Apache SeaTunnel Zeta Engine REST API for failed streaming or batch jobs and alerts on pipeline stalls.
Audit container registry multi-arch manifest compliance with Skopeo and Kestra. Verify amd64 and arm64 coverage and dispatch automated Slack alerts.
In heterogeneous Kubernetes environments featuring mixed worker node architectures (such as x86_64 Intel/AMD and ARM64 AWS Graviton or Apple Silicon nodes), container workloads must provide multi-architecture manifest lists. If a release pipeline or third-party vendor publishes an image that is single-architecture (for example, only compiled for amd64), scheduling that pod onto an arm64 worker node results in immediate CrashLoopBackOff or exec format errors.
This blueprint provides an automated Day 2 Operations governance gate that uses Skopeo to inspect remote container registry manifests without downloading heavy image layers. It parses OCI and Docker manifest indexes, verifies the presence of required CPU architectures, and alerts DevOps teams over Slack before faulty images cause cluster rollout failures.
schedule (io.kestra.plugin.core.trigger.Schedule) initiates the audit cycle every 6 hours (disabled by default for safe onboarding).inspect_manifest (io.kestra.plugin.skopeo.cli.SkopeoCLI) queries the container registry directly using skopeo inspect --raw without pulling layers, saving the manifest index as manifest.json.classify_manifest_compliance (io.kestra.plugin.scripts.python.Script) parses the manifest JSON, evaluates platform entries against required_architectures (e.g. amd64,arm64) and required_os (linux), and outputs a typed status (COMPLIANT vs NON_COMPLIANT).evaluate_compliance (io.kestra.plugin.core.flow.Switch) routes execution based on the compliance verdict.COMPLIANT), log_compliant_status logs verified architectures.NON_COMPLIANT), alert_non_compliant_manifest dispatches a formatted alert to Slack using io.kestra.plugin.slack.notifications.SlackIncomingWebhook, and log_remediation_guidance logs actionable build remediation advice.log_audit_completion writes a final operational audit summary.errors block intercepts unexpected network or registry authentication failures and alerts Slack.amd64, arm64, s390x, ppc64le).Inspecting remote registry manifests with standalone shell scripts or CI job steps requires maintaining Skopeo installations, handling edge cases across Docker vs OCI index specifications, and managing webhook credentials across multiple repositories. Kestra provides a unified orchestration platform with native Skopeo container sandboxing, structured JSON evaluation, conditional branching, execution lineage, and centralized Slack alerting.
SkopeoCLI (quay.io/skopeo/stable).To run a local container registry for development and testing while avoiding host port 8080 conflicts:
docker run -d --name local-registry -p 5001:5000 registry:2
If Kestra is running inside a Docker network, connect the registry container to Kestra network:
docker network ls
docker network connect YOUR_KESTRA_NETWORK local-registry
SLACK_WEBHOOK: Incoming Webhook URL for Slack alerting.REGISTRY_USER: Optional username for private container registries.REGISTRY_PASSWORD: Optional password or token for private container registries.Note for Kestra Open-Source (OSS): Secrets are provided as base64-encoded environment variables formatted as
SECRET_<NAME>on the Kestra server or worker environment.
| Name | Type | Default | Allowed Values | Description |
|---|---|---|---|---|
image_reference |
STRING | "registry.hub.docker.com/library/python:3.11-slim" |
Any valid image reference | Target image to inspect in registry |
required_architectures |
STRING | "amd64,arm64" |
Comma-separated archs | Architectures required in manifest list |
required_os |
STRING | "linux" |
Operating system name | Expected OS for platform entries |
remediation_mode |
SELECT | "ALERT_ONLY" |
"ALERT_ONLY", "QUARANTINE_LOG" |
Operational remediation action mode |
dry_run |
SELECT | "true" |
"true", "false" |
Dry run simulation flag |
{{ outputs.inspect_manifest.outputFiles['manifest.json'] }}: Raw manifest index JSON file URI.{{ outputs.classify_manifest_compliance.vars.status }}: Compliance status (COMPLIANT or NON_COMPLIANT).{{ outputs.classify_manifest_compliance.vars.found_architectures }}: Array of detected architectures matching required OS.{{ outputs.classify_manifest_compliance.vars.missing_architectures }}: Array of missing required architectures.SLACK_WEBHOOK in your Kestra namespace secrets.python:3.11-slim multi-arch image.amd64 and arm64 platforms are verified.schedule trigger to audit your critical container images periodically.--src-creds {{ secret('REGISTRY_USER') }}:{{ secret('REGISTRY_PASSWORD') }}) to skopeo inspect for private registries.io.kestra.plugin.core.flow.Subflow that only executes when the gate passes.io.kestra.plugin.core.flow.Loop.--creds or --src-creds in the commands array.