Closed jrcjoro closed 4 years ago
@jrcjoro can you plz share Reloader logs? does it detect the change in configmap
Sorry, my mistake, I tried to set reloader deployment only into kube-system namespace together with fluentd. Now when I changed it back to default it works:
$ kubectl logs reloader-reloader-64cdcc9557-gqx2x time="2020-05-15T10:55:10Z" level=info msg="Environment: Kubernetes" time="2020-05-15T10:55:10Z" level=info msg="Starting Reloader" time="2020-05-15T10:55:10Z" level=warning msg="KUBERNETES_NAMESPACE is unset, will detect changes in all namespaces." time="2020-05-15T10:55:10Z" level=info msg="Starting Controller to watch resource type: secrets" time="2020-05-15T10:55:10Z" level=info msg="Starting Controller to watch resource type: configMaps" time="2020-05-15T10:57:33Z" level=info msg="Changes detected in 'fluentd-configmap' of type 'CONFIGMAP' in namespace 'kube-system'" time="2020-05-15T10:57:33Z" level=info msg="Updated 'fluentd' of type 'DaemonSet' in namespace 'kube-system'" time="2020-05-15T11:06:45Z" level=info msg="Changes detected in 'fluentd-configmap' of type 'CONFIGMAP' in namespace 'kube-system'" time="2020-05-15T11:06:45Z" level=info msg="Updated 'fluentd' of type 'DaemonSet' in namespace 'kube-system'"
Is it possible to run reloader in other namespace than default?
My fluend-configmap does not get reloaded with initContainer?
I have this fluentd daemonset deployment:
I used /test mount above to check that configmap was changed, but Pod was not reloaded because /fluentd/etc/fluent.conf was still old version. Any help what I'm doing wrong here?