Skip to content

Commit

Permalink
Merge pull request #1407 from yjqg6666/k8s-versions-more
Browse files Browse the repository at this point in the history
[#1406] support for recent k8s patch versions
  • Loading branch information
ks-ci-bot authored Jul 27, 2022
2 parents 1dc325d + ee333b9 commit 38897fe
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Use KubeKey in the following three scenarios.
* **v1.19**:   *v1.19.9*
* **v1.20**:   *v1.20.10*
* **v1.21**:   *v1.21.13*
* **v1.22**:   *v1.22.10*
* **v1.23**:   *v1.23.8* (default)
* **v1.24**:   *v1.24.1*
* **v1.22**:   *v1.22.12*
* **v1.23**:   *v1.23.9* (default)
* **v1.24**:   *v1.24.3*
> Looking for more supported versions [Click here](./docs/kubernetes-versions.md)
### Container Manager
Expand Down
6 changes: 3 additions & 3 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
* **v1.19**:   *v1.19.9*
* **v1.20**:   *v1.20.10*
* **v1.21**:   *v1.21.13*
* **v1.22**:   *v1.22.10*
* **v1.23**:   *v1.23.8* (default)
* **v1.24**:   *v1.24.1*
* **v1.22**:   *v1.22.12*
* **v1.23**:   *v1.23.9* (default)
* **v1.24**:   *v1.24.3*
> 查看更多支持的版本[点击这里](./docs/kubernetes-versions.md)
## 要求和建议
Expand Down
2 changes: 1 addition & 1 deletion apis/kubekey/v1alpha2/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const (
DefaultContainerdVersion = "1.6.4"
DefaultRuncVersion = "v1.1.1"
DefaultCrictlVersion = "v1.24.0"
DefaultKubeVersion = "v1.23.8"
DefaultKubeVersion = "v1.23.9"
DefaultCalicoVersion = "v3.23.2"
DefaultFlannelVersion = "v0.12.0"
DefaultCniVersion = "v0.9.1"
Expand Down
10 changes: 10 additions & 0 deletions docs/kubernetes-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
| v1.22.8 | :white_check_mark: |
| v1.22.9 | :white_check_mark: |
| v1.22.10 | :white_check_mark: |
| v1.22.11 | :white_check_mark: |
| v1.22.12 | :white_check_mark: |
| v1.23.0 | :white_check_mark: |
| v1.23.1 | :white_check_mark: |
| v1.23.2 | :white_check_mark: |
Expand All @@ -57,8 +59,11 @@
| v1.23.6 | :white_check_mark: |
| v1.23.7 | :white_check_mark: |
| v1.23.8 | :white_check_mark: |
| v1.23.9 | :white_check_mark: |
| v1.24.0 | :white_check_mark: |
| v1.24.1 | :white_check_mark: |
| v1.24.2 | :white_check_mark: |
| v1.24.3 | :white_check_mark: |

## Kubernetes Versions(arm64)
| Version | Supported |
Expand Down Expand Up @@ -105,6 +110,8 @@
| v1.22.8 | :white_check_mark: |
| v1.22.9 | :white_check_mark: |
| v1.22.10 | :white_check_mark: |
| v1.22.11 | :white_check_mark: |
| v1.22.12 | :white_check_mark: |
| v1.23.0 | :white_check_mark: |
| v1.23.1 | :white_check_mark: |
| v1.23.2 | :white_check_mark: |
Expand All @@ -114,5 +121,8 @@
| v1.23.6 | :white_check_mark: |
| v1.23.7 | :white_check_mark: |
| v1.23.8 | :white_check_mark: |
| v1.23.9 | :white_check_mark: |
| v1.24.0 | :white_check_mark: |
| v1.24.1 | :white_check_mark: |
| v1.24.2 | :white_check_mark: |
| v1.24.3 | :white_check_mark: |
30 changes: 30 additions & 0 deletions pkg/files/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ var (
"v1.22.8": "fc10b4e5b66c9bfa6dc297bbb4a93f58051a6069c969905ef23c19680d8d49dc",
"v1.22.9": "e3061f3a9c52bff82ae740c928fe389a256964a5756d691758bf3611904d7183",
"v1.22.10": "df5e090a3c0e24b92b26f22f1d7689b6ea860099ea89b97edf5d4c19fa6da0ca",
"v1.22.11": "da3594b4e905627fd5c158531280e40a71dadf44f1f0b6c061a1b729a898dd9b",
"v1.22.12": "9410dcff069993caa7dfe783d35ac2d929ec258a2c3a4f0c3f269f1091931263",
"v1.23.0": "e21269a058d4ad421cf5818d4c7825991b8ba51cd06286932a33b21293b071b0",
"v1.23.1": "4d5766cb90050ee84e15df5e09148072da2829492fdb324521c4fa6d74d3aa34",
"v1.23.2": "58487391ec37489bb32fe532e367995e9ecaeafdb65c2113ff3675e7a8407219",
Expand All @@ -360,8 +362,11 @@ var (
"v1.23.6": "9213c7d738e86c9a562874021df832735236fcfd5599fd4474bab3283d34bfd7",
"v1.23.7": "d7d863213eeb4791cdbd7c5fd398cf0cc2ef1547b3a74de8285786040f75efd2",
"v1.23.8": "edbd60fd6a7e11c71f848b3a6e5d1b5a2bb8ebd703e5490caa8db267361a7b89",
"v1.23.9": "947571c50ab840796fdd4ffb129154c005dfcb0fe83c6eff392d46cf187fd296",
"v1.24.0": "5e58a29eaaf69ea80e90d9780d2a2d5f189fd74f94ec3bec9e3823d472277318",
"v1.24.1": "15e3193eecbc69330ada3f340c5a47999959bc227c735fa95e4aa79470c085d0",
"v1.24.2": "028f73b8e7c2ae389817d34e0cb829a814ce2fac0a535a3aa0708f3133e3e712",
"v1.24.3": "406d5a80712c45d21cdbcc51aab298f0a43170df9477259443d48eac116998ff",
},
arm64: {
"v1.15.12": "dfc1af35cccac89099a7e9a48dcc4b0d956a8b1d4dfcdd2be12191b6f6c384a3",
Expand Down Expand Up @@ -406,6 +411,8 @@ var (
"v1.22.8": "67f09853d10434347eb75dbb9c63d57011ba3e4f7e1b320a0c30612b8185be8c",
"v1.22.9": "0168c60d1997435b006b17c95a1d42e55743048cc50ee16c8774498aa203a202",
"v1.22.10": "8ea22a05b428de70a430711e8f75553e1be2925977ab773b5be1c240bc5b9fcd",
"v1.22.11": "15e1cba65f0db4713bf45ee23dbd01dd30048d20ad97ef985d6b9197f8ae359a",
"v1.22.12": "d0469a3008411edb50f6562e00f1df28123cf2dc368f1538f1b41e27b0482b1c",
"v1.23.0": "989d117128dcaa923b2c7a917a03f4836c1b023fe1ee723541e0e39b068b93a6",
"v1.23.1": "eb865da197f4595dec21e6fb1fa1751ef25ac66b64fa77fd4411bbee33352a40",
"v1.23.2": "a29fcde7f92e1abfe992e99f415d3aee0fa381478b4a3987e333438b5380ddff",
Expand All @@ -415,8 +422,11 @@ var (
"v1.23.6": "a4db7458e224c3a2a7b468fc2704b31fec437614914b26a9e3d9efb6eecf61ee",
"v1.23.7": "65fd71aa138166039b7f4f3695308064abe7f41d2f157175e6527e60fb461eae",
"v1.23.8": "9b3d8863ea4ab0438881ccfbe285568529462bc77ef4512b515397a002d81b22",
"v1.23.9": "a0a007023db78e5f78d3d4cf3268b83f093201847c1c107ffb3dc695f988c113",
"v1.24.0": "3e0fa21b8ebce04ca919fdfea7cc756e5f645166b95d6e4b5d9912d7721f9004",
"v1.24.1": "04f18fe097351cd16dc91cd3bde979201916686c6f4e1b87bae69ab4479fda04",
"v1.24.2": "bd823b934d1445a020f8df5fe544722175024af62adbf6eb27dc7250d5db0548",
"v1.24.3": "ea0fb451b69d78e39548698b32fb8623fad61a1a95483fe0add63e3ffb6e31b5",
},
},
kubelet: {
Expand Down Expand Up @@ -468,6 +478,8 @@ var (
"v1.22.8": "2e6d1774f18c4d4527c3b9197a64ea5705edcf1b547c77b3e683458d771f3ce7",
"v1.22.9": "61530a9e6a5cb1f971295de860a8ade29db65d0dff50d1ffff3de1155dfd0c02",
"v1.22.10": "c1aa6e9f59cfc765d33b382f604140699ab97c9c4212a905d5e1bcd7ef9a5c8b",
"v1.22.11": "50fb1ede16c15dfe0bcb9fa98148d969ae8efeb8b599ce5eb5f09ab78345c9d1",
"v1.22.12": "d54539bd0fa43b43e9ad2ac4e6644bcb3f1e98b8fc371befba7ac362d93a6b00",
"v1.23.0": "4756ff345dd80704b749d87efb8eb294a143a1f4a251ec586197d26ad20ea518",
"v1.23.1": "7ff47abf62096a41005d18c6d482cf73f26b613854173327fa9f2b98720804d4",
"v1.23.2": "c3c4be17910935d234b776288461baf7a9c6a7414d1f1ac2ef8d3a1af4e41ab6",
Expand All @@ -477,8 +489,11 @@ var (
"v1.23.6": "fbb83e35f6b9f7cae19c50694240291805ca9c4028676af868306553b3e9266c",
"v1.23.7": "518f67200e853253ed6424488d6148476144b6b796ec7c6160cff15769b3e12a",
"v1.23.8": "1ba15ad4d9d99cfc3cbef922b5101492ad74e812629837ac2e5705a68cb7af1e",
"v1.23.9": "a5975920be1de0768e77ef101e4e42b179406add242c0883a7dc598f2006d387",
"v1.24.0": "3d98ac8b4fb8dc99f9952226f2565951cc366c442656a889facc5b1b2ec2ba52",
"v1.24.1": "fc352d5c983b0ccf47acd8816eb826d781f408d27263dd8f761dfb63e69abfde",
"v1.24.2": "13da57d32be1debad3d8923e481f30aaa46bca7030b7e748b099d403b30e5343",
"v1.24.3": "da575ceb7c44fddbe7d2514c16798f39f8c10e54b5dbef3bcee5ac547637db11",
},
arm64: {
"v1.15.12": "c7f586a77acdb3c3e27a6b3bd749760538b830414575f8718f03f7ce53b138d8",
Expand Down Expand Up @@ -523,6 +538,8 @@ var (
"v1.22.8": "604c672908a3b3cbbcf9d109d8d5fef0879992ddcf0d3e0766079d3bb7d0ca3e",
"v1.22.9": "d7a692ee4f5f5929a15c61947ae2deecb71b0945461f6064ced83d13094028e8",
"v1.22.10": "2376a7ecc044bc4b5cdae9a0a14d058ae5c1803450f3a8ffdce656785e9e251e",
"v1.22.11": "d20398fa95ee724d63c3263af65eeb49e56c963fcace92efed2d2d0f6084c11a",
"v1.22.12": "0e58133c153be32e8e61004cfdc18f8a02ef465f979c6d5bf3e998fbe3f89fca",
"v1.23.0": "a546fb7ccce69c4163e4a0b19a31f30ea039b4e4560c23fd6e3016e2b2dfd0d9",
"v1.23.1": "c24e4ab211507a39141d227595610383f7c5686cae3795b7d75eebbce8606f3d",
"v1.23.2": "65372ad077a660dfb8a863432c8a22cd0b650122ca98ce2e11f51a536449339f",
Expand All @@ -532,8 +549,11 @@ var (
"v1.23.6": "11a0310e8e7af5a11539ac26d6c14cf1b77d35bce4ca74e4bbd053ed1afc8650",
"v1.23.7": "e96b746a77b00c04f1926035899a583ce28f02e9a5dca26c1bfb8251ca6a43bb",
"v1.23.8": "1b4ec707e29e8136e3516a437cb541a79c52c69b1331a7add2b47e7ac7d032e6",
"v1.23.9": "c11b14ab3fa8e567c54e893c5a937f53618b26c9b62416cc8aa7760835f68350",
"v1.24.0": "8f066c9a048dd1704bf22ccf6e994e2fa2ea1175c9768a786f6cb6608765025e",
"v1.24.1": "c2189c6956afda0f6002839f9f14a9b48c89dcc0228701e84856be36a3aac6bf",
"v1.24.2": "40a8460e104fbf97abee9763f6e1f2143debc46cc6c9a1a18e21c1ff9960d8c0",
"v1.24.3": "6c04ae25ee9b434f40e0d2466eb4ef5604dc43f306ddf1e5f165fc9d3c521e12",
},
},
kubectl: {
Expand Down Expand Up @@ -585,6 +605,8 @@ var (
"v1.22.8": "761bf1f648056eeef753f84c8365afe4305795c5f605cd9be6a715483fe7ca6b",
"v1.22.9": "ae6a9b585f9a366d24bb71f508bfb9e2bb90822136138109d3a91cd28e6563bb",
"v1.22.10": "225bc8d4ac86e3a9e36b85d2d9cb90cd4b4afade29ba0292f47834ecf570abf2",
"v1.22.11": "a61c697e3c9871da7b609511248e41d9c9fb6d9e50001425876676924761586b",
"v1.22.12": "8e36c8fa431e454e3368c6174ce3111b7f49c28feebdae6801ab3ca45f02d352",
"v1.23.0": "2d0f5ba6faa787878b642c151ccb2c3390ce4c1e6c8e2b59568b3869ba407c4f",
"v1.23.1": "156fd5e7ebbedf3c482fd274089ad75a448b04cf42bc53f370e4e4ea628f705e",
"v1.23.2": "5b55b58205acbafa7f4e3fc69d9ce5a9257be63455db318e24db4ab5d651cbde",
Expand All @@ -594,8 +616,11 @@ var (
"v1.23.6": "703a06354bab9f45c80102abff89f1a62cbc2c6d80678fd3973a014acc7c500a",
"v1.23.7": "b4c27ad52812ebf3164db927af1a01e503be3fb9dc5ffa058c9281d67c76f66e",
"v1.23.8": "299803a347e2e50def7740c477f0dedc69fc9e18b26b2f10e9ff84a411edb894",
"v1.23.9": "053561f7c68c5a037a69c52234e3cf1f91798854527692acd67091d594b616ce",
"v1.24.0": "94d686bb6772f6fb59e3a32beff908ab406b79acdfb2427abdc4ac3ce1bb98d7",
"v1.24.1": "0ec3c2dbafc6dd27fc8ad25fa27fc527b5d7356d1830c0efbb8adcf975d9e84a",
"v1.24.2": "f15fb430afd79f79ef7cf94a4e402cd212f02d8ec5a5e6a7ba9c3d5a2f954542",
"v1.24.3": "8a45348bdaf81d46caf1706c8bf95b3f431150554f47d444ffde89e8cdd712c1",
},
arm64: {
"v1.15.12": "ef9a4272d556851c645d6788631a2993823260a7e1176a281620284b4c3406da",
Expand Down Expand Up @@ -640,6 +665,8 @@ var (
"v1.22.8": "48105735b74e941a84dec6bd53637c023ad53dc5fadd9bf616347cb339c76b47",
"v1.22.9": "33724bed4dddf4d8ecd6ae75667552d121e2fb575ff2db427ce66516e048edac",
"v1.22.10": "6ce1a1315225d7d62f7d17083c9f87d4f3f5684c80da108799c99780ad520cb3",
"v1.22.11": "35da77af0581740aa8815c461ee912181fbb4cec09c2e0c9f6dbee58a48758a6",
"v1.22.12": "7d6507ecb8061f7d94d1bd6b982c56b1a1f929427bcc27a962fe66c61100f12a",
"v1.23.0": "1d77d6027fc8dfed772609ad9bd68f611b7e4ce73afa949f27084ad3a92b15fe",
"v1.23.1": "c0c24c7f6a974390e15148a575c84878e925f32328ff96ae173ec762678e4524",
"v1.23.2": "6e7bb8ddc5fc8fa89a4c31aba02942718b092a5107585bd09a83c95039c7510b",
Expand All @@ -649,8 +676,11 @@ var (
"v1.23.6": "4be771c8e6a082ba61f0367077f480237f9858ef5efe14b1dbbfc05cd42fc360",
"v1.23.7": "5d59447a5facd8623a79c2a296a68a573789d2b102b902aafb3a730fc4bb0d3b",
"v1.23.8": "b293fce0b3dec37d3f5b8875b8fddc64e02f0f54f54dd7742368973c52530890",
"v1.23.9": "66659f614d06d0fe80c5eafdba7073940906de98ea5ee2a081d84fa37d8c5a21",
"v1.24.0": "449278789de283648e4076ade46816da249714f96e71567e035e9d17e1fff06d",
"v1.24.1": "b817b54183e089494f8b925096e9b65af3a356d87f94b73929bf5a6028a06271",
"v1.24.2": "5a4c3652f08b4d095b686e1323ac246edbd8b6e5edd5a2626fb71afbcd89bc79",
"v1.24.3": "bdad4d3063ddb7bfa5ecf17fb8b029d5d81d7d4ea1650e4369aafa13ed97149a",
},
},
etcd: {
Expand Down
5 changes: 5 additions & 0 deletions pkg/version/kubernetes/version_enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func SupportedK8sVersionList() []string {
"v1.22.8",
"v1.22.9",
"v1.22.10",
"v1.22.11",
"v1.22.12",
"v1.23.0",
"v1.23.1",
"v1.23.2",
Expand All @@ -145,7 +147,10 @@ func SupportedK8sVersionList() []string {
"v1.23.6",
"v1.23.7",
"v1.23.8",
"v1.23.9",
"v1.24.0",
"v1.24.1",
"v1.24.2",
"v1.24.3",
}
}

0 comments on commit 38897fe

Please sign in to comment.