I am stuck with what seems to be an easy question to answer but I am not able to find a solution out there so here we go.
I would like to use kubernetes to run containers with scientific software (i.e. https://github.com/AMIGA-IAA/hcg-16/blob/master/docker/Dockerfile.casa.5.1).
I am starting with a simple test. The same way I successfully run:
docker run -t amigahub/casa:v1.0 --help
I am expecting the following command to behave similarly:
microk8s.kubectl run -i -t casa --image=amigahub/casa:v1.0 – --help
It seems to do the trick but then the pod enters in the “CrashLoopBackOff” status and I am not able to execute any commands inside the container again.
It looks like the way I built the container for Docker is not appropriate for Kubernetes. Do containers need to stick to certain requirements to be deployed with kubernetes?