-
Notifications
You must be signed in to change notification settings - Fork 239
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
Unable to get interactive prompt when running rails c
#1032
Comments
I was thinking it might be a memory constraint but I just noticed that the nightly namespace actually had more memory defined than the default. |
Hey @nikokon, thanks for the bug report! I've just added the There could be multiple issues here, it seems that if the logs are getting printed you're most likely running into a memory constraint. In the case that the logs aren't getting printed, one potential limitation is when the cluster doesn't have enough resources to create the ephemeral pod with the assigned resources, the cluster may trigger a scale-up of nodes. However, this doesn't happen in 10-second window that the ephemeral pod is allocated, and so the pod gets deleted before the new node is ready. |
Sorry for the delay, been off the computer for a few days. So, I've been running the command a few times now running CLI version 0.7.4
On this try it worked, as well as a couple of seconds later when I retried again.
|
Interesting, this is really useful -- thanks! Here's my best guess at what's happening:
The pod that the config is being copied from must have a really large memory request if it doesn't fit on an existing node. There are a few options to resolve this:
What do you think? Any other options you can think of? |
@abelanger5 sorry for the late reply. I think both flags could be useful combined with some logs explaining the issue. |
Description
I’m trying to run a rails console but it seems to exit and delete the pod without prompting for input. Running against a running pod using -e is working as usual.
When debugging the issue further I notice that it was working in the "default" namespace but neither "development" nor "nightly" where the same app was living.
Location
Steps to reproduce
Additional Details
porter logs:
The text was updated successfully, but these errors were encountered: