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

Log is printing detected changes of configmaps that it's not to be monitored #59

Closed
carlosrmendes opened this issue Apr 24, 2019 · 1 comment · Fixed by #60
Closed

Comments

@carlosrmendes
Copy link

Log is constantly printing 'Changes detected ...' of a configmap that I don't wanna its changes be monitored.

I have only one deployment with the related annotation for the reloader monitor the changes of its configmap.
But the reloader logs is printing detected changes of a configmap that it's constantly changing, but I don't wanna its changes be monitored by reloader.

time="2019-04-24T14:35:31Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:35:41Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:35:51Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:01Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:11Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:21Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:32Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:42Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:36:52Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:03Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:13Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:23Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:33Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:43Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:37:54Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:04Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:14Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:24Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:34Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:45Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:38:55Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:05Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:15Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:25Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:36Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:46Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:39:56Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:06Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:17Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:27Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:37Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:47Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:40:57Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:07Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:18Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:28Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:38Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:48Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:41:59Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:42:09Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:42:19Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:42:29Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:42:39Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:42:50Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:00Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:10Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:20Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:31Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:41Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:43:51Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:01Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:11Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:22Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:32Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:42Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:44:52Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:03Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:13Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:23Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:34Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:44Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:45:54Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:04Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:15Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:25Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:35Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:45Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:46:55Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:06Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:16Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:26Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:36Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:46Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:47:57Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:07Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:17Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:27Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:38Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:48Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:48:58Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:08Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:18Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:29Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:39Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:49Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:49:59Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:50:10Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:50:20Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:50:30Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:50:40Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:50:50Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:01Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:11Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:21Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:31Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:41Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:51:52Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:02Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:12Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:22Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:33Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:43Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:52:53Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"
time="2019-04-24T14:53:03Z" level=info msg="Changes detected in 'cluster-autoscaler-status' of type 'CONFIGMAP' in namespace 'kube-system'"

With that, it's dificult to me to view the detected changes of the configmap that I really want to be monitored.

@kahootali
Copy link
Contributor

Hi @carlosmkb, Actually Reloader logs whenever it detects a change in a resource but reloads only that pods that have the annotation, we will fix this soon and log only when Reloader is restarting a pod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants