Replies: 2 comments
-
Update, After rebooting the cluster, the affected pods were obviously recreated, and therefore I lost my changes to the So now I can't connect to the pods to make any changes, so they're basically unusable at this point. Any information would be helpful |
Beta Was this translation helpful? Give feedback.
-
All versions mentioned are OCP, please contact Red Hat Support instead |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
DNS lookups seem to fail unless
options ndots:5
is changed to at mostoptions ndots:2
in/etc/resolv.conf
. I noticed weird issues with some pods getting an error sayingx509: certificate is valid for *.apps.openshift.<internalDomain> not proxy.golang.org
when running a golang container for example. I noticed with the ubuntu and fedora containers, running an apt/dnf update would also fail because the pkg repositories were resolving to my cluster domain rather where they actually should. Removingoptions ndots:5
fixed all my problems, but I don't know how to set this cluster-wide, nor do I know if there are any security implications.FWIW, I was on 4.7.13, and everything seemed to be fine, but upgrading to 4.7.18 seemed to break, and neither 4.7.19 nor 4.7.21 seemed to fix it.
Version
Client Version: 4.6.6
Server Version: 4.7.21
Kubernetes Version: v1.20.0+558d959
Beta Was this translation helpful? Give feedback.
All reactions