kubernetes-app
kubernetes-app copied to clipboard
App should support token auth
It would be so much simpler to install if the app were to use token auth not just private key auth because then people could create service accounts and use the app with a proper RBAC setup.
As it stands, the way you create TLS certs you have to use openssl and have access to the CA private key, at least with token you can use kubectl.
I'm not entirely sure, but a combination of the anonymous users change in 1.6 and the lack of access, afaik, to the root CA private key in GKE means this app is currently not usable out of the box in Google Kubernetes Engine since I can't generate a x509 cert there. I think I either have to grant more permissions to the system:anonymous user or make a proxy that uses tokens to use this app as-is.
Same issue here. Adding a proxy in K8S that puts the token in the header was our workaround.
I agree using a ServiceAccount would be much more sensible, but I'm also not sure why this app even needs cluster access for a manual install? All metrics are available in Prometheus and that is fully accessible as a data source.
As I understand it, the app uses cluster access so you can have faster updates on the dropdowns than your scrape time. But the point is rather moot as this project is abandoned so I would recommend the prometheus-operator's kube-prometheus grafana stuff.
Ah. I guess I did the right thing in creating my own dashboard after all. There are some pretty good ones in the community to use as a starting point.
This one is pretty nice: https://grafana.com/dashboards/7824
Amazons EKS also does not let you have the TLS certs. Token auth would be very nice.
Same issue here. Adding a proxy in K8S that puts the token in the header was our workaround.
Could you please share your workaround ?
Any update about if adding support for Token auth is planned?
@cjmateos this project is abandoned. Look to prometheus-operator's kube-prometheus dashboards :(
@iMartyn Our team used prometheus-operator about 1.5 year. we think it's not a good idea for production envrionment. it's simple, but use a centerlized grafana is better than detached deploy method.
kubernetes-app seems better, it should not be abandoned, it should be an good option for different architecture.