- Notifications
You must be signed in to change notification settings - Fork18
Deploy your node.js app to Kubernetes with a single command. No config required.
License
kubesail/deploy-node-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
deploy-node-app will prompt you with a minimal set of questions required to deploy your app to any Kubernetes cluster. If zero-config with no lock-in sounds too good to be true - remember this project is inbeta 😉. However, it mostly works, anddeploy-node-app also supports more than just Node.js projects! Try it on a Python or Ruby project or a static site project!
Once you've rundeploy-node-app in your project, you can commit your.dna.json file and usedeploy-node-app with no prompts in the future (works great for CI too!).
Just runnpx deploy-node-app in your node project.
deploy-node-app is a project bootstrapper, powered bySkaffold. After answering a few questions about your app, this tool can:
- Create a Dockerfile, skaffold.yaml and all the Kubernetes YAML you need!
- Automatically provision common dependencies (like redis and postgres)!
- Develop and deploy your app on any Kubernetes cluster
Essentially,deploy-node-app supercharges any web applications with awesome tools and best practices.
Usage: deploy-node-app [env] [action]Options: -V, --version output the version number -w, --write Write files to project (writes out Dockerfile, skaffold.yaml, etc) -u, --update Update existing files (default: false) -f, --force Dont prompt if possible (default: false) -l, --label [foo=bar,tier=service] Add labels to created Kubernetes resources -t, --target <path/to/project> Target project directory (default: ".") -c, --config <path/to/kubeconfig> Kubernetes configuration file (default: "~/.kube/config") -m, --modules <redis,postgres> Explicitly add modulesBy default,deploy-node-app will write a few files to your directory, and by default files won't be touched if they've been modified.deploy-node-app by itself is the same asdeploy-node-app production deploy
Simply runnpx deploy-node-app in your repository. The tool will attempt to prompt you when it needs answers to questions, and do it's best to bootstrap your application. Take a look atsupported languages - we're always looking to add more!
Take a look at/test for a growing list of examples!
deploy-node-app knows about dependencies! For example, if you install a redis or postgres driver for Node.js, Python, Rubyand more,deploy-node-app will automatically create Redis or Postgres deployments that work with your app!
- kubectl - required for creating your deployment, and recommended for managing your deployment after created
- Skaffold - Kubernetes workflow utility
deploy-node-app is created and maintained by

KubeSail - Kubernetes for Human Beings
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.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.