-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update FQDN Hostname KEP to beta #1962
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
Update FQDN Hostname KEP to beta #1962
Conversation
|
Hi @javidiaz. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @dchen1107 |
| - [X] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input | ||
| - [X] (R) Graduation criteria is in place | ||
| - [X] (R) Production readiness review completed | ||
| - [ ] Production readiness review approved |
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.
Did you ever get a PRR reviewer for this?
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.
No. I was confused about the the review completed and approved. So I checked it because I completed the questionnaire for readiness review.
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.
It looks like it still isn't strictly required: https://github.com/kubernetes/community/blob/master/sig-architecture/production-readiness.md#status, but it would be good to get someone to take a look.
cc @prod-readiness-approvers
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, let me ask in the prod-readiness channel.
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.
That cc didn't appear to work.
cc @wojtek-t
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.
i think it needs slash?
/cc @wojtek-t
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.
Sorry for large delay - looking into it now.
[And starting 1.20 we will require prod readiness to be approved by PRR team.]
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.
@wojtek-t Should I update this PR with an X in "Production readiness review approved"? or is this typically done by you guys after this merges?
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.
Yes - feel free to mark it.
ebc1411 to
c5f6e02
Compare
|
/retitle Update FQDN Hostname KEP to beta |
|
e2e tests have been successfully running for a while now in the testgrid https://k8s-testgrid.appspot.com/sig-node-kubelet#node-kubelet-alpha Can I have some eyes on this review please? I also need ok-to-test. thanks! |
|
/ok-to-test |
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/kep.yaml
Outdated
Show resolved
Hide resolved
6413d77 to
9730f51
Compare
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
| This issue will be logged in Error level log messages. The error will something like`GeneratePodSandboxConfig for pod foo failed: Failed to construct FQDN from pod hostname and cluster domain, FQDN <long-fqdn> is too long (64 characters is the max, 70 characters requested)` | ||
|
|
||
| - Testing: Are there any tests for failure mode? If not describe why. | ||
| Unittests cover this failure scenario. The e2e tests also check for this error, but only as protection for the CI. A test that purposely hit this issue will be flaky as the pod will remain in Pending status logging errors until the test timesout. |
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.
I don't understand this - why the test should be flaky?
The test could be:
- create a pod (that would exceed this limit)
- watch for events and ensure the even for fdqn is delivered
- once event is delivered, delete the pod
We have similar kind of tests and I don't think they are really flaky.
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.
Oh ok, I will try to make one like you suggest.
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.
Cool. Once done, please update this part here.
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.
Please update - the "flaky" part doesn't make sense to me (as I wrote above). You can describe that test in testing section or sth like that.
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.
Yes, I will update the section saying e2e also covers failure mode so I don't forget.
However, I am still working to get the e2e test right, I am working based on an AppArmor e2e test I found, i think it does what you suggested. kubernetes/kubernetes#95187
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/kep.yaml
Outdated
Show resolved
Hide resolved
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/kep.yaml
Outdated
Show resolved
Hide resolved
aa972c7 to
5194498
Compare
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
| This issue will be logged in Error level log messages. The error will something like`GeneratePodSandboxConfig for pod foo failed: Failed to construct FQDN from pod hostname and cluster domain, FQDN <long-fqdn> is too long (64 characters is the max, 70 characters requested)` | ||
|
|
||
| - Testing: Are there any tests for failure mode? If not describe why. | ||
| Unittests cover this failure scenario. The e2e tests also check for this error, but only as protection for the CI. A test that purposely hit this issue will be flaky as the pod will remain in Pending status logging errors until the test timesout. |
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.
Cool. Once done, please update this part here.
5194498 to
104a792
Compare
wojtek-t
left a comment
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.
Just some minor final comments - other than those LGTM.
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
| This issue will be logged in Error level log messages. The error will something like`GeneratePodSandboxConfig for pod foo failed: Failed to construct FQDN from pod hostname and cluster domain, FQDN <long-fqdn> is too long (64 characters is the max, 70 characters requested)` | ||
|
|
||
| - Testing: Are there any tests for failure mode? If not describe why. | ||
| Unittests cover this failure scenario. The e2e tests also check for this error, but only as protection for the CI. A test that purposely hit this issue will be flaky as the pod will remain in Pending status logging errors until the test timesout. |
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.
Please update - the "flaky" part doesn't make sense to me (as I wrote above). You can describe that test in testing section or sth like that.
104a792 to
8c78dc7
Compare
|
/lgtm @dchen1107 - can you please approve? |
| reviewers: | ||
| - "@thockin" | ||
| - "@marosset" | ||
| - "@dashpole" |
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.
@dashpole is concentrated on instrumentation part of the k8s now. Maybe this name can be used for historical perspective for alpha version review.
keps/sig-node/1797-configure-fqdn-as-hostname-for-pods/README.md
Outdated
Show resolved
Hide resolved
|
/lgtm |
Co-authored-by: Sergey Kanzhelev <[email protected]>
wojtek-t
left a comment
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.
@javidiaz - please also squash commits
| - [X] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input | ||
| - [X] (R) Graduation criteria is in place | ||
| - [X] (R) Production readiness review completed | ||
| - [ ] Production readiness review approved |
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.
Yes - feel free to mark it.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dchen1107, javidiaz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This update should contain all information required for the KEP to be able to graduate the feature to at least beta.