Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1021 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 1021 Bytes

K8s(kind, minikube), Docker Compose, GCloud

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.

Run

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

Click the video below

Watch the video