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

Old versions of k8s remove from testing #511

Merged
merged 18 commits into from
Oct 18, 2021
Merged

Conversation

ngoyal16
Copy link
Contributor

@ngoyal16 ngoyal16 commented Oct 14, 2021

Issue #, if available: #507

Description of changes:

  1. Removed old k8s versions from testing
  2. Added new k8s version 1.22 in testing
  3. Remove pre-1.14 artifacts

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
test/k8s-local-cluster-test/run-test Outdated Show resolved Hide resolved
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
@ngoyal16 ngoyal16 requested a review from snay2 October 15, 2021 01:30
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
@snay2
Copy link
Contributor

snay2 commented Oct 15, 2021

@bwagner5 I'm thinking this change should go into a 1.14 release of NTH rather than 1.13.4, since removing support for k8s < 1.14 could be a breaking change for some customers. Should we do a release of 1.13.4 first and then merge this afterward (and maybe also #506, since it's also a large change)?

Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of all this! Once the tests pass and we decide on the release strategy, I'll approve and merge.

@snay2 snay2 linked an issue Oct 15, 2021 that may be closed by this pull request
@snay2
Copy link
Contributor

snay2 commented Oct 15, 2021

Ran the end-to-end tests on my local machine and they all passed. Not sure why they keep failing in GitHub Actions, but I'm comfortable with merging this once we're ready.

@bwagner5
Copy link
Contributor

@snay2 Yep, that sounds good on putting this v1.14.0

Also allow more verbose kind output to ease debugging
Upgrade k8s image to 1.22.2 to avoid kind errors
@snay2
Copy link
Contributor

snay2 commented Oct 15, 2021

Bother. I'm getting the same error locally now that the build here is getting:

Error: failed to install CRD crds/crd-alertmanager.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

Looks like 1.22 drops the "apiextensions.k8s.io/v1beta1" in favor of "apiextensions.k8s.io/v1": https://kubernetes.io/blog/2021/07/14/upcoming-changes-in-kubernetes-1-22/

@ngoyal16
Copy link
Contributor Author

ngoyal16 commented Oct 15, 2021

Just seen that.. Will fix it and update tomorrow morning

@ngoyal16
Copy link
Contributor Author

@snay2 i have fixed it at known places. please check.

Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
@ngoyal16
Copy link
Contributor Author

ngoyal16 commented Oct 16, 2021

Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
@ngoyal16
Copy link
Contributor Author

@snay2 all test are passed with new prometheus operator.

@ngoyal16
Copy link
Contributor Author

@snay2 can you rerun failed step as it passed in my gut workflow. Not sure why failed

Copy link
Contributor

@snay2 snay2 left a comment

Choose a reason for hiding this comment

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

Nice work, thanks for seeing this through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

k8s version 1.16 is no longer supported by EKS.
4 participants