You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to containers, docker, and kubernetes, so this might be a stupid request, but I can't actually figure out a good way to log into macless-haystack if I have this as a container in a kubernetes pod.
In docker, it is simple to just run a container in interactive mode, but the container gets in an error state and therefore I cannot exec into it from kubernetes to log in before it tries restarting itself.
The text was updated successfully, but these errors were encountered:
Set your command in your pod's container definition to :
command:
- /bin/sh
- -c
- while sleep 60; do echo '.'; done
then you can kubectl exec -ti into the pod, and run the command interactively. When you're logged in, then you can exit the container, remove the command, and it will run normally.
New to containers, docker, and kubernetes, so this might be a stupid request, but I can't actually figure out a good way to log into macless-haystack if I have this as a container in a kubernetes pod.
In docker, it is simple to just run a container in interactive mode, but the container gets in an error state and therefore I cannot exec into it from kubernetes to log in before it tries restarting itself.
The text was updated successfully, but these errors were encountered: