0.0.14 • Published 1 year ago

docker2kube v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago