Skip to content
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

Helm improvement #281

Merged
merged 11 commits into from
Jan 30, 2024
Merged

Conversation

tunacicek
Copy link
Contributor

Description

helm improvement.

  • Add _helper.tpl and define functions for (Chart Name, etc.)

@tunacicek tunacicek mentioned this pull request Jan 12, 2024
6 tasks
charts/registry/values.yaml Outdated Show resolved Hide resolved
Copy link

@evegufy evegufy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tunacicek, I think it was quite good how you used the templates before this commit.
With my comment regarding defining the templates in unique manner, I meant instead of defining chart.name it's better to dtr.name and so on, here an example.
Sorry if the commit was inspired by the portal chart, I put unique template names also on my TODO list.

@tunacicek
Copy link
Contributor Author

@evegufy : I got it. I've made the changes, thanks.

@tunacicek tunacicek requested a review from evegufy January 24, 2024 06:29
@evegufy
Copy link

evegufy commented Jan 24, 2024

@evegufy : I got it. I've made the changes, thanks.

@tunacicek the templates look good to me now 👍

Probably not related to the templates, but when installing locally (without any additional configuration) the readiness probes for the deployment are failing:
image
Other than the readiness probe, everything looks fine (pod starts up), at least as far I can tell.

@tunacicek
Copy link
Contributor Author

@evegufy : Thank you for your feedback. I checkout the branch again and run it locally. In my case, the health checks (readiness, etc.) are running successfully. I can't reproduce the behavior. It may have taken a while for the service to start.

@evegufy
Copy link

evegufy commented Jan 29, 2024

@evegufy : Thank you for your feedback. I checkout the branch again and run it locally. In my case, the health checks (readiness, etc.) are running successfully. I can't reproduce the behavior. It may have taken a while for the service to start.

@tunacicek I tested a bit more, besides on my mac also on my linux machine.
I didn't observe the behaviour on linux and noticed then that on my mac the container never had enough time to start up entirely before the probes were causing a restart.
As a short term measure, I recommend increasing the initialDelaySeconds for readinessProbe and livenessProbe to 300 seconds as that solved the issue for me.
And you should look into providing the image also for a arm64 cpu architecture, for better performance on newer macs.

@tunacicek
Copy link
Contributor Author

@evegufy : Thank you for your feedback. I checkout the branch again and run it locally. In my case, the health checks (readiness, etc.) are running successfully. I can't reproduce the behavior. It may have taken a while for the service to start.

@tunacicek I tested a bit more, besides on my mac also on my linux machine. I didn't observe the behaviour on linux and noticed then that on my mac the container never had enough time to start up entirely before the probes were causing a restart. As a short term measure, I recommend increasing the initialDelaySeconds for readinessProbe and livenessProbe to 300 seconds as that solved the issue for me. And you should look into providing the image also for a arm64 cpu architecture, for better performance on newer macs.

@evegufy ,
for the image arm64 topic i will create a issue.
I made the values ​​for readinessProbe and livenessProbe configurable.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tunacicek tunacicek merged commit f1f95b9 into eclipse-tractusx:main Jan 30, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants