release(ai-gateway): AI Gateway 2.0#5385
Draft
tomek-labuk wants to merge 288 commits into
Draft
Conversation
👷 Deploy Preview for kongdeveloper processing.
|
57c9b79 to
73bfe81
Compare
73a28b0 to
2721425
Compare
both on-prem and konnect including ai-gateway v1.
it takes into account major_versions and the special case of ai-gateway v1
url and a major_version set.
warning in development when prunning a related_resource or next_step
ai-gateway how-to
version of the product and page
right folder and add ai-gateway as a product to it.
and update all the files accordingly
Fixes an issue where a specific include relied on the `products` key to render something specific
pages when there's a major_release Make sure that the current page and candidate pages share the same major_release
Fixes an issue where mesh pages where picking up `/dev/` as their latest releases because we only filtered by the max number within a major release. It should exclude unreleased versions.
page doesn't have a canonical
* update get started guide * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update broken links * fix kongctl flag * update kongctl prereq * fix(kongctl): conditionally render the kongctl prereq depending on the (#5919) product, aigw needs some extra steps --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Fabian Rodriguez <fabian.rodriguez@konghq.com>
* Add UI tab * Update AI gw landing page * Update UI instructions * Updates * update link
* Update ui instructions for ai entities * appease vale * update konnect links * Fix MCP Server intro: canonical name, invalid Liquid variable, and punctuation consistency --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Add how to for a2a entity * Update a2a quickstart * fix * update link * fix agent prereq
* on-prem konnect * Apply suggestions from code review Co-authored-by: tomek-labuk <tomasz.labuk@konghq.com> * changes * Apply suggestions from code review Co-authored-by: tomek-labuk <tomasz.labuk@konghq.com> * adjust wording, apply deck converter steps Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: tomek-labuk <tomasz.labuk@konghq.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* Update getting started guide * main gw prereq * fix api key --------- Co-authored-by: Angel <angel.guarisma@konghq.com>
* replace ai cookbooks with ai gateway and add all new AIGW links to homepage * fix light mode
* initial page * in-prog mapping content * in-prog mapping content * split guide into concepts and migration * main migration steps * main migration steps * main migration steps * add extras * placeholder pages * models notes * update table format * fix v2 model example * feat(ai-gateway: migrate agents and mcp (#5903) * migrate agents * migrate mcp * Apply suggestions from code review Co-authored-by: jbaross <james.baross@konghq.com> --------- Co-authored-by: jbaross <james.baross@konghq.com> * Revise/review: including deleting the separate entity pages to merge them into the migration page and other small wording fixes Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Appease vale gods, related links Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * fix link and AI Model provider Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * fix links Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* Migrate overview Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Apply feedback Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Attempt at fixing the diagram Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * comment out diagram Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* test * fix * syntax
* migrate overview Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Apply feedback Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Comment out diagram Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* entities * entities * Apply suggestions from code review Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com> * feat(aigw): add kongctl support to entity_examples block * fix(aigw): remove comments from entities * fix(aigw): use a valid default name for the ai-gateway * fix(aigw): drop ai_gateway_ prefix from kongctl, it doesn't work for the file format which is the one we use on the entities page * feat(aigw): add kongctl format support to AI Gateway entity examples Extends the entity_example block to render kongctl YAML for AI Gateway entities, mirroring the existing event-gateway support. Bare $UPPERCASE env var values in entity data are rendered as !env VAR_NAME YAML tags. * fix(aigw): remove em dashes and positional language from entity docs Replace em dashes with plain punctuation and rewrite "below"/"above" references to link/name the target section instead. Add a Prose style section to CLAUDE.md so future content follows the same rules. * add vertex * Update app/_ai_gateway_entities/ai-vault.md Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com> --------- Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com> Co-authored-by: Fabian Rodriguez <fabian.rodriguez@konghq.com>
* port from aigw-v2-fwd-proxy' * remove merge error tools section * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * misc fixes * fix tools block * fix tools block * lower case Control Plane and Data Plane Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * undo broken capture group * undo broken capture group * fix indent * vale --------- Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Angel <angel.guarisma@konghq.com>
* Add openai how-to * small fixes --------- Co-authored-by: Angel <angel.guarisma@konghq.com>
* Migrate RAG injector * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* feat(operator): AI Gateway docs — KonnectAIGateway rename + IdentityProvider Two breaking CRD changes from KO 2.2 (July 10): - AIGatewayControlPlane renamed to KonnectAIGateway (commit e1a708c) - New AIGatewayIdentityProvider CRD (key-auth / openid-connect) added (commit e5c22cc) Docs updated: - 4-step getting started series: install, deploy, policies, consumers - Consumers step now creates AIGatewayIdentityProvider before consumers - Reference page: resource model table, reference chain, new IdentityProvider section - Series, index, and landing page wiring - QA test plan: new Section 7 (Identity Providers), all KonnectAIGateway rename fixes - Fix broken related_resources link in support doc (rate-limiting/examples → rate-limiting) CRD corrections carried forward from prior audit: - AIGatewayModelProvider (was AIGatewayProvider) - Auth uses SensitiveDataSource (secretRef), aiGatewayRef throughout - AIGatewayConsumerCredential: aiGatewayConsumerRef + apiKey.secretRef - AIGatewayDataPlane auto-provisions mTLS cert Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(operator): AI Gateway getting started series and reference docs * fix vale issues * fix codex feedback * Apply suggestions from code review pt 1 Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Fix build failure Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * tech preview badges, remove qa file Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* fix(ai-gateway): on-prem doc * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* test * works * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * fix broken link --------- Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* init content * feat(ai-gateway): Use Claude Code with Azure AI + Claude CLI Squashes: init content, init content, initial config, copilot fixes, Fel fixes, Fel fixes, works. Drops an accidental app/.repos/kuma submodule pointer regression (4d676877 -> a92a32a8) that crept into "init content" and persisted through every later commit on this branch. * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Co-authored-by: Angel <angel.guarisma@konghq.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* set canonical urls for existing pages * set canonical URLs for everything; fix links on mcp v1 doc
* feat(aigw): Alternate kongctl claude code how-to * test * Apply suggestions from code review Co-authored-by: Angel <Guaris@users.noreply.github.com> * config * update copy to reflect new config * fixes for copilot * minor fixes * Apply feedback Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Angel <angel.guarisma@konghq.com> Co-authored-by: Angel <Guaris@users.noreply.github.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* Add how-to * make changes that I think fixes it Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * Small fixes from testing Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * vale is annoying Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * fix canonical url Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> --------- Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* get started fixe * test * Update app/_how-tos/ai-gateway/get-started-with-ai-gateway.md
* Add codex how-to * fix * Apply suggestions from code review Co-authored-by: jbaross <james.baross@konghq.com> --------- Co-authored-by: jbaross <james.baross@konghq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
Description
Resolves #5246 #4862
Bootstrap new entities and add support for setting them up with deck, admin-api and konnect-api. Note: the urls might change so we probably need to update them.
Fabian added a hack in the original PR 5057 - the one that says hack: to make ai gateway ...- so that the schemas render locally, it won't work in preview apps.
Note: we need to remove that commit before we release it and update
app/_data/konnect_oas_data.jsonandapp/_api/konnect/ai-gateway/_index.mdwith the right info after we upload the API spec to konnect. See this commit.This also adds a dummy OAS spec, we need to sync the final version once it's ready.
Preview Links
http://release-ai-gateway-2-0--kongdeveloper.netlify.app/
Landing pages:
AI Gateway Entities:
Reference pages:
AI Providers:
AI Policies hub
AI Policies
Checklist
descriptionentry in frontmatter.