The below logs demonstrate how Helm updates the revision at the end of an upgrade.
2017/03/03 19:23:13 client.go:416: Add/Modify event for jenkins-staging-public-jenkins-9vovw: ADDED
2017/03/03 19:23:13 client.go:452: jenkins-staging-public-jenkins-9vovw: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
2017/03/03 19:23:21 storage.go:133: Getting release history for 'jenkins-staging-private'
2017/03/03 19:23:35 client.go:416: Add/Modify event for jenkins-staging-public-jenkins-9vovw: MODIFIED
2017/03/03 19:23:35 release_server.go:862: Hooks complete for post-upgrade jenkins-staging-public
2017/03/03 19:23:35 storage.go:53: Updating "jenkins-staging-public" (v1) in storage
2017/03/03 19:23:35 storage.go:45: Create release "jenkins-staging-public" (v2) in storage
during the upgrade, the state listed for a release via helm list is whatever the state happened to be before this upgrade takes place, both the revision number and state only ever get updated once a deployment has either passed or failed.
I have 3 suggestions related to this:
- Add more states to the STATUS column of
helm list. The simplest one, would be a pending or in-progress status so that I can know the state of a release is that it is working. Without this status, I have to either go into kubernetes or view the logs of tiller to understand what the current state of my infra is.
- Show what revision is currently in progress, this could either be done by updating the revision as soon as something starts, or by adding a new column, which is desired revision
- Include time of last action, not just the time of when the last thing updated.
The below logs demonstrate how Helm updates the revision at the end of an upgrade.
during the upgrade, the state listed for a release via
helm listis whatever the state happened to be before this upgrade takes place, both the revision number and state only ever get updated once a deployment has either passed or failed.I have 3 suggestions related to this:
helm list. The simplest one, would be a pending or in-progress status so that I can know the state of a release is that it is working. Without this status, I have to either go into kubernetes or view the logs of tiller to understand what the current state of my infra is.