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

Allow service names up to 63 characters (RFC 1035) #29523

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

fraenkel
Copy link
Contributor

fixes #3752

@k8s-bot
Copy link

k8s-bot commented Jul 24, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

4 similar comments
@k8s-bot
Copy link

k8s-bot commented Jul 24, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-bot
Copy link

k8s-bot commented Jul 24, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-bot
Copy link

k8s-bot commented Jul 24, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-bot
Copy link

k8s-bot commented Jul 24, 2016

Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test".
(Note: "add to whitelist" is no longer supported. Please update configurations in kubernetes/test-infra/jenkins/job-configs/kubernetes-jenkins-pull instead.)

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@dims
Copy link
Member

dims commented Jul 25, 2016

@fraenkel Hey, nice to bump into you here :) fyi, there's an existing PR for DNS 1123 #28005

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels Jul 25, 2016
@erictune erictune assigned thockin and unassigned erictune Jul 26, 2016
@thockin
Copy link
Member

thockin commented Jul 28, 2016

ok to test

@thockin thockin added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-label-needed labels Jul 28, 2016
@thockin thockin changed the title Service names conform to RFC 1035 Allow service names up to 63 characters (RFC 1035) Jul 28, 2016
@thockin thockin added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 28, 2016
@thockin
Copy link
Member

thockin commented Jul 28, 2016

LGTM, thanks!

@thockin
Copy link
Member

thockin commented Jul 29, 2016

Tests failed:

expose_test.go:407: truncate-name: Unexpected output! Expected
service "a-name-that-is-toooo-big-for-a-service-because-it-can-only-handle-63-characters" exposed
got
service "a-name-that-is-toooo-big-for-a-service-because-it-can-only-hand" exposed

The other seems to be a flake

@fraenkel
Copy link
Contributor Author

Seems we truncate somewhere but tends to work locally. I can fix the test to match.

@fraenkel fraenkel force-pushed the service_names_rfc1035 branch from 75a4bb6 to 29dc624 Compare July 29, 2016 19:48
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 29, 2016
@thockin
Copy link
Member

thockin commented Aug 1, 2016

The truncation looks correct, not sure why it is not working.

Ping me when ready for next review.

On Fri, Jul 29, 2016 at 12:34 PM, Michael Fraenkel <notifications@github.com

wrote:

Seems we truncate somewhere but tends to work locally. I can fix the test
to match.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#29523 (comment),
or mute the thread
/~https://github.com/notifications/unsubscribe-auth/AFVgVEamU6ov1OIi4W7p1XvxPTLAp_a2ks5qalW9gaJpZM4JTn7m
.

@fraenkel
Copy link
Contributor Author

fraenkel commented Aug 2, 2016

I know the problem. I have been struggling to get a clean run locally. But I will continue to try.

@fraenkel fraenkel force-pushed the service_names_rfc1035 branch from 29dc624 to b1e7e6c Compare August 2, 2016 14:42
@fraenkel
Copy link
Contributor Author

fraenkel commented Aug 2, 2016

@thockin Tests now pass.

@k8s-bot
Copy link

k8s-bot commented Aug 2, 2016

GCE e2e build/test passed for commit b1e7e6c.

@thockin thockin added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 2, 2016
@thockin
Copy link
Member

thockin commented Aug 2, 2016

Thanks!!

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Aug 2, 2016

GCE e2e build/test passed for commit b1e7e6c.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 7a62b9c into kubernetes:master Aug 2, 2016
@fraenkel fraenkel deleted the service_names_rfc1035 branch February 1, 2017 12:26
majewsky added a commit to sapcc/helm-charts that referenced this pull request Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider expanding service names
8 participants