Build FastAPI K8s with minikube devspace
Please check folders docs to setup.
- Installed Docker
- Installed Kubernetes Client versions >=1.27.3
- Installed Minikube
- Installed gcloud cli
- Installed poetry & pyenv & make
- Installed devspace >=6.3.2
Create secrets resource for deployments
-
Linux
make setup
** NOTE: If you update values
.env
file which values have ink8s_dev/config/dhh-image-secrets.yaml
. You need to new generate success by run command:sh devspace/scripts/generate_secret.sh
After run
make setup
check container nameregisty-proxy-demo | alpine
is running.
make setup-emulators
If show many frame data =>
Ctrl C
cancel terminal runningand run 2 times command:devspace run refix
thenCtrl C
devspace deploy
devspace dev
start with all resource
make up
quickly start with only app and dependencies
Script for run Minikube and start Dev Mode automation.
-
Linux
make start
sh compose-setup.sh
-
Linux
poetry shell
sh poetry install