werf/kubedog

Kubedog show events for linked replicaset

samavasi opened this issue · 5 comments

Kubedog Support showing linked replicaset events for deployment object (eg to show hints on resourcequota exceeded reason)

@samavasi Hi!

Showing events is disabled by default, but you can enable such events for deployment with the following annotation set on deployment:

metadata:
  annotations:
    "werf.io/show-service-messages": "true"

(More info: https://werf.io/documentation/v1.2/reference/deploy_annotations.html#show-service-messages)

Not sure that resourcequota exceeded will be shown in deployment events, but I suppose it should be there, give it a try.
If it does not help then theoretically it is possible to extend show-service-messages behaviour to show events for main resource and linked subordinate resource too.

Hi @distorhead thank you for your reply
Indeed the issue is the events are from the subordinate Replicaset so are not visible if I follow the above instructions , I think only pod subordinate events are shown at the moment , any idea if this can be enhanced ?

It might be, we'll look into this.

It might be, we'll look into this.

@ilya-lesikov
Hi! any movement on this problem? replicaset events are still not outputted.

Hi, no, not yet. We were working on a new, more dynamic high-level tracker recently