Skip to content

Conversation

ruokun-niu
Copy link
Contributor

This pull request significantly expands and improves the documentation for using ingress in local Kubernetes clusters, specifically covering both kind and k3d environments. The changes provide detailed, step-by-step instructions for multiple scenarios, including direct port access, port forwarding, and using different ingress controllers (Contour and Traefik). The documentation now supports a wider range of local setups and offers clearer guidance for accessing deployed services.

Expanded local ingress documentation:

  • Added instructions for using ingress with both kind and k3d clusters, including the use of Contour and Traefik ingress controllers.
  • Provided detailed steps for direct port access and port forwarding in kind, including example configuration files and usage of the --local-cluster flag.
  • Introduced guidance for browser-based access (with /etc/hosts entries) and curl-based access (using Host headers) for both kind and k3d clusters.

k3d-specific improvements:

  • Added instructions for creating k3d clusters with Traefik disabled and using Contour, as well as using the built-in Traefik controller, including port mapping examples.
  • Explained how to access Drasi resources in k3d setups, mirroring the guidance provided for kind clusters.

Signed-off-by: ruokun-niu <[email protected]>
Signed-off-by: ruokun-niu <[email protected]>

**Method A: Browser Access (requires /etc/hosts entries)**

Add entries to `/etc/hosts` for each of your ingress resources:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added windows instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants