An example setup script and manifests demonstrating docker-compose, kind, and glcoud.
See .brev/setup.sh
for details. Note: minikube will only be setup if using a workspace with more than 2 cores.
Create a workspace with the brev cli brev start https://github.com/brevdev/example-k8s-docker-compose-plus
or create one in the the console.
Then connect to the the machine using the web ide, ssh, vscode, or a jetbrains ide!
gcloud init
docker-compose up
kubectl config use-context kind-kind
kubectl apply -f k8s-pod-manifest.yml
Note: minikube will only be setup if using a workspace with more than 2 cores.
kubectl config use-context minikube
kubectl apply -f k8s-pod-manifest.yml