A terminal application to make Helm rollbacks easy.
npx k8s-airways -c [optional projects config]
npm install -g k8s-airways
k8s-airways -c [optional projects config]
git clone https://github.com/mawrkus/k8s-airways.git
cd k8s-airways
npm install
npm run start
or
npm run start:projects
-
Without providing a config file for your projects, you can browse:
contexts -> namespaces -> releases -> revisions
-
When providing a config file, you can browse:
projects -> releases -> revisions
If the repository was cloned, you can configure your project(s) in ./config/k8s-demo-projects.json
.
It's a simple JSON file containing an entry for each project, e.g.:
{
"Project name": {
"contexts": ["europe", "usa", "asia"],
"releases": {
"My service name": "my-namespace:my-release",
"My other service name": "my-other-namespace:my-other-release"
},
"maxRevisionsPerContext": 3
},
"Other project name": {
}
}
- Fork it:
git clone https://github.com/mawrkus/k8s-airways.git
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Added some feature'
- Check the tests:
npm run test
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D