Hello
I have configured a kubernetes service and deployment. I have exposed the port 4984. I can curl through it directly thru the pod or through the service,
However the traefik 2 dashboard shows the service red and returns 404
Hello
I have configured a kubernetes service and deployment. I have exposed the port 4984. I can curl through it directly thru the pod or through the service,
However the traefik 2 dashboard shows the service red and returns 404
Hello @ekjuanrejon,
Can you provide your IngressRouteTCP object, and your traefik configuration?
{
"routers": {
"traefik2-traefik2-dashboard-6ea17d312c4cc7fcaaac@kubernetescrd": {
"entryPoints": ["websecure"],
"service": "traefik2-traefik2-dashboard-6ea17d312c4cc7fcaaac",
"rule": "HOST(`xxx.xxxx-xxx.com`)",
"tls": {
"certResolver": "xxx"
},
"status": "enabled",
"using": ["websecure"]
}
},
"services": {
"traefik2-traefik2-dashboard-6ea17d312c4cc7fcaaac@kubernetescrd": {
"loadBalancer": {
"servers": [{
"url": "http://10.244.3.43:9000"
}],
"passHostHeader": true
},
"status": "enabled",
"usedBy": ["traefik2-traefik2-dashboard-6ea17d312c4cc7fcaaac@kubernetescrd"],
"serverStatus": {
"http://10.244.3.43:9000": "UP"
}
}
},
"tcpRouters": {
"couchbase-syncgateway-dev-syncgateway-external-49ed1f12411af8cb3969@kubernetescrd": {
"entryPoints": ["syncgateway"],
"service": "couchbase-syncgateway-dev-syncgateway-external-49ed1f12411af8cb3969",
"rule": "HostSNI(`xxx.xx.xx-xx.com`)",
"tls": {
"passthrough": false,
"certResolver": "xxxx"
},
"status": "enabled",
"using": ["syncgateway"]
}
},
"tcpServices": {
"couchbase-syncgateway-dev-syncgateway-external-49ed1f12411af8cb3969@kubernetescrd": {
"loadBalancer": {
"terminationDelay": 100,
"servers": [{
"address": "10.244.3.42:4985"
}]
},
"status": "enabled",
"usedBy": ["couchbase-syncgateway-dev-syncgateway-external-49ed1f12411af8cb3969@kubernetescrd"]
}
}
}
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: syncgateway-external
namespace: couchbase-xxxx-xxx
spec:
entryPoints:
- syncgateway
routes:
- match: HostSNI(`syncgateway1.xx.xxx-xxx.com`)
services:
- name: couchbase-syncgateway
port: 4984
tls:
certResolver: xxx
options: {}
Any update about that? I have the same issue
Seems to be inconsistent information, on the screen shot the port is 4984 but in the json dynamic configuration dump. Is it coming from a different provider?
Also how do you curl directly thru the pod, what command line are you using and where are you running it from?