agones icon indicating copy to clipboard operation
agones copied to clipboard

feat: support init sidecar containers

Open nrwiersma opened this issue 1 month ago • 2 comments

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking /kind bug /kind cleanup /kind documentation /kind feature /kind hotfix /kind release

What this PR does / Why we need it: This allows port allocations on Init Container Sidecars. It also adds validation for init containers, which seems to be missing.

Init container sidecars offer better life cycle management, and is now fully supported in Kubernetes. In general Agones does not block the creation of init sidecars, but currently ports do not work on them.

Which issue(s) this PR fixes:

Closes #4358

Special notes for your reviewer:

nrwiersma avatar Dec 04 '25 07:12 nrwiersma

/gcbrun

markmandel avatar Dec 05 '25 04:12 markmandel

Build Succeeded :partying_face:

Build Id: ae44d556-bf41-49d9-92cd-69f71ab3b42b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

  • https://ce27ce0-dot-preview-dot-agones-images.appspot.com/

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/4375/head:pr_4375 && git checkout pr_4375
helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.54.0-dev-ce27ce0

agones-bot avatar Dec 05 '25 05:12 agones-bot

Apologies - realised this slipped through with all the goings on. I need to sit down and re-read how init sidecar containers work to make sure I understand all the bits and piece of this before reviewing one more time.

markmandel avatar Dec 18 '25 22:12 markmandel