mauhau

Results 8 comments of mauhau

Great, thank you. For the documentation of the secret I would propose something like this: ``` apiVersion: v1 kind: Secret metadata: name: cloud-provider-config type: Opaque stringData: cloudprovider.conf: |- [Global] auth-url=""...

In the Log of the `yawol-controller-loadbalancermachine` I can find this error: ``` 1.6744890245824962e+09 INFO controller.LoadBalancerMachine Check SA {"loadBalancerMachineName": "default--lb-test-zizxkwex25rbtquw-cdbe6"} 1.674489024582533e+09 INFO controller.LoadBalancerMachine Check role {"loadBalancerMachineName": "default--lb-test-zizxkwex25rbtquw-cdbe6"} 1.6744890245825515e+09 INFO controller.LoadBalancerMachine Check...

I think we found the problem. We are using kubernetes 1.25.5. After manually creating the secret for the service account reconciled by yawol-controller following [this documentation](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#manually-create-a-long-lived-api-token-for-a-serviceaccount) and adding the secret...

Hey @dergeberl, thank you for the update! I will check that soon and will update the issue. Sounds great! Another question not related to this issue: If we want to...

I just tested the updates. It works almost perfect now. The only problem which remained is the `Secret cloud-provider-config`. There is the namespace `kube-system` missing and it is not allowed...

And just found another one. The CRD allows not the values for `serverGroupPolicy` as documented: ``` 2023-02-03T16:35:33.600761470Z 1.6754421336006477e+09 ERROR Reconciler error {"controller": "loadbalancer", "controllerGroup": "yawol.stackit.cloud", "controllerKind": "LoadBalancer", "loadBalancer": {"name":"default--nginx","namespace":"kube-system"}, "namespace":...

Ah. Now I see the _Note_ above the example :smile: The other point is weird. My OpenStack is fine with `soft-anti-affinity`: ``` (openstack) $ openstack server group list +--------------------------------------+-------------------+--------------------+ |...

Good point. Nova API of my OpenStack Yoga returns version `2.90` and according to the [OpenStack API documentation](https://docs.openstack.org/api-ref/compute/?expanded=create-server-group-detail#create-server-group) this should be fine. Stays weird :confused: