Skip to content

Commit 4864699

Browse files
authored
Merge branch 'main' into fix/add-missing-metering-tile
2 parents 00d5540 + 822a6e3 commit 4864699

16 files changed

+143
-149
lines changed

app/_how-tos/operator-get-started-hybrid-create-route.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ content_type: how_to
66
permalink: /operator/dataplanes/get-started/hybrid/create-route/
77
series:
88
id: operator-get-started-hybrid
9-
position: 3
9+
position: 4
1010

1111
breadcrumbs:
1212
- /operator/
Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Deploy a DataPlane
3-
description: "Deploy a DataPlane using {{ site.operator_product_name }}."
2+
title: Deploy a data plane
3+
description: "Deploy a data plane using {{ site.operator_product_name }}."
44
content_type: how_to
55

66
permalink: /operator/dataplanes/get-started/hybrid/deploy-dataplane/
77
series:
88
id: operator-get-started-hybrid
9-
position: 2
9+
position: 3
1010

1111
breadcrumbs:
1212
- /operator/
@@ -25,55 +25,15 @@ works_on:
2525
entities: []
2626

2727
tldr:
28-
q: How can I deploy a DataPlane with {{ site.operator_product_name }}?
28+
q: How can I deploy a data plane with {{ site.operator_product_name }}?
2929
a: Create a `DataPlane` object and use the `KonnectExtension` reference.
3030

3131
prereqs:
32-
show_works_on: true
3332
skip_product: true
3433
operator:
3534
konnect:
36-
auth: true
37-
control_plane: true
3835
konnectextension: true
3936

4037
---
4138

42-
{:data-deployment-topology='konnect'}
43-
## Create the DataPlane
44-
45-
Configure a Kong `DataPlane` by using your `KonnectExtension` reference:
46-
47-
```bash
48-
echo '
49-
apiVersion: gateway-operator.konghq.com/v1beta1
50-
kind: DataPlane
51-
metadata:
52-
name: dataplane-example
53-
namespace: kong
54-
spec:
55-
extensions:
56-
- kind: KonnectExtension
57-
name: my-konnect-config
58-
group: konnect.konghq.com
59-
deployment:
60-
podTemplateSpec:
61-
spec:
62-
containers:
63-
- name: proxy
64-
image: kong/kong-gateway:{{ site.data.gateway_latest.release }}
65-
' | kubectl apply -f -
66-
```
67-
68-
## Check the Ready status
69-
70-
<!-- vale off -->
71-
{% validation kubernetes-resource %}
72-
kind: DataPlane
73-
name: dataplane-example
74-
conditionType: Ready
75-
reason: Ready
76-
{% endvalidation %}
77-
<!-- vale on -->
78-
79-
If the `DataPlane` has `Ready` condition set to `True` then you can visit {{site.konnect_short_name}} and see the dataplane in the list of connected Data Planes for your Control Plane.
39+
{% include /how-tos/steps/operator-hybrid-data-plane.md %}

app/_how-tos/operator-get-started-hybrid-install.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Install {{ site.operator_product_name }} in {{ site.konnect_short_name }} hybrid mode
3-
description: "Learn how to install {{ site.operator_product_name }} in Konnect hybrid mode using Helm"
3+
description: "Learn how to install {{ site.operator_product_name }} in {{ site.konnect_short_name }} hybrid mode using Helm"
44
content_type: how_to
55

66
permalink: /operator/dataplanes/get-started/hybrid/install/
@@ -23,7 +23,7 @@ works_on:
2323
- konnect
2424

2525
min_version:
26-
kgo: '1.6.1'
26+
operator: '1.6.1'
2727

2828

2929
entities: []
@@ -41,19 +41,7 @@ tags:
4141
- helm
4242
---
4343

