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
- Host: GitHub
- URL: https://github.com/brevdev/example-k8s-docker-compose-plus
- Owner: brevdev
- License: mit
- Created: 2022-02-23T01:41:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T20:22:27.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T01:53:02.978Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 255 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
[](https://www.loom.com/share/8755b3eca9d149d7b9684f745db17251)