-
Notifications
You must be signed in to change notification settings - Fork 48
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 deployment templates, charts, documentation #179
base: main
Are you sure you want to change the base?
Conversation
Thanks a lot for this contribution! I see that you included two plugins for the web ui. Are they included intentionally or is this WIP related to the ticket being discussed in the basyx-application repository? |
Good point! I added them as example for deploying multiple UserPlugins, and I should remove the Time-Series Plugin, as it is additional functionality, which probably isn't as relevant to readers. |
Reason for making a local copy of the HelloWorldPlugin:
|
Thanks for elaborating and adapting the PR. For the aas registry, in templates there is still a aas-environment-ingress.yaml instead of a aas-registry-ingress.yaml - this is most likely just a naming mistake, right? |
Yup! It's a naming mistake on my part! |
@FrankSchnicke, I think this PR is ready for the current state of the repository.
|
Thanks a lot for the updates! We're taking a detailed look at the Helm Charts right now and will come back with more feedback/questions soon. |
Hi @abhishekmaha23 , Thanks for providing the charts :) I followed your step by step explanation in Readme, and the service is deployed:
But the aas-environment is not running and showing Init:CrashLoopBackOff and throwing exceptions each time and getting restarted:
I tried checking the logs and here it is:
I am using local minikube as of now. Do you know what could be the possible reasons for this? |
My mistake, I missed an edge-condition on startup AASX files being auto-added to the AAS environment container (currently pulled from a public git repository, but fully optional!) |
I tried with this patch but it is throwing some parsing errors (maybe an indentation problem or chomping issue):
So, just to try it out I removed all configurations related to the startup from aas-env-deployment.yaml but then the aas-env pod is looping in Init:CrashLoopBackOff again. |
Hi @abhishekmaha23, Did you have a chance to check this? |
Apologies for the delay! I've been away the last couple of weeks and will fix and update the charts within a couple of days.. |
Hi @abhishekmaha23 , Does this latest commit (9e57b9e) fix the issues? |
There's still some CORS problems, so I'm updating them right away. |
Thanks @abhishekmaha23 for the changes. Below are some of the remarks:
|
Hi @abhishekmaha23 |
Apologies @mdanish98 ! |
Hi @abhishekmaha23 , Does your latest commit contain all the requested changes? |
Not yet, but I haven't abandoned working on it yet! |
Could you please share the status of this PR? |
Regarding #178
This PR adds an initial version of Helm charts, templates and configuration documentation to the examples folder.
As much as possible, external charts are used - this is tested on a Rancher based Kubernetes setup, and further tests on cloud providers may be useful to test usefulness.
As the project gains more features and stability, this may be connected to a CI/CD pipeline and uploaded to ArtifactHub, so that it becomes easier to use.
Some shortcomings have been identified and bypassed to ensure a working deployable setup, and these are described in the README.md.