44-
{% assign gwapi_version = "1.3.0" %}
45-
46-
## Deploying Data Planes
47-
48-
{{ site.operator_product_name }} can deploy and manage Data Planes attached to a {{ site.konnect_short_name }} Control Plane. All the Services, Routes, and plugins are configured in {{ site.konnect_short_name }} and sent to the Data Planes automatically.
49-
50-
## Install CRDs
51-
52-
If you want to use Gateway API resources, run this command:
53-
54-
```shell
55-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v{{ gwapi_version }}/standard-install.yaml
56-
```
44+
{{ site.operator_product_name }} can deploy and manage data planes attached to a {{ site.konnect_short_name }} control plane. All the Services, Routes, and plugins are configured in {{ site.konnect_short_name }} and sent to the data planes automatically.
5745

5846
## Install {{ site.operator_product_name }}
5947

@@ -65,5 +53,4 @@ Wait for {{ site.operator_product_name }} to be ready
6553

6654
{% include prereqs/products/operator-validate-deployment.md %}
6755

68-
Once the `kong-operator-kong-operator-controller-manager` deployment is ready, you can deploy a `DataPlane` resource that is attached to a {{ site.konnect_short_name }} Gateway Control Plane.
69-
You can use [this guide](/operator/dataplanes/konnectextension/#konnect-control-plane-reference) to learn more about how to do this.
56+
Once the `kong-operator-kong-operator-controller-manager` deployment is ready, you can deploy a `DataPlane` resource that is attached to a {{ site.konnect_short_name }} Gateway control plane.

app/_how-tos/operator-konnect-control-plane.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Create a Control Plane
3-
description: "Create a Hybrid mode Control Plane in {{ site.konnect_short_name }}"
2+
title: Create a control plane
3+
description: "Create a Hybrid mode control plane in {{ site.konnect_short_name }}"
44
content_type: how_to
55

66
permalink: /operator/konnect/crd/control-planes/hybrid/
@@ -12,6 +12,10 @@ breadcrumbs:
1212
group: Konnect
1313
section: "Konnect CRDs: Control Planes"
1414

15+
series:
16+
id: operator-get-started-hybrid
17+
position: 2
18+
1519
products:
1620
- operator
1721

@@ -24,10 +28,12 @@ tags:
2428
- konnect-crd
2529

2630
tldr:
27-
q: How do I create a Hybrid mode Control Plane in {{ site.konnect_short_name }}?
31+
q: How do I create a Hybrid mode control plane in {{ site.konnect_short_name }}?
2832
a: Create a `KonnectGatewayControlPlane` object and add {{ site.konnect_short_name }} authentication.
2933

3034
prereqs:
35+
show_works_on: true
36+
skip_product: true
3137
operator:
3238
konnect:
3339
auth: true
@@ -53,7 +59,11 @@ spec:
5359
{% endkonnect_crd %}
5460
<!-- vale on -->
5561

56-
## Validation
62+
63+
{:.info}
64+
> Make sure that the `KonnectGatewayControlPlane` resource is in the same namespace as the `KonnectAPIAuthConfiguration` resource.
65+
66+
## Validate
5767

5868
<!-- vale off -->
5969
{% validation kubernetes-resource %}

app/_how-tos/operator-konnect-getstarted-authentication.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ entities: []
3030

3131
prereqs:
3232
skip_product: true
33+
show_works_on: true
3334

3435
---
3536

app/_how-tos/operator-konnect-getstarted-controlplane.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Create a Control Plane
3-
description: Define a Konnect Gateway Control Plane and bind it to your cluster using a `KonnectExtension`.
2+
title: Create a control plane
3+
description: Define a {{site.konnect_short_name}} Gateway control plane and bind it to your cluster using a `KonnectExtension`.
44
content_type: how_to
55
permalink: /operator/konnect/get-started/control-plane/
66
breadcrumbs:
@@ -16,31 +16,29 @@ series:
1616
position: 3
1717

1818
tldr:
19-
q: How do I create a Control Plane
19+
q: How do I create a control plane?
2020
a: |
21-
Define a `KonnectGatewayControlPlane` to point to your Konnect instance, and a `KonnectExtension` to bind your Data Plane or Gateway to it.
21+
Define a `KonnectGatewayControlPlane` to point to your {{site.konnect_short_name}} instance, and a `KonnectExtension` to bind your Data Plane or Gateway to it.
2222
2323
products:
2424
- operator
2525

2626
works_on:
2727
- konnect
2828

29-
entities: []
30-
3129
related_resources:
32-
- text: Deploy a DataPlane
30+
- text: Deploy a data plane
3331
url: /operator/dataplanes/get-started/hybrid/deploy-dataplane/
3432

3533
---
3634

3735
## Create a `KonnectGatewayControlPlane`
3836

39-
Use the `KonnectGatewayControlPlane` resource to define the {{site.konnect_short_name}} Control Plane that your CRDs will target. This enables your cluster to send configuration to Konnect.
37+
Use the `KonnectGatewayControlPlane` resource to define the {{site.konnect_short_name}} Control Plane that your CRDs will target. This enables your cluster to send configuration to {{site.konnect_short_name}}.
4038

41-
A `KonnectAPIAuthConfiguration` must already exist to authenticate with the Konnect API. If you haven’t created one yet, see [Create API Authentication](/operator/konnect/get-started/authentication/).
39+
A `KonnectAPIAuthConfiguration` must already exist to authenticate with the {{site.konnect_short_name}} API. If you haven’t created one yet, see [Create API Authentication](/operator/konnect/get-started/authentication/).
4240

43-
Apply the following configuration to define a Control Plane named `gateway-control-plane`:
41+
Apply the following configuration to define a control plane named `gateway-control-plane`:
4442

4543

4644
<!-- vale off -->
@@ -58,12 +56,15 @@ spec:
5856
{% endkonnect_crd %}
5957
<!-- vale on -->
6058

61-
This resource links your cluster to a specific Control Plane instance in {{site.konnect_short_name}} using the credentials provided in `konnect-api-auth`.
59+
This resource links your cluster to a specific control plane instance in {{site.konnect_short_name}} using the credentials provided in `konnect-api-auth`.
60+
61+
{:.info}
62+
> Make sure that the `KonnectGatewayControlPlane` resource is in the same namespace as the `KonnectAPIAuthConfiguration` resource.
6263
6364

64-
## Bind the Control Plane using a `KonnectExtension`
65+
## Bind the control plane using a `KonnectExtension`
6566

66-
To finalize the connection between your cluster and the {{site.konnect_short_name}} control plane, create a `KonnectExtension` object. This resource binds your local Gateway or Data Plane to the {{site.konnect_short_name}} control plane you've defined.
67+
To finalize the connection between your cluster and the {{site.konnect_short_name}} control plane, create a `KonnectExtension` object. This resource binds your local Gateway or data plane to the {{site.konnect_short_name}} control plane you've defined.
6768

6869
<!-- vale off -->
6970
{% konnect_crd %}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Deploy a data plane
3+
description: "Deploy a data plane using {{ site.operator_product_name }}."
4+
content_type: how_to
5+
6+
permalink: /operator/konnect/get-started/data-plane/
7+
series:
8+
id: operator-konnectcrds-get-started
9+
position: 4
10+
11+
breadcrumbs:
12+
- /operator/
13+
- index: operator
14+
group: Gateway Deployment
15+
- index: operator
16+
group: Gateway Deployment
17+
section: "Get Started"
18+
19+
products:
20+
- operator
21+
22+
works_on:
23+
- konnect
24+
25+
entities: []
26+
27+
tldr:
28+
q: How can I deploy a data plane with {{ site.operator_product_name }}?
29+
a: Create a `DataPlane` object and use the `KonnectExtension` reference.
30+
31+
prereqs:
32+
skip_product: true
33+
---
34+
35+
{% include /how-tos/steps/operator-hybrid-data-plane.md %}

app/_how-tos/operator-konnect-getstarted-install.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ products:
2121
works_on:
2222
- konnect
2323

24-
entities: []
25-
2624
prereqs:
2725
skip_product: true
2826

@@ -35,9 +33,7 @@ tags:
3533
- helm
3634
---
3735

38-
## Install {{site.operator_product_name}}
39-
40-
The {{site.operator_product_name}} can deploy and manage Data Planes connected to a {{ site.konnect_short_name }} Control Plane. Configuration for services, routes, and plugins is managed entirely through {{site.konnect_short_name}} and propagated automatically to Data Planes.
36+
{{site.operator_product_name}} can deploy and manage data planes connected to a {{ site.konnect_short_name }} control plane. Configuration for Services, Routes, and plugins is managed entirely through {{site.konnect_short_name}} and propagated automatically to data planes.
4137

4238
## Create the `kong` namespace
4339

@@ -47,16 +43,14 @@ Create the `kong` namespace in your Kubernetes cluster, which is where the Getti
4743
kubectl create namespace kong
4844
```
4945

50-
## Install the Operator
51-
52-
{% include prereqs/products/operator.md raw=true v_maj=1 %}
46+
## Install {{site.operator_product_name}}
5347

54-
{% include k8s/cert-manager.md %}
48+
{% include prereqs/products/operator.md raw=true v_maj=2 %}
5549

5650
### Wait for readiness
5751

58-
Wait for the {{site.operator_product_name}}'s controller deployment to become available before proceeding, ensuring it’s ready to manage resources:
52+
Wait for {{site.operator_product_name}}'s controller deployment to become available before proceeding, ensuring it’s ready to manage resources:
5953

6054
{% include prereqs/products/operator-validate-deployment.md %}
6155

62-
Once the {{site.operator_product_name}} is ready, you can begin provisioning Gateway Control Planes and Data Planes using {{site.konnect_short_name}} CRDs.
56+
Once the {{site.operator_product_name}} is ready, you can begin provisioning Gateway control planes and data planes using {{site.konnect_short_name}} CRDs.

app/_how-tos/operator-konnect-getstarted-key-auth.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Key Authentication
2+
title: Enable Key Authentication
33
description: Secure an API using the `key-auth` plugin and credentials from a `KongConsumer`.
44
content_type: how_to
55
permalink: /operator/konnect/get-started/key-authentication/
@@ -13,7 +13,7 @@ breadcrumbs:
1313

1414
series:
1515
id: operator-konnectcrds-get-started
16-
position: 7
16+
position: 8
1717

1818
tldr:
1919
q: How do I secure an API with key authentication using {{site.konnect_short_name}} CRDs?
@@ -29,7 +29,6 @@ tools:
2929
works_on:
3030
- konnect
3131

32-
entities: []
3332
next_steps:
3433
- text: See the Custom resource definitions (CRDs) reference
3534
url: /operator/reference/custom-resources/
@@ -83,19 +82,20 @@ Keys are stored as Kubernetes `Secrets` and Consumers are managed with the `Kong
8382

8483
1. Create a new `Secret` labeled to use `key-auth` credential type:
8584

86-
```bash
87-
echo '
88-
apiVersion: v1
89-
kind: Secret
90-
metadata:
91-
name: alex-key-auth
92-
namespace: kong
93-
labels:
94-
konghq.com/credential: key-auth
95-
stringData:
96-
key: hello_world
97-
' | kubectl apply -f -
98-
```
85+
```bash
86+
echo '
87+
apiVersion: v1
88+
kind: Secret
89+
metadata:
90+
name: alex-key-auth
91+
namespace: kong
92+
labels:
93+
konghq.com/credential: key-auth
94+
konghq.com/secret: "true"
95+
stringData:
96+
key: hello_world
97+
' | kubectl apply -f -
98+
```
9999

100100
1. Create a new Consumer and attach the credential:
101101

@@ -125,4 +125,4 @@ konnect_url: $PROXY_IP
125125
on_prem_url: $PROXY_IP
126126
{% endvalidation %}
127127

128-
The results will return successfully.
128+
The request should be successful.

0 commit comments

Comments
 (0)