Reloader: Errors in pod logs on startup - failed to list deployments
I installed the stable release with default settings on a Kubernetes cluster using Helm. Annotated my Deployments as per the instructions but I’m not seeing any rolling updates when I change a ConfigMap. When I checked the reloader pod logs I found this:
time="2019-12-13T15:46:02Z" level=info msg="Environment:Kubernetes"
time="2019-12-13T15:46:02Z" level=info msg="Starting Reloader"
time="2019-12-13T15:46:02Z" level=warning msg="KUBERNETES_NAMESPACE is unset, will detect changes in all namespaces."
time="2019-12-13T15:46:02Z" level=info msg="Starting Controller to watch resource type: secrets"
time="2019-12-13T15:46:02Z" level=info msg="Starting Controller to watch resource type: configMaps"
time="2019-12-13T15:46:02Z" level=error msg="Failed to list deployments the server could not find the requested resource"
time="2019-12-13T15:46:02Z" level=error msg="Failed to list daemonSets the server could not find the requested resource"
time="2019-12-13T15:46:02Z" level=error msg="Failed to list statefulSets the server could not find the requested resource"
Then the last 3 lines just repeat periodically.
I’m wondering if its an RBAC issue, but the ClusterRole and ClusterRoleBinding seem to be there.
Any help would be greatly appreciated.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (7 by maintainers)
Many thanks @waseem-h, that fixes it for me.
@jeblackmore The upstream stable helm chart repo is not updated to the latest version and it doesn’t support kubernetes 1.16.x. You need to install reloader from our chart repository by running the following(Make sure that you have uninstalled the previous version):
Closing it for now. Feel free to re-open if you still see the issue in the latest version
@aliartiza75 can you plz take a look?