-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Story] KubernetesApi Discovery Mechanism #238
Comments
Hey @andrewazores, I wanna help out this issue if anyone is not taking on this yet. |
You will probably find cryostatio/cryostat-helm#111 helpful for testing out cryostat3 and your progress in a k8s setup. There is also the k8s smoketest in this repo, but I haven't tried it in a long time and a lot of things have otherwise changed about the smoketest since, so I'm not confident that that still works. |
Ah thanks! I will look into! If anything, I could help update the smoketest long the way. |
If you're motivated to do so then sure, but I think having -helm updated to deploy 3.0 is a good replacement for the k8s smoketest. I initially just put that k8s smoketest together because it was relatively simple and easy, but now that the smoketest.bash has gotten more complicated and uses compose file overrides and variable interpolations etc. it may not be so straightforward. |
Right, my knowledge of the smoketest is pretty outdated now so it would be pretty difficult indeed. I will utilize your changes on helm chart mostly. Tho, I guess if later on the operator/helm is fully updated to deploy 3.0 then we can use it for manual deploy and remove this k8s smoketest? If so, I might just not spend time on it. |
Yea, I think longer term the k8s smoketest will go away, and we will just use -helm and -operator like before when we need to deploy into k8s/OpenShift. |
There will be a bit of a behaviour change, planned for 2.4.1, that needs to be forward-ported to the new implementation as well: |
I think for 3.0 we can/should think about changing this default behaviour. Leaving the configuration for a list of port names and list of port numbers to match on makes sense, but perhaps we should default these both to empty lists and let it be up to the user to configure these. It is already the case in 3.0 that all the built-in discovery mechanisms are turned off by default and require the user to opt-in to each relevant one for their deployment scenario, so this change would also make sense from that angle. |
Sounds good to me! I will go in that direction to default to empty :)) |
@tthvo how's this going? Any progress to share yet? |
Oh sorry not much functional yet...still reading and porting parts from v2. I will wrap up the operator's scorecard asap and continue on this issue :)) |
Opened #325 for progress tracking btw :D |
Describe the feature
3.0 should bring forward the Kubernetes API discovery system from 2.x, where Cryostat gains a dependency on the fabric8 client and uses a Watcher or Informer on Endpoints objects to discover suitable target applications.
Anything other information?
No response
The text was updated successfully, but these errors were encountered: