-
Notifications
You must be signed in to change notification settings - Fork 34
OSASINFRA-4029: loadbalancer: add LoadBalancer controller #620
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
Draft
eshulman2
wants to merge
7
commits into
k-orc:main
Choose a base branch
from
eshulman2:lbaas
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7f5140a to
27dfa2d
Compare
Contributor
Author
|
/retest |
allow testing octavia by enabling it in the e2e job
$ go run ./cmd/scaffold-controller -interactive=false -kind=LoadBalancer -gophercloud-client=NewLoadBalancerV2 -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/loadbalancer/v2/loadbalancers -optional-create-dependency Subnet -optional-create-dependency Network -optional-create-dependency Port -optional-create-dependency Flavor -optional-create-dependency Project
53aae1e to
8e5a475
Compare
Add support for OpenStack Octavia Load Balancer resources. This includes: - LoadBalancer CRD with support for VIP subnet/network/port references - Controller with create, update, delete, and import capabilities - Status reporting with provisioning and operating status - Dependency resolution for Subnet, Network, Port, and Project references - Kuttl tests for create, update, import, and dependency scenarios Closes k-orc#619
$ go run ./cmd/scaffold-controller -interactive=false -kind=Listener -gophercloud-client=NewLoadBalancerV2 -gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/loadbalancer/v2/listeners -gophercloud-type=Listener -openstack-json-object=listener -available-polling-period=15 -deleting-polling-period=15 -required-create-dependency=LoadBalancer -optional-create-dependency=Pool -import-dependency=LoadBalancer
implement listener controller for octavia loadbalancer service. this contoller is a controller of its own to allow proper importing of loadbalancers
$ go run ./cmd/scaffold-controller -interactive=false \
-kind=LBPool \
-gophercloud-client=NewLoadBalancerV2 \
-gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/loadbalancer/v2/pools \
-gophercloud-type=Pool \
-openstack-json-object=pool \
-available-polling-period=15 \
-deleting-polling-period=15 \
-optional-create-dependency=LoadBalancer \
-optional-create-dependency=Listener \
-optional-create-dependency=Project \
-import-dependency=LoadBalancer \
-import-dependency=Listener \
-import-dependency=Project
- implement pool and member support as a "sub resource" decided to implement members as a sub resource as it can only exist as part of a pool and has no existent of its own
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for OpenStack Octavia Load Balancer resources. This includes:
Globalize GetDependencyHelper to reduce code duplication
Closes #619
depends-on: #621