Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this.
I see the test failures like https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-kubernetes-node-kubelet-features/1349429706050506752 as an example.
One of failed tests sets
hostFQDN
likekubernetes/test/e2e_node/pod_hostnamefqdn_test.go
Line 117 in 5c58b22
If
framework.TestContext.ClusterDNSDomain
becomes empty like this PR, the hostFQDN becomes likefoo-pod.foo-subdomain.foo-ns.svc.
withoutcluster.local
.The FQDN is different from common cases I feel like https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/
Can we enable
cluster.local
instead?/cc @oomichi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oomichi we could, although I am hesitant to require that for these tests to run successfully as that is not the default for the kubelet. If we were to set to
cluster.local
we would do so here: https://github.com/kubernetes/test-infra/blob/c094f147c10f9b667472e81a5b36e12a61446e37/config/jobs/kubernetes/sig-node/node-kubelet.yaml#L127There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thanks for your explanation.
I guess it is ideal to change the default value to "cluster.local" on kubelet side at the end of day, but current change is fine for me to solve test failure at this time.
/triage accepted
/lgtm