{"id":13657168,"url":"https://github.com/kubesail/deploy-node-app","last_synced_at":"2025-04-04T07:09:54.105Z","repository":{"id":40909955,"uuid":"168246838","full_name":"kubesail/deploy-node-app","owner":"kubesail","description":"Deploy your node.js app to Kubernetes with a single command. No config required.","archived":false,"fork":false,"pushed_at":"2023-12-31T22:01:38.000Z","size":2394,"stargazers_count":397,"open_issues_count":8,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T06:08:25.752Z","etag":null,"topics":["deployments","docker","javascript","kubernetes","nodejs","tools"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kubesail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-29T23:36:32.000Z","updated_at":"2024-10-31T23:21:54.000Z","dependencies_parsed_at":"2023-12-31T23:17:48.309Z","dependency_job_id":"e7044ff4-3ff0-49e3-835d-3af2956ee3aa","html_url":"https://github.com/kubesail/deploy-node-app","commit_stats":{"total_commits":413,"total_committers":5,"mean_commits":82.6,"dds":0.3389830508474576,"last_synced_commit":"762d665b8b0d36bc425ed37ad481bada3a38cbc7"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fdeploy-node-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fdeploy-node-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fdeploy-node-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fdeploy-node-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubesail","download_url":"https://codeload.github.com/kubesail/deploy-node-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135147,"owners_count":20889421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployments","docker","javascript","kubernetes","nodejs","tools"],"created_at":"2024-08-02T05:00:38.025Z","updated_at":"2025-04-04T07:09:54.074Z","avatar_url":"https://github.com/kubesail.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# **deploy-node-app**\n\n[![npm version](https://img.shields.io/npm/v/deploy-node-app.svg?style=flat-square)](https://www.npmjs.com/package/deploy-node-app)\n\n### Deploy apps to Kubernetes, with zero config!\n\n`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 in **beta** :wink:. However, it mostly works, and `deploy-node-app` also supports more than just Node.js projects! Try it on a Python or Ruby project or a static site project!\n\nOnce you've run `deploy-node-app` in your project, you can commit your `.dna.json` file and use `deploy-node-app` with no prompts in the future (works great for CI too!).\n\n## Instructions\n\nJust run `npx deploy-node-app` in your node project.\n\n![Example](https://github.com/kubesail/deploy-node-app/raw/master/docs/terminal-example-1.svg?sanitize=true)\n\n## What does this tool do?\n\n`deploy-node-app` is a project bootstrapper, powered by [Skaffold](https://github.com/GoogleContainerTools/skaffold). After answering a few questions about your app, this tool can:\n\n1. Create a Dockerfile, skaffold.yaml and all the Kubernetes YAML you need!\n2. Automatically provision common dependencies (like redis and postgres)!\n3. Develop and deploy your app on any Kubernetes cluster\n\nEssentially, `deploy-node-app` supercharges any web applications with awesome tools and best practices.\n\n## Usage and examples\n\n```\nUsage: deploy-node-app [env] [action]\n\nOptions:\n  -V, --version                        output the version number\n  -w, --write                          Write files to project (writes out Dockerfile, skaffold.yaml, etc)\n  -u, --update                         Update existing files (default: false)\n  -f, --force                          Dont prompt if possible (default: false)\n  -l, --label [foo=bar,tier=service]   Add labels to created Kubernetes resources\n  -t, --target \u003cpath/to/project\u003e       Target project directory (default: \".\")\n  -c, --config \u003cpath/to/kubeconfig\u003e    Kubernetes configuration file (default: \"~/.kube/config\")\n  -m, --modules \u003credis,postgres\u003e       Explicitly add modules\n```\n\nBy 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 as `deploy-node-app production deploy`\n\nSimply run `npx 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 at [supported languages](https://github.com/kubesail/deploy-node-app/tree/master/src/languages) - we're always looking to add more!\n\n## Tests-as-examples\n\nTake a look at [/test](https://github.com/kubesail/deploy-node-app/tree/master/test) for a growing list of examples!\n\n## Dependencies\n\n`deploy-node-app` knows about dependencies! For example, if you install a redis or postgres driver for Node.js, Python, Ruby [and more](https://github.com/kubesail/deploy-node-app/tree/master/src/languages), `deploy-node-app` will automatically create Redis or Postgres deployments that work with your app!\n\n## Suggested tools:\n\n- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) - required for creating your deployment, and recommended for managing your deployment after created\n- [Skaffold](https://skaffold.dev/docs/install/) - Kubernetes workflow utility\n\n---\n\ndeploy-node-app is created and maintained by\n\n[\u003cimg src=\"docs/kubesail-logo.png\" alt=\"Kubesail\" width=\"160\"\u003e\n\u003cbr/\u003e\nKubeSail - Kubernetes for Human Beings](https://kubesail.com)\n\n---\n\n### Contributing\n\nIf you feel that this tool can be improved in any way, feel free to open an issue or pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesail%2Fdeploy-node-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubesail%2Fdeploy-node-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesail%2Fdeploy-node-app/lists"}