oci-cloud-controller-manager icon indicating copy to clipboard operation
oci-cloud-controller-manager copied to clipboard

annotations aren't recognized

Open nagyleventeboldizsar opened this issue 3 years ago • 2 comments

BUG REPORT

Versions

CCM Version: actual (latest)

Environment:

  • Kubernetes version (use kubectl version): 1.25.3
  • OS (e.g. from /etc/os-release): Ubuntu 22.04
  • Kernel (e.g. uname -a): 5.10.16
  • Others:

What happened?

I've read the official documentation and tons of other docs. As I can understand, you are able to configure LB with kube annotations. My annotations are the following:

oci.oraclecloud.com/load-balancer-type: "lb" 
service.beta.kubernetes.io/oci-load-balancer-shape: "flexible"
service.beta.kubernetes.io/oci-load-balancer-shape-flex-min: "10Mbps"
service.beta.kubernetes.io/oci-load-balancer-shape-flex-max: "10Mbps" 

I N-checked it and it's the LoadBalancer's annotations. Indentation and syntax is OK. When I delete or comment out the whole annotation block, then it'll create LB automatically as intended.

What you expected to happen?

To modify the load-balancer with the given parameters.

How to reproduce it (as minimally and precisely as possible)?

Create Loadbalancer Service and apply only those specs.

nagyleventeboldizsar avatar Oct 26 '22 21:10 nagyleventeboldizsar

Please share the output of kubectl describe svc <svc-name> when these annotations are present.

AkarshES avatar Oct 27 '22 00:10 AkarshES

@nagyleventeboldizsar please share the output of kubectl describe svc <svc-name> and kubectl get svc -o yaml <svc-name>

AkarshES avatar Nov 09 '22 07:11 AkarshES