Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False alarm on deployment update #1139

Closed
hyeongkyu-park opened this issue Jul 13, 2023 · 1 comment
Closed

False alarm on deployment update #1139

hyeongkyu-park opened this issue Jul 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hyeongkyu-park
Copy link

hyeongkyu-park commented Jul 13, 2023

Description

In Botkube v1.1.1, I set the strategy for deployment in sources. 'k8s-all-events'.botkube/kuvernets.config.resource as below.

- type: apps/v1/deployments
  event: # Overrides 'source'.kubernetes.event
    types:
      - create
      - update
      - delete
      - error
  updateSetting:
    includeDiff: true
    fields:
      - spec.template.spec.containers[*].image

My intention was to receive an update alarm only when the image declared in updateSetting.fields changes, but when there is no change in reality, suddenly an update alarm for all deployments in the cluster is sent to the slack.

In fact, if I look at the cluster, no changes are detected in any deployment where the alarm came on. (Change in replica count or restart, etc.)

This happens periodically every 30 minutes.

Expected behavior

My intention was to receive an update alarm only when the image declared in updateSetting.fields changes.

Actual behavior

When there is no change in reality, suddenly an update alarm for all deployments in the cluster is sent to the slack.

Steps to reproduce

@hyeongkyu-park hyeongkyu-park added the bug Something isn't working label Jul 13, 2023
@mszostok
Copy link
Contributor

Hi @hyeongkyu-park

Unfortunately, that’s because of the bug that we had since 1.0.0, however we already fixed that and it will be released soon, most probably next Monday as v1.2.0.

For the reference, see:

Apologies for any inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants