Skip to content

Commit

Permalink
Release KGO 1.2 (Kong#7100)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap authored Mar 20, 2024
1 parent 0d5c699 commit 0199011
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 7 deletions.
114 changes: 114 additions & 0 deletions app/_data/docs_nav_kgo_1.3.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
product: gateway-operator
release: 1.3.x
generate: true
assume_generated: true
items:
- title: Introduction
icon: /assets/images/icons/documentation/icn-flag.svg
items:
- text: Overview
url: /gateway-operator/1.3.x/
absolute_url: true
- text: Deployment Topologies
items:
- text: Hybrid Mode
url: /topologies/hybrid/
- text: DB-less Mode
url: /topologies/dbless/
- text: Key Concepts
items:
- text: Gateway API
url: /concepts/gateway-api
- text: Gateway Configuration
url: /concepts/gateway-configuration
- text: Managed Gateways
url: /concepts/managed-gateways
- text: Changelog
url: /gateway-operator/changelog
absolute_url: true
- text: Support
url: /support
- text: FAQ
url: /faq
- title: Get Started
icon: /assets/images/icons/documentation/icn-learning.svg
items:
- text: Konnect
items:
- text: Install Gateway Operator
url: /get-started/konnect/install/
- text: Deploy a Data Plane
url: /get-started/konnect/deploy-data-plane/
- text: Create a Route
url: /get-started/konnect/create-route/
- text: Kong Ingress Controller
items:
- text: Install Gateway Operator
url: /get-started/kic/install/
- text: Create a Gateway
url: /get-started/kic/create-gateway/
- text: Create a Route
url: /get-started/kic/create-route/
- title: Production Deployment
icon: /assets/images/icons/icn-server.svg
items:
- text: Overview
url: /production/
- text: Install
url: /install/
- text: Enterprise License
url: /license/
- text: Monitoring
url: /production/monitoring/
- text: Upgrade Gateway Operator
url: /production/upgrade/gateway-operator/
- title: Guides
icon: /assets/images/icons/documentation/icn-solution-guide.svg
items:
- text: AI Gateway
url: /guides/ai-gateway/
- text: Customization
items:
- text: Set data plane image
url: /customization/data-plane-image/
- text: Deploying Sidecars
url: /customization/sidecars/
- text: Customizing PodTemplateSpec
url: /customization/pod-template-spec/
- text: Autoscaling Kong Gateway
url: /guides/autoscaling-kong/
- text: Autoscaling Workloads
items:
- text: Overview
url: /guides/autoscaling-workloads/overview/
- text: Prometheus
url: /guides/autoscaling-workloads/prometheus/
- text: Datadog
url: /guides/autoscaling-workloads/datadog/
- text: Upgrading Data Planes
items:
- text: Rolling Deployment
url: /guides/upgrade/data-plane/rolling/
- text: Blue / Green Deployment
url: /guides/upgrade/data-plane/blue-green/
- title: Reference
icon: /assets/images/icons/icn-magnifying-glass.svg
items:
- text: Custom Resources
items:
- text: Overview
url: /reference/custom-resources/
src: reference/custom-resources/1.2.x
- text: GatewayConfiguration
url: /reference/custom-resources/#gatewayconfiguration
generate: false
- text: ControlPlane
url: /reference/custom-resources/#controlplane
generate: false
- text: DataPlane
url: /reference/custom-resources/#dataplane
generate: false
- text: License
url: /reference/license
- text: Version Compatibility
url: /reference/version-compatibility
5 changes: 4 additions & 1 deletion app/_data/kong_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,13 @@
- edition: gateway-operator
version: 1.1.0
release: 1.1.x
latest: true
- edition: gateway-operator
version: 1.2.0
release: 1.2.x
latest: true
- edition: gateway-operator
version: 1.3.0
release: 1.3.x
label: unreleased
- edition: mesh
version: 1.2.6
Expand Down
16 changes: 14 additions & 2 deletions app/_includes/md/kgo/prerequisites-kic.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
## Prerequisites
{% endunless %}

{% if include.experimental %}
### Install CRDs
{% assign gwapi_version = "1.0.0" %}
{% if include.release.value == "1.0.x" %}
{% assign gwapi_version = "0.8.1" %}
{% endif %}

{% if include.experimental %}
If you want to use experimental resources and fields such as `TCPRoute`s and `UDPRoute`s, please run this command.

```shell
Expand All @@ -33,7 +33,19 @@ kubectl apply -f {{site.links.web}}/assets/gateway-operator/ai-gateway-crd.yaml

### Install {{ site.kgo_product_name }}

{% include snippets/gateway-operator/install_with_helm.md version=include.version release=include.release aiGateway=include.aiGateway %}
{% include snippets/gateway-operator/install_with_helm.md version=include.version release=include.release %}


{%- if include.aiGateway %}

### Enable the AI Gateway controller

As this guide uses the experimental AI Gateway feature, we need to explicitly enable it.

```bash
kubectl set env -n kong-system deployments/kgo-gateway-operator-controller-manager -c manager GATEWAY_OPERATOR_ENABLE_CONTROLLER_AIGATEWAY="true"
```
{% endif %}

{% if include.enterprise %}

Expand Down
6 changes: 2 additions & 4 deletions app/_includes/snippets/gateway-operator/install_with_helm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign kgo_version = include.version %}
{% assign kgo_version = include.release | replace: ".x", "" %}
{% if include.release.label == "unreleased" %}
{% assign kgo_version = "nightly" %}
{% endif %}
Expand All @@ -12,9 +12,7 @@ helm repo update kong
Install {{ site.kgo_product_name }} with Helm:

```bash
helm upgrade --install kgo kong/gateway-operator --devel -n kong-system --create-namespace \
--set image.tag={{ kgo_version }}{%- if include.aiGateway %} \
--set controllers.aiGatewayController.enabled=true{% endif %}
helm upgrade --install kgo kong/gateway-operator -n kong-system --create-namespace --set image.tag={{ kgo_version }}
```

You can wait for the operator to be ready using `kubectl wait`:
Expand Down

0 comments on commit 0199011

Please sign in to comment.