release(ai-gateway): AI Gateway 2.0#5385
Draft
tomek-labuk wants to merge 297 commits into
Draft
Conversation
👷 Deploy Preview for kongdeveloper processing.
|
57c9b79 to
73bfe81
Compare
73a28b0 to
2721425
Compare
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
don't raise in production if there are pending entries and update the log statement to be more clear
…r AI Gateway 2.0 (#5308)
* 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>
…Vertex AI (#5952) * initial content * initial configs * initial configs * whitespace fix * fixes for copilot Squashes: fixes for copilot, Fel fixes. Drops an accidental app/.repos/kuma submodule pointer regression (4d676877 -> a92a32a8) that crept into "fixes for copilot". * works * Apply suggestions from code review Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * add canonical url Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com> * fix(aigw): add env variable to aigw prereq --------- Signed-off-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> Co-authored-by: Fabian Rodriguez <fabian.rodriguez@konghq.com>
Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* managing AI Gateway with kongctl * add note to config page about env to avoid confusion * Apply suggestions from code review Co-authored-by: Lucie Milan <32450552+lmilan@users.noreply.github.com> --------- Co-authored-by: Lucie Milan <32450552+lmilan@users.noreply.github.com>
* Add kongctl config and tooling * Apply suggestions from code review Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com> --------- Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
* init content * tidy up copy * 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>
Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
* initial config * fix(aigw): split config into multiple steps --------- Co-authored-by: Fabian Rodriguez <fabian.rodriguez@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.