-
Notifications
You must be signed in to change notification settings - Fork 20
cluster, helm: Add new Helm-chart "splice-info" #332
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
base: main
Are you sure you want to change the base?
Conversation
672b440
to
1d1cf68
Compare
Thanks @giner . I haven't yet looked at it closely, but my main concern is that there's no tests for it. At a high level, we need to: deploy this in Pulumi (the Pulumi code is not yet in Splice though 😢 coming soon...), and add some logic to one of the preflight tests in |
Whatever gets it merged (or rejected, also works for me :)) faster. If DA folks could add tests let's do that. |
Definitely aiming at merge, not reject. Let me see if someone can carve out a bit of time for this then. |
1d1cf68
to
f90ad05
Compare
@giner CI is now open, would you like to add some tests and complete this? |
What sort of test would be useful here? |
@giner There's a few things missing to complete this:
Just let me know if you need any help around this. |
@nicu-da , thank you. I'll check p1. As for the rest, wouldn't it make sense to do that separately? This PR is only to add the helm chart and make ot available, not making it part of the deployment. |
@giner We would need the rest of the points as well to test that the helm chart is deployable as part of CI. |
@nicu-da, For p1 (helm tests) I'm having hard time coming up with something that would justify the need of maintaining these tests. What sort of tests do you think would be valuable? |
This helm charts runs a simple web-server to provide static deployment and dynamic runtime information as JSON files. - Static deployment configuration is published as JSON under / - Runtime part supports fetching DSO information from Scan and publishes it under /runtime/dso.json Signed-off-by: Stanislav German-Evtushenko <[email protected]>
430a814
to
5327dd2
Compare
- Nginx requires very little resources so we can reduce "requests" Before: 0.25 CPU x 256 MiB RAM After: 0 CPU x 32 MiB RAM Signed-off-by: Stanislav German-Evtushenko <[email protected]>
5327dd2
to
6a72f95
Compare
My thoughts were only around the generated config map in |
Noted, will do. As for p2 and p3. I have more or less idea of the changes I need to make however I'm not certain on how to iteratively test them. The deployment doesn't seem to be suitable for local deployment (it looks like it's not cloud agnostic, i.e. I won't be able to run it on my local k8s, and it may also require some external dependencies that I don't have) so I can't run it locally. Pushing through CI is likely to be slow because the deploy process takes time and requires an approval for each change. Any suggestions? |
Yes unfortunately that's the current state. We will try to improve this in the future. |
- Add unit tests for templating configmap-content-static_test.yaml Signed-off-by: Stanislav German-Evtushenko <[email protected]>
cluster/helm/splice-info/tests/configmap-content-static_test.yaml
Outdated
Show resolved
Hide resolved
This change is still WIP, will be updated soon
bb87d73
to
8cd2c4b
Compare
It needs scan and not sequencer
This helm charts runs a simple web-server to provide static deployment and dynamic runtime information as JSON files.