An open API service indexing awesome lists of open source software.

https://github.com/brevdev/example-k8s-docker-compose-plus

Develop with k8s, docker-compose, and gcloud
https://github.com/brevdev/example-k8s-docker-compose-plus

Last synced: 7 months ago
JSON representation

Develop with k8s, docker-compose, and gcloud

Awesome Lists containing this project

README

          

# 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](https://github.com/brevdev/brev-cli) `brev start https://github.com/brevdev/example-k8s-docker-compose-plus` or create one in the [the console](https://console.brev.dev).

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](https://github.com/brevdev/example-k8s-docker-compose-plus/raw/main/video-preview.gif)](https://www.loom.com/share/8755b3eca9d149d7b9684f745db17251)