-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add Helm chart and workflow #381
Conversation
Signed-off-by: Yasumasa Suenaga <[email protected]>
I want to discuss about following things:
|
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#api-object Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Update this PR for the installation is more secure:
|
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## dev #381 +/- ##
==========================================
+ Coverage 74.21% 74.67% +0.46%
==========================================
Files 77 77
Lines 2637 2646 +9
Branches 266 268 +2
==========================================
+ Hits 1957 1976 +19
+ Misses 598 589 -9
+ Partials 82 81 -1 |
Would love to test this so we can get this through. Happy to connect tomorrow? (maybe late Uk time/ morning Japan? (lets slack) |
This video is demonstration of the PR. Note that installing the SDK from local directory ( ~/github-forked/carbon-aware-sdk/helm-chart ), not an OCI container. helm-install.mp4 |
@YaSuenag as discussed, 2-3 things:
|
Discussed about this in: - Green-Software-Foundation#392 (comment) - Green-Software-Foundation#381 (comment) Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
Thanks @danuw for your comment! I reverted the change of ADR, and also added link to the video into overview.md . I hope you can review this PR. |
I, Yasumasa Suenaga <[email protected]>, hereby add my Signed-off-by to this commit: 4e0b3a1 Signed-off-by: Yasumasa Suenaga <[email protected]>
I added empty commit to add DCO in e6e1734 , but DCO action still fails... I hope maintainer updates status manually. |
As I wrote in description, this PR contains new workflow "publish-helm-chart.yaml". This workflow expects to kick manually, and publish the chart asynchronously with CASDK release. In most case, products and its Helm chart is different version. They are distinguished by Let's think three cases in below:
@danuw Let me know if we need to update #252 , and if publish-helm-chart.yaml needs to compliant with some manners in that issue. |
@@ -0,0 +1,41 @@ | |||
name: Publish Helm chart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we include a number in the workflow name so it shows up at the right place in the workflow list - (maybe 4 or 5?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 5 is better because this is not included in release workflow of the SDK.
But I cannot find about 5 in #252 (comment) . Can I use 5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave number 5 to Helm chart in new commit. Let me know if it has problem(s).
Signed-off-by: Yasumasa Suenaga <[email protected]>
Hi @YaSuenag, I tested this and may be related to my lack of knowledge of helm charts at the moment. what I got was :
helm-chart % kubectl get svc -n carbon-aware-sdk
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
webapi NodePort 10.43.3.203 <none> 80:30438/TCP 7m33s so I had to change the command to use so finally when i run
|
Thanks @danuw for reviewing this!
Maybe you need to access with hostname which you installed Kubernetes. For example, your Kubernetes runs on "k8shost", you need to test with
I added it in commit e6e1734 , however it does not seem to be detected by DCO workflow. Can you ignore this error? |
Signed-off-by: Yasumasa Suenaga <[email protected]>
Signed-off-by: Yasumasa Suenaga <[email protected]>
I updated this PR with 2 commits:
Can you get the result from healthcheck endpoint?
|
@danuw to review this PR on another machine - aiming for week of 14 November 2023 |
@danuw any updates on this? |
@danuw @YaSuenag This is how I tested it:
I attach the screen captures. They show that the chart works as expected. |
Thank you @tiwatsuka for the review with detailed steps. LGTM - Approved and will override DCO as discussed with @YaSuenag |
Pull Request
Issue Number: none, but it relates to #333
Summary
Add and publish Helm chart for Web API
Changes
samples/helmexample
helm-chart
publish-helm-chart.yaml
to publish the chart to GitHub Container RegistryChecklist
Are there API Changes?
No
Is this a breaking change?
No