I’m in a middle of a process of adapting convox for the company i work for. I started with provisioning my cluster on Digital Ocean. Everything went more or less smoothly, however i needed to spent some time in Kubernetes Dashboard (provided by DigitalOcean) to debug some internal app issues around missing ENV vars etc.
When everything was in place and working, i removed the DO cluster and started provisioning on AWS (as my company uses AWS for everything). Using the exact same setup, my app is not started and i’m not sure what’s the proper way of debug that as i have no access to Kubernetes Dashboard (AWS does not provides it out of the box like DO did, i would need to install that on my own). Without being able to access pod logs, i can’t really tell why my app is not starting:
➜ my-rails-app git:(CMS-834) ✗ convox releases promote RJMESMCGZYR Promoting RJMESMCGZYR... 2020-03-06T08:10:33Z system/k8s/atom/app Status: Reverted => Pending 2020-03-06T08:10:34Z system/k8s/web Scaled up replica set web-6d88864d9f to 1 2020-03-06T08:10:34Z system/k8s/atom/app Status: Pending => Updating 2020-03-06T08:10:35Z system/k8s/web-6d88864d9f-s9k7v Container image "580245656094.dkr.ecr.us-east-2.amazonaws.com/company-name/my-rails-app:web.BBMOWHKESOO" already present on machine 2020-03-06T08:10:35Z system/k8s/web-6d88864d9f-s9k7v Created container main 2020-03-06T08:10:35Z system/k8s/web-6d88864d9f-s9k7v Started container main 2020-03-06T08:10:42Z system/k8s/web-6d88864d9f-s9k7v Readiness probe failed: Get http://10.1.70.33:3000/: dial tcp 10.1.70.33:3000: connect: connection refused 2020-03-06T08:10:45Z system/k8s/web-6d88864d9f-s9k7v Back-off restarting failed container ERROR: rollback
Is there any way i could see what happened in the container during a deploy using convox CLI? Any command i’m not aware of? Using
convox logs gives me the exact same output as above.
Thanks in advance!