Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rumpl/concon

Fun with rust - kube - docker compose
https://github.com/rumpl/concon

Last synced: 15 days ago
JSON representation

Fun with rust - kube - docker compose

Awesome Lists containing this project

README

        

# concon

Simple kube controller that will deploy a compose file.

To test:

* install the CRD `kubectl apply -f controller/yamls/crd.yaml`
* in controller run `cargo run`, wait a bit
* `kubectl apply -f examples/example-hello-world.dockerapp/docker-compose.yml`
* look for the pod: `kubectl get pod`
* port forwad it: `kubectl port-forward pod/.... 5678:5678`
* test it: `curl localhost:5678`
* remove the deployment: `kubectl delete compose.compose.rumpl.dev/echo`

Seven easy-peasy steps.