[backport v2.10.0] Use semver.coerce()
to get valid kubernetes version
#12533
+3
−1
semver.coerce()
to get valid kubernetes version
#12533