-
Notifications
You must be signed in to change notification settings - Fork 62
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
New version of connaisseur 3.4.0 not working in calico cluster #1577
Comments
HOWDY @harangar. So your
With the Connaisseur pods in the hostNetwork, they now use the hosts DNS resolver to resolve URLs instead of the one from your cluster ... On startup Connaisseur tries to reach the redis service as a check that everything works, but since the redis service isn't registered in the hosts DNS, Connaisseur startup will fail. Now the solution seems to be similar to this. The Connaisseur pods need to use the clusters DNS again so that the lookup to the redis service works again. For now I'd say, try to modify the helm chart so that the Connaisseur pods use the right DNS resolver and see if that works. In the meantime I'll try to figure out, how best make this use-case configurable in the chart, so you don't have to make chnages manually in the future. Cheers. |
Hi @phbelitz , Thank you for your response. We still saw this error on Redis pod -
and after checking, we found that Redis pod is trying to connect with Datadog that was running on our cluster. After removing Datadog, we don’t see that error on Redis pod. However, connaisseur functionality is not working as expected in calico cluster even after making these changes - it is not blocking the unsigned container images. |
@harangar Hm. I don't how to fix this problem yet... However we released a new version of Connaisseur where the redis cache is no longer required on startup. That means you can run Connaisseur again, alas you won't have the caching capabilities and thus worse performance. In this case you can disable the caching entirely by setting the cache |
Thank you , setting expirySeconds to 0 worked for calico as well as vpc-cni clusters, and it din't deploy redis pod. However, we are facing this issue while trying to update other deployments after connaisseur is enabled on the EKS cluster. This specifically occurs when
We are able to update the deployments when the But we want to validate signatures only for the pods in the EKS cluster, hence we set the Could you please help us here ? |
Describe the bug
Since the connaisseur doesn't have hostNetwork parameter added, we modified the helm chart and added hostNetwork in deployment.yaml.
This modified helm chart was working with calico clusters till connaisseur version v3.3.3.
However, with 3.4.0 we see the following error when connaisseur pod is trying to connect with redis.
In connaisseur pod, we see the following error
And in connaisseur-redis pod,
We tried enabling hostNetwork in redis pod as well, but the issue was not resolved and we still faced the same error.
Following are the details of the pod running in connaisseur namespace:
Optional: Versions (please complete the following information as relevant):
Any help here would be greatly appreciated. Thank you
The text was updated successfully, but these errors were encountered: