Add Ingress resource for app-test-1 with Traefik configuration
This commit is contained in:
parent
a7f18e547e
commit
094e1ee5f3
@ -41,3 +41,22 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
selector:
|
selector:
|
||||||
app: app-test-1
|
app: app-test-1
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: app-test-1-ingress
|
||||||
|
namespace: app-test-1
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: app-test-1-svc
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user