apache / apache/cloudstack-kubernetes-provider

[OLD] Changing from TCP to TCP Proxy doesn't work

Open
#2 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
52
Forks
34
Avg merge
1d 4h
Merged PRs (30d)
1

Description

Moved from: https://github.com/swisstxt/cloudstack-cloud-controller-manager/issues/8

I tried changing from TCP to TCP-Proxy (with annotation).
`service.beta.kubernetes.io/cloudstack-load-balancer-proxy-protocol: enabled`

Trying this ensuring the loadbalancer failed with:

`"Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/traefik-ingress-service: error
creating load balancer rule a9a6465af03a211e9886a02001c1a00c-tcp-proxy-80: CloudStack API error 537 (CSExceptionErrorCode: 9999): The range specified, 80-80, conflicts with rule 37282 which has 80-80*`

Likely the API Call _"create"_ is called and not _"edit"_.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the load balancer ensure flow for the `cloudstack-load-balancer-proxy-protocol` annotation and the API operation that handles the reported port conflict. The issue names no files or tests; done means changing an existing TCP rule to TCP Proxy without the CloudStack 537 conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.