-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support for proxy-protocol for LoadBalancer is missing #365
Comments
Hi @albundy83, Thanks for reaching us, we are looking at your issue Best regards, |
Hello, any update on this request ? I have tried to use aws terraform provider: provider "aws" {
access_key = var.access_key_id
secret_key = var.secret_key_id
region = var.region
# disable checks related to aws
skip_region_validation = true
skip_credentials_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
endpoints {
elb = "https://lbu.${var.region}.outscale.com"
}
}
resource "aws_load_balancer_policy" "proxy-protocol-policy" {
load_balancer_name = outscale_load_balancer.lb-kube-workers.load_balancer_name
policy_name = "ProxyProtocolPolicyName"
policy_type_name = "ProxyProtocolPolicyType"
policy_attribute {
name = "ProxyProtocol"
value = "true"
}
}
resource "aws_load_balancer_backend_server_policy" "proxy-protocol-policy-80" {
load_balancer_name = outscale_load_balancer.lb-kube-workers.load_balancer_name
instance_port = 80
policy_names = [
"ProxyProtocolPolicyName"
]
}
resource "aws_load_balancer_backend_server_policy" "proxy-protocol-policy-443" {
load_balancer_name = outscale_load_balancer.lb-kube-workers.load_balancer_name
instance_port = 443
policy_names = [
"ProxyProtocolPolicyName"
]
} But as lbu api does not have call to check creation of The last 2 |
Hello @albundy83, Due to unforeseen issues with our API, we will sadly not be able to deliver this feature by your timeline. Once the API issue has been addressed we will implement in terraform as soon as it will be available in our API. Best Regards, |
Hello, a friendly reminder, maybe with this new year, api issues will be fixed (happy new year !! :-) ) |
Hello @albundy83, Not yet, we will implement in terraform as soon as it will be available in our API, (happy new year ) Best Regards, |
Hello,
according to issue #46, you explain that to have LoadBalancer with proxy-protocol support enabled, we need to create a stickiness policy call "proxy-protocol":
But it's not the same that enabling proxy-protocol using this documentation https://docs.outscale.com/en/userguide/Configuring-Proxy-Protocol-for-Your-Load-Balancers.html.
Even with api, it's not possible: https://docs.outscale.com/api?console#createloadbalancer or https://docs.outscale.com/api?console#3ds-outscale-api-loadbalancerpolicy, it's always
app
orload_balancer
as we are on stickiness policy.But it exists here for example: https://github.com/outscale/cloud-provider-osc/blob/f0f87778379d50816850cf6f7cdeb933d161fdaa/cloud-controller-manager/osc/osc_loadbalancer.go#L658 and it works correctly.
As you can see, the policy-type-name must be
ProxyProtocolPolicyType
.Is it possible that you add this feature please ?
The text was updated successfully, but these errors were encountered: