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

https://github.com/evolutics/comkube

Deploy Docker Compose apps on Kubernetes
https://github.com/evolutics/comkube

compose deployment docker docker-compose kubernetes

Last synced: 3 months ago
JSON representation

Deploy Docker Compose apps on Kubernetes

Awesome Lists containing this project

README

          

# Comkube: Deploy Docker Compose Apps on Kubernetes

In a hurry? Jump to [quick start](#quick-start)!

## Motivation

Keep your Compose files but deploy them on Kubernetes.

The conversion happens on the fly with [Kompose](https://kompose.io), providing
you with its flexibility to fine-tune as needed.

## Setup

### Prerequisites

kubectl

### Installation

```bash
go install github.com/evolutics/comkube@latest
```

To use Comkube as a kubectl plugin, move the `comkube` executable to anywhere on
your `$PATH` under the name `kubectl-comkube`. Example:

```bash
sudo mv comkube /usr/local/bin/kubectl-comkube
```

TODO: Pre-built executables are coming soon.

## Usage

### Quick start

```bash
kubectl comkube apply
```

## Related projects

If you need to convert your Compose files to Kubernetes manifest files once,
from then on maintaining those Kubernetes manifests, then use
[Kompose](https://kompose.io) directly.

## TODO

- Consider pruning using kubectl ApplySet.
- Consider using https://github.com/kubernetes/cli-runtime.
- Distribute kubectl plugin with Krew.
- Follow kubectl plugin contract.