Skip to content

Better 'helm list' visibility into state of pending upgrades #2063

@bodepd

Description

@bodepd

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:

  1. 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.
  2. 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
  3. Include time of last action, not just the time of when the last thing updated.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions