Skip to content

fix(images): probe standalone supervisor readiness #6017

Done

Description

@SDAChess

User Story

As a cluster operator running OpenShell, I need supervisor image health reporting to reflect its readiness so that direct container launches expose failures through the container runtime.

Description

The supervisor runtime image provides a native health --socket probe but does not declare an image HEALTHCHECK. Add a shell-free image probe for its standard /run/openshell/health.sock socket. Preserve the Docker and Podman drivers' explicit health-check settings and the Kubernetes chart's TCP probes. Document that direct shared-supervisor, network-proxy, and custom-socket launches need a suitable override.

Context

Follow-up to #6013 / #6014; addresses supervisor image DS-0026. Gateway listener/TLS variability and the scratch sandbox image's lack of a general application endpoint are separate concerns. Do not add fake health checks or suppress those residual findings.

Definition of Done

  • Supervisor image declares an exec-form readiness probe using the existing binary.
  • Missing and stale sockets fail; a live readiness listener succeeds under the image's non-root user.
  • Runtime-specific overrides and direct custom-launch requirements are documented.
  • Image build and configuration scanning pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions