Skip to content

Failed to install livekit-server to a cluster in GKE Autopilot #147

@jmuk

Description

@jmuk

I have a managed cluster in GKE Autopilot, and tried to install livekit-server through helm. It ended up with a following error message:

Error: UPGRADE FAILED: failed to create resource: admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-no-host-port]":["container livekit-server specifies host ports [7881 6789 3478], which are disallowed in Autopilot."]}

Indeed livekit-server's deployment has hostPort fields for several ones. It seems GKE Autopilot has a restriction over host-port assignment.

Does anyone has a solution here? Also wondering why host-port is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions