Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

coredns #84

Merged
merged 9 commits into from Oct 18, 2018
Merged

coredns #84

merged 9 commits into from Oct 18, 2018

Conversation

knisbet
Copy link
Contributor

@knisbet knisbet commented Oct 3, 2018

Note: Do not merge until 5.2 maintenance branch created

Add a check to test DNS resolution for CoreDNS by querying the cluster leader. Unfortunately, it's not currently possible to also query the k8s service discovery, due to a dependency cycle on the checks passing in order to complete provisioning coredns rbac permissions, so just test leader election.

Updates https://github.com/gravitational/gravity.e/issues/3742

func NewDNSChecker() health.Checker {
return &DNSChecker{
QuestionA: []string{
"leader.telekube.local",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a parameter to the NewDNSChecker function, satellite should not know anything about our internal DNS names (planet knows it and can pass it here).

@knisbet knisbet merged commit 2ad5c7a into master Oct 18, 2018
@knisbet knisbet deleted the kevin/coredns branch October 18, 2018 04:53
@knisbet knisbet restored the kevin/coredns branch October 18, 2018 04:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants