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

Update eks version in deploy scripts #2238

Merged
merged 6 commits into from
Apr 22, 2020
Merged

Conversation

Yisaer
Copy link
Contributor

@Yisaer Yisaer commented Apr 20, 2020

What problem does this PR solve?

Close #2173

Update the default eks version in terraform scripts as 1.15

As psp is enabled after eks 1.13, I add init annotation for tidb to initialize sysctl to avoiding pod create failed due to psp. FYI: https://docs.aws.amazon.com/eks/latest/userguide/pod-security-policy.html

Does this PR introduce a user-facing change?:

Update the default eks version in terraform scripts as 1.15

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

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 20, 2020

/run-e2e-in-kind

1 similar comment
@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 21, 2020

/run-e2e-in-kind

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 21, 2020

/run-e2e-test

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 21, 2020

/run-e2e-in-kind

Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

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

LGTM

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 21, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 21, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 21, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 21, 2020

/run-e2e-in-kind

@Yisaer
Copy link
Contributor Author

Yisaer commented Apr 22, 2020

/run-e2e-in-kind

@@ -14,12 +14,12 @@ variable "eks_name" {

variable "eks_version" {
description = "Kubernetes version to use for the EKS cluster."
default = "1.12"
default = "1.15"
Copy link
Contributor

Choose a reason for hiding this comment

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

is it possible to use the platform default value? if users do not specify it explicitly, the default kubernetes version in AWS will be used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMO,using default or latest value is not stable. It may work well current time but encounter some problem when aws platform decided to update the version like this time( psp problem).

Copy link
Contributor

@cofyc cofyc Apr 22, 2020

Choose a reason for hiding this comment

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

make sense

@cofyc cofyc merged commit ab23098 into pingcap:master Apr 22, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Apr 22, 2020

cherry pick to release-1.1 in PR #2268

cofyc pushed a commit that referenced this pull request Apr 23, 2020
* update version

* add init annotations

Co-authored-by: Song Gao <2695690803@qq.com>
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.

Install newer EKS version with the terraform scripts on AWS
5 participants