mnmajd / deploy-node-app

Deploy your node.js app to Kubernetes with a single command. No config required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Node App CircleCI npm version

Deploy your Node.js app and its dependencies to Kubernetes with a single command. No config required.

Supports any Kubernetes cluster, including the following:

  • Google Kubernetes Engine
  • Amazon EKS
  • DigitalOcean Kubernetes
  • KubeSail (completely free Kubernetes hosting)
  • Custom Clusters

Instructions

Just run npx deploy-node-app in your node project.

Example

Prerequisites

  • Docker
  • NodeJS / npm - NPM includes the npx utility needed to run this package without being installed
  • kubectl - required for creating your deployment, and recommended for managing your deployment after created

What does this tool do?

After answering a few questions about your app, this tool can:

  1. Create a Dockerfile (if needed)
  2. Build a Docker image
  3. Create a Kubernetes deployment file
  4. Deploy your app on a Kubernetes cluster
    • Configure a free namespace on KubeSail (if desired)
  5. Deploy any depdencies (meta-modules) your app relies on

Deploy Node App is also able to generate a local development configuration for docker-compose, by passing --format compose


deploy-node-app is maintained by

Kubesail
Kubesail - an easy, free way to try kubernetes


Contributing

If you feel that this tool can be improved in any way, feel free to open an issue or pull request!

About

Deploy your node.js app to Kubernetes with a single command. No config required.

License:MIT License


Languages

Language:JavaScript 100.0%