Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update traefik v2 ingresss spec example to reflect changes made in k8s 1.23.x. #351

Merged
merged 2 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion traefik2-nodeport/manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Traefik-v2-nodeport
title: Traefik v2 (NodePort)
version: "2.5"
version: "2.6"
default: true
maintainer: "[email protected], [email protected]"
description: An open source Edge Router working as an ingress controller and load balancer inside your kubernetes cluster.
Expand Down
15 changes: 9 additions & 6 deletions traefik2-nodeport/post_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ metadata:
spec:
rules:
- host: www.example.com
http:
paths:
- path: /
backend:
serviceName: yourapp-service
servicePort: http
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: yourapp-service
port:
number: 80
```

Traefik also includes a CRD called IngressRoute, which would look like this:
Expand Down