Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Use latest patch of DefaultKubernetesRelease as default k8s version #2654

Merged
merged 2 commits into from
Apr 11, 2018

Conversation

CecileRobertMichon
Copy link
Contributor

What this PR does / why we need it: Update k8s default version from 1.8.9 to 1.8.11

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

If applicable:

  • documentation
  • unit tests
  • tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

@ghost ghost added the in progress label Apr 10, 2018
@jackfrancis
Copy link
Member

Should we instead prefer a release channel (i.e., 1.8) and then just make the default version the latest patch release in that channel?

@CecileRobertMichon
Copy link
Contributor Author

Yes I think that makes sense. The only reason I see that would prevent us from doing that is baking newly released k8s minor versions in acs-engine before we make them default. For example, when k8s 1.8.12 comes out, we add support for it right away but we only promote it to the default version after it has been passing our 1.8 tests for a while. What do you think?

@jackfrancis
Copy link
Member

I think we defer to k8s to bake basic stability into the most current release. But open to doing anything reasonable that is automateable.

@CecileRobertMichon
Copy link
Contributor Author

Ok agreed, I'll modify this PR to implement a default release instead of a default version

@CecileRobertMichon CecileRobertMichon changed the title Change k8s default version to 1.8.11 Use latest patch of DefaultKubernetesRelease as default k8s version Apr 11, 2018
}
return GetAllSupportedKubernetesVersions(), string(KubernetesDefaultVersion)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any reason why a string conversion was necessary here? I removed it but let me know if I'm missing something @jackfrancis

Copy link
Member

Choose a reason for hiding this comment

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

not a sane one that I can think of, nope!

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

lgtm

@CecileRobertMichon CecileRobertMichon merged commit 81a2d99 into Azure:master Apr 11, 2018
@ghost ghost removed the ready label Apr 11, 2018
@CecileRobertMichon CecileRobertMichon deleted the new-k8s-default branch April 16, 2018 17:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants