Skip to content

Conversation

Orza
Copy link
Contributor

@Orza Orza commented Jul 18, 2024

What type of PR is this?
/kind documentation

What this PR does / Why we need it:

Adding missing documentation about: add option for extensions components to use host network and configure ports

Which issue(s) this PR fixes:
Closes #3911

Special notes for your reviewer:

Added `agones.extensions.webhooks.port` & `agones.extensions.hostNetwork` params to helm installation
Added topic about using custom CNI plugins with EKS
@github-actions github-actions bot added kind/documentation Documentation for Agones size/S labels Jul 18, 2024
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 688a961f-ff29-4991-aea3-17e71e073a89

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):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
  • 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.43.0-dev-238c64d-amd64

@@ -287,6 +287,8 @@ The following tables lists the configurable parameters of the Agones chart and t
| Parameter | Description | Default |
|----------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
| `agones.extensions.http.port` | Port to use for liveness probe service and metrics | `8080` |
|`agones.extensions.webhooks.port` | Port to use for webhook service | `8081` |
|`agones.extensions.hostNetwork` | Determines if the Agones extensions should operate in hostNetwork mode. If running in hostNetwork mode, you should change `http.port` and `webhooks.port` to an available port. | `false` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things.

(non blocking question): Should agones.extensions.hostNetwork go first, since it refers to agones.extensions.webhooks.port ?

Same as above, will need a feature shortcode. The renderer tends to dislike it in a middle of a table, so you will need to duplciate the table and have one that has a publishVersion and one with an expireyVersion.

@@ -41,6 +41,12 @@ For Agones to work correctly, we need to allow UDP traffic to pass through to ou
* Select **Inbound Rules**
* **Edit Rules** to add a new **Custom UDP Rule** with a 7000-8000 port range and an appropriate **Source** CIDR range (`0.0.0.0/0` allows all traffic)

## Use with custom CNI plugins

To ensure compatibility with custom CNI plugins (such as Calico or Cilium), configure extensions application to use `hostNetwork` for proper functionality.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To ensure compatibility with custom CNI plugins (such as Calico or Cilium), configure extensions application to use `hostNetwork` for proper functionality.
To ensure compatibility with custom CNI plugins (such as Calico or [Cilium](https://docs.cilium.io/en/stable/installation/k8s-install-helm/)), configure extensions application to use `hostNetwork` for proper functionality.

Although, I'd love a way to link to the EKS docs tab, since it specifically references using hostNetwork?

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 57019c4c-093e-481f-b6a8-4dc38ddae2e7

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):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
  • 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.43.0-dev-3fcaae7-amd64

@Orza Orza requested a review from markmandel July 23, 2024 17:40
@zmerlynn
Copy link
Collaborator

/gcbrun

@zmerlynn
Copy link
Collaborator

/gcbrun

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: a501ee49-9699-4480-b071-e908306defd0

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):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
  • 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.43.0-dev-cf86648-amd64

Copy link
Collaborator

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 feature shortcodes look good! Just a few docs improvements and we should be good to go.

@markmandel
Copy link
Collaborator

Gentle bump on this to see if we can get these changes in?

@agones-bot
Copy link
Collaborator

Build Failed 😭

Build Id: 2e280511-8a21-4ed6-a0bf-611f37d496f0

Status: FAILURE

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: af193caa-233b-413a-9ff0-aef9192e5000

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):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
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.43.0-dev-76dfaf6

@Orza Orza requested a review from markmandel August 28, 2024 13:53
@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 3d96a273-8504-49f3-863b-4c2faaaa82e3

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):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
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.44.0-dev-e04e7de

Copy link
Collaborator

@igooch igooch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs bit of editing around the feature publishVersion and feature expiryVersion. It might be easier to rebase the original commit off of main?

Copy link
Collaborator

@igooch igooch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature was published in 1.43, so the publish blocks should be removed.

Copy link
Collaborator

@igooch igooch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last update.

@@ -41,6 +41,12 @@ For Agones to work correctly, we need to allow UDP traffic to pass through to ou
* Select **Inbound Rules**
* **Edit Rules** to add a new **Custom UDP Rule** with a 7000-8000 port range and an appropriate **Source** CIDR range (`0.0.0.0/0` allows all traffic)

## Use with custom CNI plugins

To ensure compatibility with custom CNI plugins (such as Calico or [Cilium](https://docs.cilium.io/en/stable/installation/k8s-install-helm/)), configure extensions application to use `hostNetwork` for proper functionality via the `agones.extensions.hostNetwork` Agones [Helm]({{ ref "something-I-can't-do-off-the-top-of-my-head"}}) variable. Also make sure to set the `agones.extensions.http.port` and the `agones.extensions.webhooks.port` values as well.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To ensure compatibility with custom CNI plugins (such as Calico or [Cilium](https://docs.cilium.io/en/stable/installation/k8s-install-helm/)), configure extensions application to use `hostNetwork` for proper functionality via the `agones.extensions.hostNetwork` Agones [Helm]({{ ref "something-I-can't-do-off-the-top-of-my-head"}}) variable. Also make sure to set the `agones.extensions.http.port` and the `agones.extensions.webhooks.port` values as well.
To ensure compatibility with custom CNI plugins (such as Calico or [Cilium](https://docs.cilium.io/en/stable/installation/k8s-install-helm/)), configure extensions application to use `hostNetwork` for proper functionality via the `agones.extensions.hostNetwork` Agones [Helm]({{ ref "../Install Agones/helm.md"}}) variable. Also make sure to set the `agones.extensions.http.port` and the `agones.extensions.webhooks.port` values as well.

I haven't tested the updated ref, but it should be something like that.

@igooch igooch enabled auto-merge (squash) September 19, 2024 18:03
@agones-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: fabc5397-b186-498b-8fab-aba41dbf81c0

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):

To install this version:

git fetch https://github.com/googleforgames/agones.git pull/3912/head:pr_3912 && git checkout pr_3912
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.44.0-dev-026450c

@igooch igooch merged commit 5c18bef into googleforgames:main Sep 19, 2024
4 checks passed
@Orza Orza deleted the update-docs-for-extensions-components branch September 20, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Documentation for Agones size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Add Option for Extensions Components to use Host Network and Configure Ports
6 participants