Skip to content

[Feature Proposal] - Include InitContainer Sidecars in Port assignment #4358

@nrwiersma

Description

@nrwiersma

Is your feature request related to a problem? Please describe.
We would like to use InitContainers for sidecar containers, given that the lifecycle is better managed, but port assignment in Agones currently only looks for the containers in Containers meaning the sidecars cannot use external ports.

Describe the solution you'd like
https://github.com/googleforgames/agones/blob/main/pkg/apis/agones/v1/gameserver.go#L731

Here, InitContainers with an Always restart policy should be considered.

Describe alternatives you've considered
None, there is no other way to do this.

Additional context

Link to the Agones Feature Proposal (if any)

Discussion Link (if any)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/user-experiencePertaining to developers trying to use Agones, e.g. SDK, installation, etchelp wantedWe would love help on these issues. Please come help us!kind/featureNew features for Agones

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions