Skip to content

BOSH health checks #2033

Closed as not planned
Closed as not planned

Description

@jmcarp

If BOSH rolls out a change to a canary VM and something breaks, BOSH should fail the deploy and stop. If an ATC VM rolls out and isn't healthy (e.g., doesn't serve requests, can't connect to the database), the deploy should fail. If a worker VM rolls out and isn't healthy (e.g., can't start containers), the deploy should fail. Otherwise, it's too easy for a bad configuration change to roll out to all VMs and hose the whole cluster. We use concourse to do just about everything, so it's a real pain when we break it. We've had good results with the pattern of running a health check until it passes (or times out) in a BOSH post-start, like UAA does: https://github.com/cloudfoundry/uaa-release/blob/develop/jobs/uaa/templates/bin/post-start.

One simple addition would be a /health endpoint for ATC that we can ping in a post-start. I'm not sure what the worker health check should look like--maybe it just needs to be able to run a busybox container.

Activity

  1. taylorsilva commented on Jan 6, 2025

    @taylorsilva
    Member

    Issue Bankruptcy

    This issue is being closed as part of 2025's Issue Bankruptcy declaration. See here for details

    If you think this issue still has merit then feel free to open a new issue and reference this one.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions