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

Use TCP so that we can support different ciphers easily for v1alpha3. #1658

Closed
wants to merge 1 commit into from

Conversation

jayunit100
Copy link
Contributor

@jayunit100 jayunit100 commented Mar 24, 2020

🐛 (:bug:, patch and bugfixes)

What this PR does / why we need it:

USes TCP rather then SSL, so that we can support any arbitrary APISErver Cipher. Otherwise, we need to alignt the ELB Ciphers with those in the APIServer, Scheduler, KCM, Kubelet, and so on.

What issue this fixes

#1657

(undos the work in #1658, which i think was valuable, but we can live without for the timebeing, correct me if im missing something)

we can revisit the value of SSL health checks (which are less spammy) in the future, but i think the modularity requirements people currently have mean that we're better off supporting TCP for now (lest we potentially rule out certain APISErver configurations)
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 24, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @jayunit100. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jayunit100
To complete the pull request process, please assign d-nishi
You can assign the PR to them by writing /assign @d-nishi in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 24, 2020
@k8s-ci-robot k8s-ci-robot requested review from chuckha and detiber March 24, 2020 01:25
@@ -255,7 +255,7 @@ func (s *Service) getAPIServerClassicELBSpec() (*infrav1.ClassicELB, error) {
},
},
HealthCheck: &infrav1.ClassicELBHealthCheck{
Target: fmt.Sprintf("%v:%d", infrav1.ClassicELBProtocolSSL, 6443),
Copy link
Member

@yastij yastij Mar 24, 2020

Choose a reason for hiding this comment

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

I’d rather update the listeners/health checks to use custom order/set of SSL ciphers. If not possible, we might want to compare our list with the ELB one cc @randomvariable

Copy link
Member

Choose a reason for hiding this comment

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

As far as ELB goes, listeners != health checks in this regards. It is TCP passthrough for the listener. The healthcheck spec just ensures we do a TLS handshake.

Copy link
Member

Choose a reason for hiding this comment

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

Verified that AWS only supports non-elliptic curve handshake tests for ELBv1.

Copy link
Member

Choose a reason for hiding this comment

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

sgtm

@randomvariable
Copy link
Member

/ok-to-test
/test pull-cluster-api-propvider-aws-e2e

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 24, 2020
@randomvariable
Copy link
Member

/test pull-cluster-api-provider-aws-e2e

@jayunit100
Copy link
Contributor Author

Oops bug !

     Expected   <*v1.ObjectReference | 0x0> to not be  nil

@jayunit100
Copy link
Contributor Author

/test pull-cluster-api-provider-aws-e2e

@detiber
Copy link
Member

detiber commented Mar 24, 2020

/close
Closing after discussing with @jayunit100 and @randomvariable

@k8s-ci-robot
Copy link
Contributor

@detiber: Closed this PR.

In response to this:

/close
Closing after discussing with @jayunit100 and @randomvariable

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.

@k8s-ci-robot
Copy link
Contributor

@jayunit100: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-cluster-api-provider-aws-e2e c3cb306 link /test pull-cluster-api-provider-aws-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants