Skip to content

brevdev/example-k8s-docker-compose-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Develop with k8s, docker-compose, and gcloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published