Skip to content

Pr create floating ip on demand#435

Merged
k8s-ci-robot merged 2 commits intokubernetes-sigs:masterfrom
sbueringer:pr-create-floating-ip-on-demand
Aug 19, 2019
Merged

Pr create floating ip on demand#435
k8s-ci-robot merged 2 commits intokubernetes-sigs:masterfrom
sbueringer:pr-create-floating-ip-on-demand

Conversation

@sbueringer
Copy link
Member

This PR creates machine floating ips if they don't exist. Depending on the interpretation fixes #427 :)

What this PR does / why we need it:
Floating IP handling is now consistent. LoadBalancer & machine floating ip's are both created if they don't already exist. If they already exist they are just associated.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #427

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 12, 2019
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 12, 2019
@sbueringer
Copy link
Member Author

sbueringer commented Aug 12, 2019

/assign @jichenjc

(merge after multi-node PR, but might help to verify the PR #421 on environments where floating ips cannot be created)
/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 12, 2019
@sbueringer sbueringer force-pushed the pr-create-floating-ip-on-demand branch 4 times, most recently from c3b2646 to 6fb3e5a Compare August 15, 2019 04:35
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 15, 2019
@sbueringer
Copy link
Member Author

sbueringer commented Aug 15, 2019

@jichenjc I rebased this PR. Diff looks now friendlier :)

Can you take a look? This should allow reusing existing floating ips for the LoadBalancer.

@jichenjc
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jichenjc, sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 16, 2019
@sbueringer
Copy link
Member Author

/assign @hidekazuna Can you please take a look? :)

@sbueringer
Copy link
Member Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 16, 2019
@sbueringer sbueringer force-pushed the pr-create-floating-ip-on-demand branch from 1762e20 to 1d87952 Compare August 16, 2019 08:43
@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 Aug 16, 2019
@sbueringer sbueringer force-pushed the pr-create-floating-ip-on-demand branch from 72ca8c7 to 1d87952 Compare August 16, 2019 14:56
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 16, 2019
@sbueringer
Copy link
Member Author

/hold

Waiting until the new v1alpha2 controllers are merged

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 18, 2019
@sbueringer
Copy link
Member Author

/hold cancel

I think it's safe to merge. I just have to make sure to not loose it in the controllers PR :)

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 19, 2019
@jichenjc
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 19, 2019
@k8s-ci-robot k8s-ci-robot merged commit d518d1b into kubernetes-sigs:master Aug 19, 2019
prankul88 pushed a commit to prankul88/cluster-api-provider-openstack that referenced this pull request Sep 5, 2019
* create machine floating ips if they don't already exist

* only associate floating ip if it already exists
@sbueringer sbueringer deleted the pr-create-floating-ip-on-demand branch October 6, 2019 12:09
pierreprinetti pushed a commit to shiftstack/cluster-api-provider-openstack that referenced this pull request Apr 22, 2024
* create machine floating ips if they don't already exist

* only associate floating ip if it already exists
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create floating ip on the fly if it's not created yet

3 participants