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

Deploy Myddleware on K8S #1083

Open
Abdalla1297 opened this issue Nov 2, 2023 · 4 comments
Open

Deploy Myddleware on K8S #1083

Abdalla1297 opened this issue Nov 2, 2023 · 4 comments

Comments

@Abdalla1297
Copy link

hi i want to deploy Myddleware on K8S can you Guide me

@Abdalla1297
Copy link
Author

Abdalla1297 commented Nov 2, 2023

when i create an image using Dockerfile it didn't work i looked up for the logs of the container and found that there is some commands in the myddleware-foreground.sh didn't done
image
what should i do
the error is
image
on the browser

@AlexMyddleware
Copy link
Collaborator

hi @Abdalla1297, could you give some information about your environment ? First of all, it seems you are in prod, so if we want to get more specific info from your error 500, you would need to get your .env and put

APP_ENV=dev
APP_DEBUG=true

(better yet make sure you have a .env.local)

do you have some logs that we can see ?

@Abdalla1297
Copy link
Author

Abdalla1297 commented Nov 8, 2023

Hello @AlexMyddleware
I was just trying to create an image on my local machine in order to test it first before deploying it on the cluster, and I didn't edit any .env file, I just used Command Docker Build and Docker Run like the documentation and these problems appeared to me, and I installed cron and reslog and modified them. Their files, and I put the old files (crontab, rsyslog.conf) and restarted them again. However, the same problem appears to me. I restarted the container and had the same problem error 500 but the other from cron and rsyslog didn't appear in container logs , and I don’t know what is the solution.
the container logs now
image
the browser response
image

@CamillePMyddleware
Copy link
Collaborator

Hello @Abdalla1297,

Thank you for sharing the details of your issue with the deployment.

We are currently working on fixes for deployment via Docker, but these are not yet complete. In the meantime, I can suggest using the basic installation of Myddleware.

You will find the instructions for the basic installation here: https://myddleware.github.io/myddleware/#/?id=install-myddleware.

I hope this will help you make progress in your deployment. Please do not hesitate to get back to us if you have any other questions or encounter further issues.

Thanks and have a nice day

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

No branches or pull requests

3 participants