Skip to content

Commit

Permalink
Merge pull request #3787 from aojea/ingress_local
Browse files Browse the repository at this point in the history
update ingress docs
  • Loading branch information
k8s-ci-robot authored Nov 8, 2024
2 parents eb1e9ba + f138420 commit 74acdf7
Show file tree
Hide file tree
Showing 2 changed files with 675 additions and 3 deletions.
4 changes: 1 addition & 3 deletions site/content/docs/user/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ nodeSelector:
### Ingress NGINX

{{< codeFromInline lang="bash" >}}
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl apply -f {{< absURL "examples/ingress/deploy-ingress-nginx.yaml" >}}
{{< /codeFromInline >}}

Now the Ingress is all setup. Wait until is ready to process requests running:
Expand All @@ -83,8 +83,6 @@ Refer [Using Ingress](#using-ingress) for a basic example usage.
The following example creates simple http-echo services
and an Ingress object to route to these services.

Note, this example uses an nginx-specific Ingress annotation which may not be supported by all Ingress implementations.

```yaml
{{% readFile "static/examples/ingress/usage.yaml" %}}
```
Expand Down
Loading

0 comments on commit 74acdf7

Please sign in to comment.