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

WIP: Fail pod creation if resolv.conf too long #9230

Closed
wants to merge 1 commit into from

Conversation

erictune
Copy link
Member

@erictune erictune commented Jun 4, 2015

needs e2e testing.

@erictune
Copy link
Member Author

erictune commented Jun 4, 2015

Surfaces to user the misconfiguration issue described in #9079

@k8s-bot
Copy link

k8s-bot commented Jun 4, 2015

EXPERIMENTAL JENKINS PR BUILDER: e2e build succeeded.

@bgrant0607
Copy link
Member

cc @thockin

@thockin
Copy link
Member

thockin commented Jun 5, 2015

Idea LGTM

// Also, this might be different with ipv6?
// TODO(erictune): get docker and rkt to warn about exceeding this limit?
if len(opts.DNSSearch) > glibcMaxResolvConfSearchEntries {
return nil, fmt.Errorf("Cluster DNS configuration error: more than %d search entries required", glibcMaxResolvConfSearchEntries)
Copy link
Contributor

Choose a reason for hiding this comment

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

should the text use "specified" instead of "required"

@ArtfulCoder
Copy link
Contributor

helps with #8512

@erictune
Copy link
Member Author

erictune commented Jun 8, 2015

Fixed comments.
Working on test.

@erictune
Copy link
Member Author

Not sure when I'll get back to writing a test for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants