Provision a dedicated environment for every developer or CI pipline, cloud native style. If you have a docker-compose based local environment; Use this project as reference.
Go through the README's in each of the folders for different milestones in the journey
When you finish the 7-steps;
curl -X POST http://localhsot:3000/devenvcurl -X GET http://localhsot:3000/devenv
curl -X DELETE http://localhsot:3000/devenv/a1b2c3cat <<EOF | kubectl apply -f -
apiVersion: dev.tmahesh.com/v1
kind: DevEnvironment
metadata:
name: devenv-a1b2c3
spec:
envName: a1b2c3
EOFkubectl get DevEnvironments
kubectl delete DevEnvironments/devenv-a1b2c3
kubectl describe DevEnvironments/devenv-a1b2c3
kubectl delete $(kubectl get DevEnvironments -o name)