-
Notifications
You must be signed in to change notification settings - Fork 0
70 load balancer #86
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
70 load balancer #86
Conversation
Denying all access is default
LGTM |
api/v1/postgres_types.go
Outdated
@@ -136,6 +138,14 @@ type PostgresStatus struct { | |||
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster | |||
// Important: Run "make" to regenerate code after modifying this file | |||
Description string `json:"description,omitempty"` | |||
|
|||
LBSocket LBSocket `json:"lbSocket,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer Socket instead of LBSocket
charts/postgreslet/values.yaml
Outdated
# loadBalancerIP defines the load-balancer IP of postgres in this cluster | ||
loadBalancerIP: "172.0.0.1" | ||
# portRangeStart deinfes the start of the port range of services LoadBalancer | ||
portRangeStart: 31767 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which ports to use as defaults?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@majst01 what do you think?
@@ -115,6 +115,20 @@ func (m *OperatorManager) IsOperatorDeletable(ctx context.Context, namespace str | |||
m.Log.Info("operator is deletable") | |||
return true, nil | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add TODO to #83
Service LoadBalancer
is created/deleted alongsidePostgres
.Endpoints
are correctly picked up through the labels.nextFreePort()
in lbmanager.go works.@majst01 @eberlep Please comment if the direction is correct.