Skip to content

Fix superset-worker healthcheck path in Service Update Override - #167

Merged
IamJeffG merged 1 commit into
mainfrom
fix-disable-healthcheck
Jul 30, 2026
Merged

Fix superset-worker healthcheck path in Service Update Override#167
IamJeffG merged 1 commit into
mainfrom
fix-disable-healthcheck

Conversation

@IamJeffG

@IamJeffG IamJeffG commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Background worker processes do not expose a web port and would fail a healthcheck from docker. This has led to boot-loops on the workers, and so we (previously) attempted to disable the healtcheck on worker processes, using Service Update Override.

The problem is we had got the syntax wrong!

HealthCheck must nest under TaskTemplate.ContainerSpec. We had wrongly put it directly under TaskTemplate.

    TaskTemplate:
      ContainerSpec:
        HealthCheck:
          Test: ["NONE"]

What I changed and why

Extracts a disable_healthcheck() pure function for reuse & testing

Adds tests.

LLM use disclosure

Claude code made the code changes, which I reviewed. I wrote the documentation and PR description.

HealthCheck must nest under TaskTemplate.ContainerSpec,
we had wrongly put it directly under TaskTemplate.

TaskTemplate:
  ContainerSpec:
    HealthCheck: ["None"]

Extracts a `disable_healthcheck()` pure function for reuse & testing
@IamJeffG

Copy link
Copy Markdown
Contributor Author

How I convinced myself this is right

I ran make test-e2e locally, deployed superset, and confirmed the worker and init-and-beat started and did not get killed.

they also had HealthCheck in the correct indentation level of SUO.

@IamJeffG
IamJeffG merged commit 670491d into main Jul 30, 2026
1 check passed
@IamJeffG
IamJeffG deleted the fix-disable-healthcheck branch July 30, 2026 16:59
@IamJeffG IamJeffG self-assigned this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants