mirror of https://github.com/msgbyte/tailchat
chore: add k8s ingress router(traefik) and health check
health check help us if pod not ready, dont add into load balance listpull/90/head
parent
43cc8e34a3
commit
1856be3539
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
@ -0,0 +1,19 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress
|
||||
namespace: tailchat
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/routing-type: edge
|
||||
spec:
|
||||
rules:
|
||||
- host: tailchat.internal.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: tailchat-service
|
||||
port:
|
||||
number: 11000
|
Loading…
Reference in New Issue