AgentBaker icon indicating copy to clipboard operation
AgentBaker copied to clipboard

Add a script to auto add Kubernetes patch versions

Open gaopenghigh opened this issue 1 year ago • 3 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

From AKS v20240627, we start to support all Kubernetes patch versions if a minor version is supported, that means we need to update VHD cache more frequently than before. This PR adds a script to help automate adding new patch versions. Now we just need to run make auto-add-k8s-patch-versions, if everything is good, then make generate.

To keep the latest 2 patch versions always cached in VHD, we actually cache 3 patch versions so latest 2 still in cache even if RP side haven't been updated.

This PR also contains the result of the script: 1.30.0 is added back to cache.

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

gaopenghigh avatar Jul 17 '24 11:07 gaopenghigh

Pull Request Test Coverage Report for Build 10070699361

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 71.021%

Totals Coverage Status
Change from base Build 10066056764: 0.0%
Covered Lines: 2566
Relevant Lines: 3613

💛 - Coveralls

coveralls avatar Jul 17 '24 11:07 coveralls

Need to rebase master, but there are conflicts

ShiqianTao avatar Jul 22 '24 12:07 ShiqianTao

Need to rebase master, but there are conflicts

Thank you @ShiqianTao , rebased.

gaopenghigh avatar Jul 23 '24 04:07 gaopenghigh