Fix Ingress resources in docs (#7579)
* fix Ingress resources in docs Signed-off-by: Gerald Pape <gerald@giantswarm.io> * move to ingressClassName * fix more Ingress resource examples * empty commit Signed-off-by: Gerald Pape <gerald@giantswarm.io> * make NOTES.txt aware of version + add notice about ingress version to examples main page * add link to legacy documentation Signed-off-by: Gerald Pape <gerald@giantswarm.io>
This commit is contained in:
parent
b7b2714b69
commit
017e1ecde3
25 changed files with 62 additions and 25 deletions
|
|
@ -13,10 +13,8 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-myservicea
|
||||
annotations:
|
||||
# use the shared ingress-nginx
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: myservicea.foo.org
|
||||
http:
|
||||
|
|
@ -67,7 +65,7 @@ spec:
|
|||
backend:
|
||||
service:
|
||||
name: myservicea
|
||||
port:
|
||||
port:
|
||||
number: 80
|
||||
ingressClassName: nginx
|
||||
---
|
||||
|
|
@ -85,7 +83,7 @@ spec:
|
|||
backend:
|
||||
service:
|
||||
name: myserviceb
|
||||
port:
|
||||
port:
|
||||
number: 80
|
||||
ingressClassName: nginx
|
||||
```
|
||||
|
|
|
|||
|
|
@ -64,12 +64,12 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "FCGI"
|
||||
nginx.ingress.kubernetes.io/fastcgi-index: "index.php"
|
||||
nginx.ingress.kubernetes.io/fastcgi-params-configmap: "example-cm"
|
||||
name: example-app
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: app.example.com
|
||||
http:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ metadata:
|
|||
annotations:
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: test.com
|
||||
http:
|
||||
|
|
@ -59,6 +60,7 @@ kind: Ingress
|
|||
metadata:
|
||||
name: test-ingress-1
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: test.com
|
||||
http:
|
||||
|
|
@ -87,6 +89,7 @@ metadata:
|
|||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: test.com
|
||||
http:
|
||||
|
|
@ -144,6 +147,7 @@ metadata:
|
|||
annotations:
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: test.com
|
||||
http:
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ In the Zipkin interface we can see the details:
|
|||
metadata:
|
||||
name: echo-ingress
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: example.com
|
||||
http:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue