-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Flux plugin #1872
Comments
yes please |
The progress on this is tracked here headlamp-k8s/plugins#75 The plugin should look for Flux installation on the Cluster and show different views related to Flux.
|
I see the more centralized discussion is ongoing here: |
@kingdonb , thank you for introducing headlamp, I did the helm install and can see the cluster and other k8s objects. I have build the flux plug and it stuck at
Do you have any idea why it's doing so? I am using Mac, and currently port forwarding to connect to pod/service. |
With the pod in a deployment, the plugin has to actually be installed in the pod. I just published (https://github.com/kingdonb/headlamp-flux-test) some manifests that I've been using to install headlamp on a local cluster, but I'm making some changes to try to get it to work on an openshift environment, I see #2226 is still in progress so I might have to wait to make more progress I'll make a few separate configs, one for without openshift, so it's easier to follow my example The short answer is if you build the plugin locally, you should try using it with a local headlamp (running on your mac) but I haven't tried that yet, been focusing on the in-cluster use case because I think it's what most people will want in the long run, especially flux users |
The canary image I've included in https://github.com/kingdonb/headlamp-flux-test is updated now to catch up with the latest changes in headlamp-k8s/plugins#75 I'm testing it on a k3s environment and so far so good. It installs into the
(Careful with that token, it has cluster-admin and can see everything across the whole cluster! Anyone who has access to the Kubernetes control plane port can exploit it, if you accidentally disclose it somehow.) You should be able to use this to test Headlamp out locally on a kind cluster or similar, and provide feedback about whether the deployed Flux plugin is able to meet your needs or still missing some key features. (Thank you for taking a look @absnmohammedsedex !) I don't recommend deploying it anywhere important until the flux plugin is vetted a bit more thoroughly and published into the catalog. I am seeing some kind of error that I'm not sure how to get the details of, it looks like the "something went wrong" screenshot above. I see some errors in the browser console but I'm not able to interpret them. If you want to see the Dockerfile I used to build, I also don't recommend adopting it for production, since you might want to use more plugins, and I haven't tested that, pretty sure it needs a bit more work for that, ... here is the branch I'm building: https://github.com/kingdonb/plugins/tree/build-plugins-docker It builds like this:
I'll try iterating on this for a little while longer until I get a better idea of what's wrong, but I have limited time today, may not get all the way there. (Good luck!) Edit: maybe the debugging experience would be better if I was testing it out locally... |
@kingdonb thank you again.
|
It's likely pending because of a persistent volume claim that is unfulfilled, I had to change mine from ReadWriteMany to ReadWriteOnce but depending on your environment you may not have a CSI driver for storage classes at all |
A Flux plugin would be very useful for all users of flux who would like a UI for it and who could also benefit from having it integrated in a generic K8s UI like Headlamp.
The text was updated successfully, but these errors were encountered: