Skip to content
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

temp #1

Merged
merged 1 commit into from
Aug 10, 2024
Merged

temp #1

merged 1 commit into from
Aug 10, 2024

Conversation

comtalyst
Copy link
Owner

…/azure

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:



if vmssInfo.ExtendedLocation != nil {
Copy link
Owner Author

@comtalyst comtalyst Jul 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not present on older versions due to kubernetes#6447. But seemingly justified(?) due to fork code differences, see createOrUpdateInstances() for after-fork location.

This feature itself and the after-fork location is already in the fork from past versions, but kubernetes#6447 upstream it in master.


if scaleSet.enableForceDelete && isOperationNotAllowed(rerr) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not present on older versions due to kubernetes#6447. But seemingly justified(?) due to fork code differences, see azure_force_delete_scale_set.go for after-fork location.

This feature itself and the after-fork location is already in the fork from past versions, but kubernetes#6447 upstream it in master.

if rerr != nil {
klog.Errorf("virtualMachineScaleSetsClient.DeleteInstancesAsync for instances %v failed: %v", requiredIds.InstanceIds, rerr)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not present on older versions due to fork 1.30 have this white space for unknown reason... No commit differences. Probably a merge mistake.

@@ -767,6 +837,42 @@ func (scaleSet *ScaleSet) getOrchestrationMode() (compute.OrchestrationMode, err
return vmss.OrchestrationMode, nil
}

func isOperationNotAllowed(rerr *retry.Error) bool {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not present on older versions due to kubernetes#6447. But seemingly justified(?) due to fork code differences, see azure_force_delete_scale_set.go for after-fork location.

This feature itself and the after-fork location is already in the fork from past versions, but kubernetes#6447 upstream it in master.

@comtalyst comtalyst force-pushed the comtalyst/azure-changes-from-managed-master branch from 55979ec to 2eb6cbe Compare July 21, 2024 18:44
@comtalyst comtalyst merged commit 45dfba4 into master Aug 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant