Skip to content

Commit dda3e5b

Browse files
authored
Merge pull request #3640 from kundan2707/kong_update
updated kong ingress documentation
2 parents b39bf4d + d27d880 commit dda3e5b

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

site/content/docs/user/ingress.md

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -83,52 +83,6 @@ Note, the example in [Using Ingress](#using-ingress) will not work with Contour
8383

8484
Additional information about Contour can be found at: [projectcontour.io](https://projectcontour.io)
8585

86-
### Ingress Kong
87-
88-
Deploy [Kong Ingress Controller (KIC)](https://docs.konghq.com/kubernetes-ingress-controller/2.1.x/concepts/design/).
89-
90-
{{< codeFromInline lang="bash" >}}
91-
kubectl apply -f https://raw.githubusercontent.com/Kong/kubernetes-ingress-controller/master/deploy/single/all-in-one-dbless.yaml
92-
{{< /codeFromInline >}}
93-
94-
Apply kind specific patches to forward the `hostPorts` to the ingress controller, set taint tolerations, and schedule it to the custom labeled node.
95-
96-
```json
97-
{{% readFile "static/examples/ingress/kong/deployment.patch.json" %}}
98-
```
99-
100-
Apply it by running:
101-
102-
{{< codeFromInline lang="bash" >}}
103-
kubectl patch deployment -n kong proxy-kong -p '{{< minify file="static/examples/ingress/kong/deployment.patch.json" >}}'
104-
{{< /codeFromInline >}}
105-
106-
Apply kind specific patch to change service type to `NodePort`:
107-
108-
```json
109-
{{% readFile "static/examples/ingress/kong/service.patch.json" %}}
110-
```
111-
112-
Apply it by running:
113-
114-
{{< codeFromInline lang="bash" >}}
115-
kubectl patch service -n kong kong-proxy -p '{{< minify file="static/examples/ingress/kong/service.patch.json" >}}'
116-
{{< /codeFromInline >}}
117-
118-
KIC can be used to configure ingress now.
119-
120-
You can try the example in [Using Ingress](#using-ingress) at this moment,
121-
but KIC will not automatically handle `Ingress` object defined there.
122-
`Ingress` resources must include `ingressClassName: kong` under `spec` of `Ingress` for being controlled by Kong Ingress Controller (it will be ignored otherwise).
123-
So once the example has been loaded, you can add this annotation with:
124-
125-
{{< codeFromInline lang="bash" >}}
126-
kubectl patch ingress example-ingress -p '{"spec":{"ingressClassName":"kong"}}'
127-
{{< /codeFromInline >}}
128-
129-
Refer [Using Ingress](#using-ingress) for primary example usage.
130-
131-
13286
### Ingress NGINX
13387

13488
{{< codeFromInline lang="bash" >}}

0 commit comments

Comments
 (0)