sixfeetup / scaf

scaf provides developers and DevOps engineers with a complete blueprint for a new project using Kubernetes
BSD 3-Clause "New" or "Revised" License
80 stars 12 forks source link

Setup refinement: `make shell` in instructions doesn't work #236

Open daveoconnor opened 3 months ago

daveoconnor commented 3 months ago

➜ deploytest make shell [19:40] fatal: not a git repository (or any of the parent directories): .git WARN[0000] /home/doc/work/scaftest/deploytest/docker-compose.yml: version is obsolete WARN[0000] /home/doc/work/scaftest/deploytest/docker-compose.override.yml: version is obsolete service "django" is not running make: *** [Makefile:169: shell] Error 1 ➜ deploytest docker ps -a [19:40] CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES fca2a5778dc5 kindest/node:v1.21.1 "/usr/local/bin/entr…" 2 hours ago Up 2 hours 127.0.0.1:41387->6443/tcp deploytest-control-plane

Pod was running according to Tilt

Should be something similar to: kubectl exec -i -t django-76f6446d87-tzpr8 --container django -- /bin/bash

daveoconnor commented 3 months ago

Closing, looks like this is addressed by make shell-backend and Ant's documentation PR.

daveoconnor commented 2 months ago

Reopened this because make shell-backend no longer exists in the Makefile.