0.0.14 • Published 3 months ago

docker2kube v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

docker2kube (d2k)

d2k is a typescript library that converts docker-compose YAML files to Kubernetes YAML file. The goal is to make it easy to deploy docker project on Kubernetes.

UI

Visit https://docker2kube.app.enting.org/ to perform conversion online.

Installation

NPM: npm i docker2kube

YARN: yarn add docker2kube

Usage

import { convert } from 'docker2kube';

const composeYaml = `\
version: '3'

services:
  nginx:
    image: nginx:latest
    ports:
      - "80:80"
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf
    restart: always
`;

const output = convert(composeYaml);
console.log(output);

Acknowledgment

0.0.14

3 months ago

0.0.13

9 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago