mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
Fix site link to LoadBalancer page
The current rendered site does not correctly link local in-repo documents. This results in the LoadBalancer links on the Ingress User Guide pages going to a 404. Unfortunately this behavior is different between "normal" markdown rendering in local IDEs and while viewing source files in GitHub. But this change makes the rendered public site correctly link to the page. Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ description: |-
|
||||
Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster.
|
||||
|
||||
1. [Create a cluster](#create-cluster): There are two primary methods to direct external traffic to Services inside the cluster:
|
||||
1. using a [LoadBalancer](./loadbalancer.md).
|
||||
1. using a [LoadBalancer].
|
||||
2. leverage KIND's `extraPortMapping` config option when creating a cluster to forward ports from the host.
|
||||
|
||||
2. Deploy an Ingress controller, we document [Ingress NGINX](#ingress-nginx) here but other ingresses may work including [Contour](https://projectcontour.io/docs/main/guides/kind/) and Kong, you should follow their docs if you choose to use them.
|
||||
@@ -27,7 +27,7 @@ Ingress exposes HTTP and HTTPS routes from outside the cluster to services withi
|
||||
|
||||
#### Option 1: LoadBalancer
|
||||
|
||||
Create a kind cluster and run [Cloud Provider KIND](./loadbalancer.md)
|
||||
Create a kind cluster and run [Cloud Provider KIND]
|
||||
to enable the loadbalancer controller which ingress-nginx will use through the loadbalancer API.
|
||||
|
||||
{{< codeFromInline lang="bash" >}}
|
||||
@@ -140,3 +140,6 @@ curl localhost/foo
|
||||
|
||||
curl localhost/bar
|
||||
{{< /codeFromInline >}}
|
||||
|
||||
[LoadBalancer]: /docs/user/loadbalancer/
|
||||
[Cloud Provider KIND]: /docs/user/loadbalancer/
|
||||
|
||||
Reference in New Issue
Block a user