/deploy-to-kube

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

Primary LanguageJavaScriptMIT LicenseMIT

deploy-to-kube

npm version

Deploy your node.js app 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-to-kube 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.com (if desired)

deploy-to-kube 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!