Skip to content

Unable to set partialFailureMode to best_effort on VirtualMCPServer #4856

Closed

Description

@robk1234

Bug description

I attempted to set partialFailureMode on my VirtualMCPServer by adding the following to spec.config

    operational:
      logLevel: debug
      failureHandling:
        partialFailureMode: best_effort

The corresponding pod ends up in CrashLoopBackOff status. This message is in the logs:

{"time":"2026-04-15T17:17:05Z","level":"ERROR","msg":"Configuration validation failed: invalid configuration:\n - operational.failureHandling: partialFailureMode must be one of: fail, bestEffort"}
Error: validation failed: invalid configuration:

  • operational.failureHandling: partialFailureMode must be one of: fail, bestEffort
    {"time":"2026-04-15T17:17:05Z","level":"ERROR","msg":"Error executing command: validation failed: invalid configuration:\n - operational.failureHandling: partialFailureMode must be one of: fail, bestEffort"}

bestEffort is not a valid value from the CRD: https://github.com/stacklok/toolhive/blob/main/deploy/charts/operator-crds/files/crds/toolhive.stacklok.dev_virtualmcpservers.yaml#L1328

I'm using this image:
ghcr.io/stacklok/toolhive/vmcp:v0.18.0

Steps to reproduce

Set partialFailureMode to best effort on VMCP Service

Expected behavior

The pod starts and just excludes the failed pods

Actual behavior

The pod fails to start

Environment (if relevant)

  • OS/version:
  • ToolHive version: 0.18.0

Additional context

Any additional information or logs you think might help.

Activity

  1. added
    bug
    on Apr 15, 2026
  2. added
    kubernetes
    vmcp
    on Apr 15, 2026
  3. added a commit that references this issue on Apr 15, 2026
    7dddf4d
  4. added a commit that references this issue on Apr 16, 2026
    0e5e576
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

    bugkubernetesoperatorvmcp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions