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

Operator should not depend on cluster.local domain #2399

Closed
juliusloman opened this issue Nov 23, 2023 · 1 comment · Fixed by #2404
Closed

Operator should not depend on cluster.local domain #2399

juliusloman opened this issue Nov 23, 2023 · 1 comment · Fixed by #2404
Labels
bug Something isn't working

Comments

@juliusloman
Copy link

Describe the bug
Unable to run the operator when the cluster domain name is not cluster.local but other domain instead. Due to this, the operator does not start with the following error which is caused by the startup probe:

 Normal  Pulled    38s               kubelet           Successfully pulled image "docker.io/dynatrace/dynatrace-operator:v0.14.2" in 795ms (795ms including waiting)
 Warning Unhealthy 29s (x3 over 49s) kubelet           Startup probe failed: DNS service not ready: lookup kubernetes.default.svc.cluster.local on 10.96.0.10:53: no such host
 Normal  Killing   29s (x3 over 49s) kubelet           Container dynatrace-operator failed startup probe, will be restarted
 Warning BackOff   19s (x3 over 29s) kubelet           Back-off restarting failed container dynatrace-operator in pod dynatrace-operator-6787c7d8d-sstch_dynatrace(6e42c087-e503-4434-b29b-f4d4a1c2ee14)

To Reproduce
Just deploy Dynatrace Operator using standard means on a cluster with non-default cluster domain name.

Expected behavior
Dynatrace Operator should honor custom cluster domain name and the startup probe should take that into account.

Additional context
It's possible to comment out the startup probe in kubernetes.yaml as a workaround.

@chrismuellner
Copy link
Collaborator

Workaround exists for v0.14.x and default behavior will be adjusted for v0.15.0 to allow custom domains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants