upgrade-manager
upgrade-manager copied to clipboard
add the error detail and message to the status
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE What happened:
Spec:
Asg Name: XXXXXXXXX
Node Interval Seconds: 300
Post Drain:
Post Drain Delay Seconds: 90
Post Terminate:
Pre Drain:
Region: us-west-2
Strategy:
Drain Timeout: 600
Max Unavailable: 1
Mode: eager
Type: randomUpdate
Status:
Current Status: error
End Time: 2020-03-23T18:53:45Z
Nodes Processed: 3
Start Time: 2020-03-23T18:36:29Z
Total Nodes: 20
Total Processing Time: 17m16.86369232s
The rolling upgrade failed, but it was hard to tell the reason.
What you expected to happen:
Inject the error object if the information could be structured, or error message into the status message.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- rolling-upgrade-controller version
- Kubernetes version :
$ kubectl version -o yaml
Other debugging information (if applicable):
- RollingUpgrade status:
$ kubectl describe rollingupgrade <rollingupgrade-name>
- controller logs:
$ kubectl logs <rolling-upgrade-controller pod>