Skip to content

Conversation

@rifelpet
Copy link
Member

@rifelpet rifelpet commented Oct 6, 2024

This should improve kops' handling of NAT gateways being deleted. If a NAT gateway is present in a route table and it is deleted, the route remains but with a state of blackhole. When kops discovers NAT gateways it discovers them via route table. This means a deleted NAT Gateway could still be recognized by kops, leading to 404s in subsequent API calls.

Now kops will ignore such NAT Gateways and should report needing to create a replacement. route.go will also correctly handle replacing the blackhole'd route in the route table.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 6, 2024
@k8s-ci-robot k8s-ci-robot requested review from hakman and zetaab October 6, 2024 12:18
@k8s-ci-robot k8s-ci-robot added the area/provider/aws Issues or PRs related to aws provider label Oct 6, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 6, 2024
@k8s-ci-robot k8s-ci-robot merged commit 6e33991 into kubernetes:master Oct 6, 2024
23 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.31 milestone Oct 6, 2024
k8s-ci-robot added a commit that referenced this pull request Oct 6, 2024
…16868-upstream-release-1.30

Automated cherry pick of #16879: Ignore blackhole NAT routes
#16868: aws: Update VPC CNI to v1.18.5
k8s-ci-robot added a commit that referenced this pull request Oct 6, 2024
…-upstream-release-1.29

Automated cherry pick of #16879: Ignore blackhole NAT routes
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. area/provider/aws Issues or PRs related to aws provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants