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

examples: Update AWS ELB config #3974

Merged
merged 2 commits into from
May 18, 2021
Merged

Conversation

dveeden
Copy link
Contributor

@dveeden dveeden commented May 14, 2021

What problem does this PR solve?

  • Remove incorrect aws-load-balancer-internal.
  • Change the loadbalancer for Grafana from "CLB" (Classic) to "NLB"
    (Network)

Tests

  • Unit test
  • E2E test
  • Manual test
  • No code

Deploy on EKS with https://docs.pingcap.com/tidb-in-kubernetes/stable/deploy-on-aws-eks

On the AWS Console check the loadbalancers that were created. This should show three NLB type loadbalancers with the 'internet facing' scheme. Previously this would show 1 NLB and 1 CLB and the NLB had the 'internal' scheme.

Side effects

  • Breaking backward compatibility
  • Other side effects:

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release Notes

Please refer to Release Notes Language Style Guide before writing the release note.

NONE

@CLAassistant
Copy link

CLAassistant commented May 14, 2021

CLA assistant check
All committers have signed the CLA.

@ti-chi-bot ti-chi-bot requested a review from Yisaer May 14, 2021 07:17
@dveeden
Copy link
Contributor Author

dveeden commented May 14, 2021

Should we also add a LoadBalancer for PD as that is hosting the dashboard on port 2379?

update: I did add a LB for this.

@dveeden dveeden force-pushed the examples_aws_nlb branch from 77a54dc to 386f4d6 Compare May 14, 2021 07:42
@codecov-commenter
Copy link

codecov-commenter commented May 14, 2021

Codecov Report

Merging #3974 (4ce5f47) into master (a015396) will increase coverage by 6.87%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3974      +/-   ##
==========================================
+ Coverage   61.94%   68.81%   +6.87%     
==========================================
  Files         173      177       +4     
  Lines       18345    18847     +502     
==========================================
+ Hits        11364    12970    +1606     
+ Misses       5866     4750    -1116     
- Partials     1115     1127      +12     
Flag Coverage Δ
e2e 48.77% <ø> (?)
unittest 61.96% <ø> (+0.01%) ⬆️

examples/aws/tidb-cluster.yaml Outdated Show resolved Hide resolved
examples/aws/tidb-cluster.yaml Outdated Show resolved Hide resolved
examples/aws/tidb-monitor.yaml Outdated Show resolved Hide resolved
- Remove incorrect `aws-load-balancer-internal`.
- Change the loadbalancer for Grafana from "CLB" (Classic) to "NLB"
  (Network)
@dveeden dveeden force-pushed the examples_aws_nlb branch from 77a80bf to 77e1bea Compare May 17, 2021 08:57
@dveeden dveeden requested a review from DanielZhangQD May 17, 2021 08:57
Copy link
Contributor

@DanielZhangQD DanielZhangQD left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • DanielZhangQD
  • july2993

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by writing /lgtm in a comment.
Reviewer can cancel approval by writing /lgtm cancel in a comment.

@DanielZhangQD
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 4ce5f47

@dveeden
Copy link
Contributor Author

dveeden commented May 18, 2021

/run-integration-test

@dveeden
Copy link
Contributor Author

dveeden commented May 18, 2021

/test all

@july2993
Copy link
Contributor

/run-all-tests

1 similar comment
@dveeden
Copy link
Contributor Author

dveeden commented May 18, 2021

/run-all-tests

mianhk pushed a commit to mianhk/tidb-operator that referenced this pull request Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants