Closed yellowhat closed 4 months ago
/area provider/magnum /area cluster-autoscaler
cc @tghartland
Hi @yellowhat,
I'm not familiar with the OVH openstack environment, but they do have their own cloud provider for the cluster autoscaler, separate to the openstack magnum provider. Try giving that a go, it might just work out of the box.
@tghartland Thanks for the reply.
I am interested in using OVH as a generic openstack, in order to understand if the magnum provider can be easily used also on other providers.
Thanks for the pointer, I will have a look at the OVH provider.
In the meantime do you have any suggestion on how can I gather more information?
Also: The cluster autoscaler for OVHclud scales worker nodes within any OVHcloud Kubernetes cluster's node pool.
.
I am not using the OVH managed kubernetes cluster, I would like to manually bootstrap a kubernetes cluster on OVH
Magnum is openstack's own API for managed kubernetes clusters. If you're not using magnum to create the cluster then there's nothing that the autoscaler (magnum provider) can do, as it interacts with those API resources.
From the error message No suitable endpoint could be found in the service catalog
it sounds like magnum isn't even an option, with OVH providing their own solution instead.
Ahhh. I had that feeling. But I was hopping that magnum could downgrade itself to directly interface with nova.
Is there another provider that can interact with nova?
Not directly with nova, as the task of installing kubernetes on the new VMs would then have to be done by the autoscaler, which is a lot of extra work.
It might be possible with a combination of ClusterAPI for openstack and the autoscaler provider for ClusterAPI, but you'd have to bootstrap it out of an existing cluster as it uses kubernetes custom resources to manage the cloud resources. I will leave that for you to investigate if you want to try.
Thanks for the pointer
Which component are you using?: magnum (cluster-autoscaler)
What version of the component are you using?: 1.28.0
Component version:
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?: ovh (openstack)
What did you expect to happen?:
cluster-autoscaler
is able to connect and authenticate to OpenStack (nova)What happened instead?:
Hi, I am using the following
cloud-config
file:the same credentials, options, I use to authenticate via the openstack terraform provider
but I get the following error on boot:
If I inject
OS_*
env var:I get:
Any suggestions?
Thanks