Open m4dm4rtig4n opened 2 years ago
I have found in your code : https://github.com/pawelmalak/flame/blob/446b4095f6bb06e0f878efb4ac1f990a5ae7d39c/controllers/apps/docker/useKubernetes.js#L35
It's possible to scan IngressRoute in addition to ingress ?
Umh, it seems that Flame can't connect to the k8s API :
[2022-05-30 12:47:12.444 UTC+0] [ERROR] Can't connect to the Kubernetes API
I expected for flame to connect to api via kubernetes.default.svc
, as advised by kubernetes here but I am getting the same issue.
Using the manifest files in the k8s directory worked for me. I also think adding support for ingressroute is a good idea.
Same here. Aside from not claiming a volume for persistence and needing to manually apply them to the same namespace, the end result is a working flame. It scans annotations added to Ingress objects no problem.
But I also use Traefik so all my services use IngressRoutes. Woops.
If anyone is looking to add that functionality it might be better to just build it for the k8s api gateway since that seems to be a more standardized replacement for what ingressroutes were designed for.
Using the manifest files in the k8s directory worked for me. I also think adding support for ingressroute is a good idea.
Which file did you use? shokohsc or other ?
For information, i have found chart working with k8s integration : https://artifacthub.io/packages/helm/rlex/flame
And i have create issue in TrueCharts project for flame : https://github.com/truecharts/charts/issues/3392 (An up is welcome :))
I used the files in the k8s/base directory with some modifications to add persistence. I would check if ur rbac is configured properly.
Hello, I try to use k8s discovery but i don't found where i must set annotation :