code: func CompareKubeAwareVersionStrings(v1, v2 string) int {
  	if v1 == v2 {
  		return 0
  	}
  	v1major, v1type, v1minor, ok1 := parseKubeVersion(v1)
  	v2major, v2type, v2minor, ok2 := parseKubeVersion(v2)
  	switch {
  	case !ok1 && !ok2:
  		return strings.Compare(v2, v1)
  	case !ok1 && ok2:
  		return -1
  	case ok1 && !ok2:
  		return 1
  	}
  	if v1type != v2type {
  		return int(v1type) - int(v2type)
  	}
  	if v1major != v2major {
  		return v1major - v2major
  	}
  	return v1minor - v2minor
  }
docs: // CompareKubeAwareVersionStrings compares two kube-like version strings.
  // Kube-like version strings are starting with a v, followed by a major version, optional "alpha" or "beta" strings
  // followed by a minor version (e.g. v1, v2beta1). Versions will be sorted based on GA/alpha/beta first and then major
  // and minor versions. e.g. v2, v1, v1beta2, v1beta1, v1alpha1.