-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 164: Pre_Install_Report : Update deprecated Kubernetes APIs in tool to be compatible with Viya supported range 1.20.x-1.22.x #165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only approving the README
curr_version = semantic_version.Version(str(self._k8s_server_version)) | ||
|
||
if(curr_version in semantic_version.SimpleSpec(viya_constants.MIN_K8S_SERVER_VERSION)): | ||
self.logger.error("This release of Kubernetes is not supported. major {} minor {}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this log entry show up as "This release of Kubernetes is not supported. X Y" rather than "X.Y"?? Seems like it's coded for the former but should be the latter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified code so that the output looks like this: Example "This release of Kubernetes is not supported 1.16.x"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just saying what is not supported is not clear enough, does somewhere else in the messaging or report output clarify what the minimum supported version is to go along with the statement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Updates:
Deleted support for <1.19.
Questions:
There are no checks for upper limit of k8s supported range. Do we need one ???