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

Hotfix: fix probe missing error when updating service whose external traffic policy is local and has multiple ports #1317

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

MartinForReal
Copy link
Contributor

@MartinForReal MartinForReal commented Mar 24, 2022

Signed-off-by: GitHub [email protected]

/kind bug

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?

Fixed a bug in health probe generator. Probe related configuration is not updated due to variable scope

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


@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 24, 2022
@k8s-ci-robot k8s-ci-robot requested review from feiskyer and nilo19 March 24, 2022 03:08
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 24, 2022
@coveralls
Copy link

coveralls commented Mar 24, 2022

Coverage Status

Coverage decreased (-0.02%) to 80.099% when pulling 05333d0 on fix/fix_probe_missing into 90eae76 on master.

@MartinForReal MartinForReal force-pushed the fix/fix_probe_missing branch from f42a9be to 720b30c Compare March 24, 2022 03:44
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 24, 2022
@MartinForReal MartinForReal force-pushed the fix/fix_probe_missing branch from 720b30c to 05333d0 Compare March 24, 2022 04:18
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Mar 24, 2022
Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 24, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: feiskyer, MartinForReal

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:
  • OWNERS [MartinForReal,feiskyer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feiskyer
Copy link
Member

/cherrypick release-1.23

@k8s-infra-cherrypick-robot

@feiskyer: once the present PR merges, I will cherry-pick it on top of release-1.23 in a new PR and assign it to you.

In response to this:

/cherrypick release-1.23

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@feiskyer
Copy link
Member

/cherrypick release-1.1

@k8s-infra-cherrypick-robot

@feiskyer: once the present PR merges, I will cherry-pick it on top of release-1.1 in a new PR and assign it to you.

In response to this:

/cherrypick release-1.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@feiskyer
Copy link
Member

/cherrypick release-1.0

@k8s-infra-cherrypick-robot

@feiskyer: once the present PR merges, I will cherry-pick it on top of release-1.0 in a new PR and assign it to you.

In response to this:

/cherrypick release-1.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@feiskyer
Copy link
Member

/cherrypick release-0.7

@k8s-infra-cherrypick-robot

@feiskyer: once the present PR merges, I will cherry-pick it on top of release-0.7 in a new PR and assign it to you.

In response to this:

/cherrypick release-0.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@4c74356b41
Copy link

hey, I'm a bit confused. which aks version this will be available with? i can see you are cherry picking to multiple different releases, but I don't really know what aks version they map to

@feiskyer
Copy link
Member

@4c74356b41 see the version matrix https://github.com/kubernetes-sigs/cloud-provider-azure#current-status (AKS has enabled cloud-controller-manager for versions >=1.22.0)

@k8s-infra-cherrypick-robot

@feiskyer: new pull request created: #1324

In response to this:

/cherrypick release-0.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MartinForReal
Copy link
Contributor Author

merge this commit because e2e tests have been executed for a few times

@k8s-infra-cherrypick-robot

@feiskyer: new pull request created: #1325

In response to this:

/cherrypick release-1.23

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@feiskyer: new pull request created: #1326

In response to this:

/cherrypick release-1.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@feiskyer: new pull request created: #1327

In response to this:

/cherrypick release-1.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MartinForReal
Copy link
Contributor Author

/cherrypick release-1.23

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request could not be created: failed to create pull request against kubernetes-sigs/cloud-provider-azure#release-1.23 from head k8s-infra-cherrypick-robot:cherry-pick-1317-to-release-1.23: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for k8s-infra-cherrypick-robot:cherry-pick-1317-to-release-1.23."}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

In response to this:

/cherrypick release-1.23

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MartinForReal
Copy link
Contributor Author

/cherrypick release-1.23

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request created: #1332

In response to this:

/cherrypick release-1.23

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MartinForReal
Copy link
Contributor Author

/cherrypick release-1.1

@MartinForReal
Copy link
Contributor Author

/cherrypick release-1.0

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request created: #1333

In response to this:

/cherrypick release-1.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@MartinForReal: new pull request created: #1334

In response to this:

/cherrypick release-1.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@4c74356b41
Copy link

@4c74356b41 see the version matrix https://github.com/kubernetes-sigs/cloud-provider-azure#current-status (AKS has enabled cloud-controller-manager for versions >=1.22.0)

this only gives part of the answer. so you are merging to 1.23 and 1.1, which corresponds to 1.22 and 1.23 k8s version, but which patch version is that? or when is it going to be available in aks? or what do i need to do to encorporate this fix?

@MartinForReal
Copy link
Contributor Author

I will be rolled out to all aks regions

@4c74356b41
Copy link

all patch versions? when? i assume if it gets retrofitted I'd just need to do smth like:

az aks upgrade --node-image-only

?

@MartinForReal MartinForReal changed the title Hotfix: fix probe missing when external traffic is local with multiple port opened. Hotfix: fix probe missing error when updating service whose external traffic policy is local and has multiple ports Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants