Skip to content

Remove vip usage#419

Merged
moleske merged 2 commits intodevelopfrom
gh-3712-no-more-vip
Sep 8, 2025
Merged

Remove vip usage#419
moleske merged 2 commits intodevelopfrom
gh-3712-no-more-vip

Conversation

@moleske
Copy link
Copy Markdown
Member

@moleske moleske commented May 24, 2024

cloudfoundry/cloud_controller_ng#3712

Thanks for contributing to the capi_release. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run CF Acceptance Tests on bosh lite

@moleske moleske marked this pull request as ready for review May 24, 2024 22:07
@moleske
Copy link
Copy Markdown
Member Author

moleske commented May 24, 2024

I tried to claim a bosh lite but it seems to think there are none available. I left a message in the capi slack channel asking if I was just doing it wrong. I was able to create a bosh release with cloudfoundry/cloud_controller_ng#3761 but wasn't able to test if it deployed successfully due to the inability to claim a bosh lite. If someone else is able to give a whirl and run cats that would be helpful, or let me know how to correctly claim a bosh lite

@moleske moleske force-pushed the gh-3712-no-more-vip branch from 7210da3 to 935ea54 Compare May 24, 2024 22:56
@moleske moleske marked this pull request as draft May 25, 2024 01:01
@moleske
Copy link
Copy Markdown
Member Author

moleske commented May 25, 2024

putting back in draft cause I got a bosh lite and failures. I wonder if it is because cf networking is still expecting something with vip

@moleske moleske force-pushed the gh-3712-no-more-vip branch from 935ea54 to cd2d15b Compare June 9, 2024 17:02
@moleske moleske marked this pull request as ready for review June 9, 2024 19:12
@moleske
Copy link
Copy Markdown
Member Author

moleske commented Jun 9, 2024

see cloudfoundry/cloud_controller_ng#3761 (comment) for details

@moleske moleske requested review from a team June 9, 2024 19:12
Comment thread jobs/cloud_controller_ng/spec Outdated
It is recommended to leave this value as the default.
If this range is changed, it is likely the routes on the internal service mesh domain
will need to be recreated."
description: "This is only here cause cf networking needs it, we should coordinate a delete with them"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

oh this was only needed for istio release stuff which was never GAed. rip it out.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

when you say rip it out, do you mean make prs to cf networking to remove internal_route_vip_range, followed by removing internal_route_vip_range here? Or do you mean merge this PR as is and some day in the future remove from internal_route_vip_range from cf networking and then from here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can/should remove cc.internal_route_vip_range completely. As far as I can see, it is not referenced anymore since cf-networking-release v3.73.0. The bosh links were removed with cloudfoundry/cf-networking-release#332

@moleske moleske force-pushed the gh-3712-no-more-vip branch from cd2d15b to 2d10ed9 Compare July 30, 2024 05:36
@moleske
Copy link
Copy Markdown
Member Author

moleske commented Jul 30, 2024

Got this working on a bosh lite! cf acceptance test 16.4.0 is passing with the config generated. bosh lite is regent in the capi pool for those curious. Could use some reviews from folks, though probably need an answer from @ameowlia or @geofffranks about why cf networking needs vip before deciding to merge or not. Mostly cause if vip can be removed from cf networking, then we can remove it from here afterword (would be multiple major bumps in cf-d I believe)

@moleske moleske force-pushed the gh-3712-no-more-vip branch from 2d10ed9 to f9766a5 Compare September 11, 2024 02:59
@moleske moleske force-pushed the gh-3712-no-more-vip branch from f9766a5 to ca66f08 Compare November 2, 2024 05:20
@ameowlia
Copy link
Copy Markdown
Member

ameowlia commented Nov 5, 2024

Rip it out! do it!

@a-b
Copy link
Copy Markdown
Member

a-b commented Nov 5, 2024

@ameowlia, thanks for the context!

Copy link
Copy Markdown
Member

@a-b a-b left a comment

Choose a reason for hiding this comment

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

LGTM

tcdowney
tcdowney previously approved these changes Nov 5, 2024
@svkrieger
Copy link
Copy Markdown
Contributor

As my PR in cf-networking-release, which removes the consumption of the link, got merged, we can remove it completely from capi-release.
We have to wait for a new cf-networking-release and cf-deployment release to include the changes and have cloudfoundry/cloud_controller_ng#3761 merged before we merge this one.

- cf-networking-release expects a bosh link to consume for us, so we can
  actually remove the property til they stop wanting it
- https://github.com/cloudfoundry/cf-networking-release/blob/a0b0fc7de7d3dd8564e3ab1fbb0f5b4f7e29791f/jobs/garden-cni/spec#L11-L13
@moleske moleske force-pushed the gh-3712-no-more-vip branch from 3a64499 to 9868bac Compare August 27, 2025 05:02
Comment thread jobs/cloud_controller_ng/spec Outdated
It is recommended to leave this value as the default.
If this range is changed, it is likely the routes on the internal service mesh domain
will need to be recreated."
description: "This is only here cause cf networking needs it, we should coordinate a delete with them"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can/should remove cc.internal_route_vip_range completely. As far as I can see, it is not referenced anymore since cf-networking-release v3.73.0. The bosh links were removed with cloudfoundry/cf-networking-release#332

@moleske moleske merged commit c6d10a6 into develop Sep 8, 2025
2 checks passed
@moleske moleske deleted the gh-3712-no-more-vip branch September 8, 2025 00:00
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.

6 participants