-
Notifications
You must be signed in to change notification settings - Fork 616
feat: GatewayClass agentgateway-v2, controllerName agentgateway.dev/agentgateway #13088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: GatewayClass agentgateway-v2, controllerName agentgateway.dev/agentgateway #13088
Conversation
... from kgateway.dev/agentgateway Controller agentgateway.dev/agentgateway works exactly like kgateway.dev/agentgateway, but has a new name. The recent GVK split inspires this. Signed-off-by: David L. Chandler <[email protected]>
The GVK split breaks Gateways using the old class, so it's time for a new class. Signed-off-by: David L. Chandler <[email protected]>
Signed-off-by: David L. Chandler <[email protected]>
|
/retest |
Signed-off-by: Joshua Pritchard <[email protected]>
Signed-off-by: David L. Chandler <[email protected]>
Signed-off-by: David L. Chandler <[email protected]>
Signed-off-by: David L. Chandler <[email protected]>
|
/retest |
|
Not real failures |
josh-pritchard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
/retest |
| // If the Gateway uses a GatewayClass with controllerName: agentgateway.dev/agentgateway, | ||
| // the EnvoyContainer values will be ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this accurate now?
rather, I see that it's accurate, but is it relevant as an API doc going forward?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#13101 resolves this.
| // The agentgateway dataplane is automatically used when the Gateway references a GatewayClass | ||
| // with controllerName: kgateway.dev/agentgateway. | ||
| // with controllerName: agentgateway.dev/agentgateway. | ||
| type Agentgateway struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breadcrumb for followup:
shouldn't this whole thing be removed now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#13101 resolves this too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for posterity, these changes are all that is needed for the GwClass provisioner to work correctly with the new GwClass name/controllerName
|
/retest |
|
/merge |
Description
A breaking change for agentgateway data plane users that:
Controller agentgateway.dev/agentgateway works exactly like kgateway.dev/agentgateway, but has a new name.
The recent GVK split of custom resources necessitates that old agentgateway Gateways be replaced with new Gateways that use controller
agentgateway.dev/agentgateway, and the most typical way to do that is by using the bundled GatewayClassagentgateway-v2Change Type
/kind breaking_change
Changelog
Additional Notes
This litters the GatewayClass
agentgatewaybecause it's not safe to delete it. You might have an older version of kgateway running side-by-side that still controls legacy agentgateway Gateways as you perform a blue/green deployment to modern Gateways that use GatewayClassagentgateway-v2. Consider deleting that GatewayClass yourself if you never used it or have stopped using it.