-
Notifications
You must be signed in to change notification settings - Fork 431
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
Add sku version logging #2412
Add sku version logging #2412
Conversation
@@ -115,12 +115,14 @@ func (s *Service) GetDefaultWindowsImage(ctx context.Context, location, k8sVersi | |||
return defaultImage, nil | |||
} | |||
|
|||
// GetDefaultImageSKUID gets the SKU ID and version of the image to use for the provided version of Kubernetes. | |||
// getSKUAndVersion gets the SKU ID and version of the image to use for the provided version of Kubernetes. |
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 one meant to merge before or after #2388 ?
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.
Either way should be fine, they're independent (although rebases may happen). I'd like to see #2388 merge soon because it fixes a serious bug, but this just improves logging.
92fbe72
to
9526c04
Compare
Thanks! this will help with debugging |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest
I don't think this ci-entrypoint failure is related to this PR. I'll look into it. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Adds some logging that mentions the VM image SKU version, which is now important since it encodes the Kubernetes version for reference images. This also shortens the function name and does some minor cleanup.
Which issue(s) this PR fixes:
Refs #2388 (comment)
Special notes for your reviewer:
The output looks like this (newlines added by me to highlight
version
):TODOs:
Release note: