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

"Force" k8s 1.11.10 #7423

Merged

Conversation

justinsb
Copy link
Member

Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 16, 2019
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 16, 2019
Copy link
Member

@zetaab zetaab left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2019
@rdrgmnzs
Copy link
Contributor

rdrgmnzs commented Aug 16, 2019

Looks like we'll need to bump the kubernetesVersion, under kopsVersions.

@mikesplain
Copy link
Contributor

/retest

@mikesplain mikesplain self-assigned this Sep 7, 2019
@mikesplain
Copy link
Contributor

mikesplain commented Sep 8, 2019

Hmm, @justinsb is there any reason we shouldn't be doing something like this too?

diff --git a/channels/alpha b/channels/alpha
index a661e9e5c..f7cf1c270 100644
--- a/channels/alpha
+++ b/channels/alpha
@@ -82,31 +82,7 @@ spec:
     #recommendedVersion: "1.11.0"
     #requiredVersion: 1.11.0
     kubernetesVersion: 1.11.10
-  - range: ">=1.10.0-alpha.1"
-    recommendedVersion: "1.10.0"
-    #requiredVersion: 1.10.0
-    kubernetesVersion: 1.10.13
-  - range: ">=1.9.0-alpha.1"
-    recommendedVersion: 1.9.2
-    #requiredVersion: 1.9.0
-    kubernetesVersion: 1.9.11
-  - range: ">=1.8.0-alpha.1"
-    recommendedVersion: 1.8.1
-    requiredVersion: 1.7.1
-    kubernetesVersion: 1.8.15
-  - range: ">=1.7.0-alpha.1"
-    recommendedVersion: 1.8.1
-    requiredVersion: 1.7.1
-    kubernetesVersion: 1.7.16
-  - range: ">=1.6.0-alpha.1"
-    recommendedVersion: 1.8.1
-    requiredVersion: 1.7.1
-    kubernetesVersion: 1.6.13
-  - range: ">=1.5.0-alpha1"
-    recommendedVersion: 1.8.1
-    requiredVersion: 1.7.1
-    kubernetesVersion: 1.5.8
-  - range: "<1.5.0"
-    recommendedVersion: 1.8.1
-    requiredVersion: 1.7.1
-    kubernetesVersion: 1.4.12
+  - range: "<=1.11.0-alpha.1"
+    recommendedVersion: "1.11.0"
+    #requiredVersion: 1.11.0
+    kubernetesVersion: 1.11.10

Which as @rdrgmnzs pointed out, will likely fix the tests, or at least did for me locally.

Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.
@justinsb justinsb force-pushed the alpha_channel_force_updates branch from d82b11b to 61f3576 Compare September 10, 2019 13:49
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 10, 2019
@justinsb
Copy link
Member Author

Good idea @mikesplain .. we really don't want to be encouraging use of those older kops versions at this point - particularly as newer kops versions should still work with older k8s versions!

@mikesplain
Copy link
Contributor

Thanks @justinsb!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 10, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb, mikesplain

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:
  • OWNERS [justinsb,mikesplain]

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 merged commit 0ee8434 into kubernetes:master Sep 10, 2019
justinsb added a commit to justinsb/kops that referenced this pull request Sep 14, 2019
Bringing this from the alpha channel (kubernetes#7423) to the stable channel.

As discussed in office hours, and from the notes on kubernetes#7423:

Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.
justinsb added a commit to justinsb/kops that referenced this pull request Sep 14, 2019
Bringing this from the alpha channel (kubernetes#7423) to the stable channel.

As discussed in office hours, and from the notes on kubernetes#7423:

Even 1.11 and 1.12 are technically unsupported, but this should get
users off the very oldest unsupported versions of k8s.

Users that want to stay on those versions can pass the
KOPS_RUN_OBSOLETE_VERSION env var.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants