cloud-on-k8s icon indicating copy to clipboard operation
cloud-on-k8s copied to clipboard

Standarize communicating about update strategy limits being hit

Open david-kow opened this issue 5 years ago • 0 comments

When upscaling we emit:

2019-10-04T14:38:57.045+0200	INFO	driver	Limiting nodes creation to respect maxSurge setting	{"ver": "1.0.0-beta1-latest", "namespace": "default", "statefulset_name": "quickstart13-es-datas2", "target": 2, "actual": 0}

When downscaling we emit:

2019-10-04T14:38:57.264+0200	DEBUG	driver	Cannot downscale StatefulSet	{"ver": "1.0.0-beta1-latest", "namespace": "default", "statefulset_name": "quickstart13-es-datas1", "reason": "Not removing node to respect maxUnavailable setting"}

It's different level, different structure and different level of details given. I feel like they should be more uniform and, also, emitted as events.

david-kow avatar Oct 04 '19 12:10 david-kow