I have installed traefik 1.7.9 with helm and rbac.enabled.
I added a new namespace and a service and it looks like traefik is not able to find the service, I am seeing below log messages
E1229 19:06:04.807288 1 reflector.go:205] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to list *v1.Service: v1.ServiceList.Items: v1.Service: v1.Service.ObjectMeta: v1.ObjectMeta.readObjectFieldAsBytes: expect : after object field, but found p, error found in #10 byte of ...|:{},"k:{"port":80,|..., bigger context ...|.sh/chart":{}}},"f:spec":{"f:ports":{".":{},"k:{"port":80,"protocol":"TCP"}":{".":{},"f:name":|...
E1229 19:06:05.810127 1 reflector.go:205] github.com/containous/traefik/vendor/k8s.io/client-go/informers/factory.go:86: Failed to list *v1.Service: v1.ServiceList.Items: v1.Service: v1.Service.ObjectMeta: v1.ObjectMeta.readObjectFieldAsBytes: expect : after object field, but found p, error found in #10 byte of ...|:{},"k:{"port":80,|..., bigger context ...|.sh/chart":{}}},"f:spec":{"f:ports":{".":{},"k:{"port":80,"protocol":"TCP"}":{".":{},"f:name":|...
{"level":"error","msg":"Service not found for api/login-manager","time":"2020-12-29T19:06:05Z"}
This is how the ingress configuration looks like
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: traefik
meta.helm.sh/release-name: login-manager
meta.helm.sh/release-namespace: api
traefik.frontend.rule.type: PathPrefixStrip
labels:
app.kubernetes.io/instance: login-manager
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: login-manager
app.kubernetes.io/version: 1.16.0
helm.sh/chart: login-manager-0.1.0
name: login-manager
namespace: api
spec:
rules:
- http:
paths:
- backend:
serviceName: login-manager
servicePort: 80
path: /api/login-manager