-
Notifications
You must be signed in to change notification settings - Fork 90
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
Multiple installations of cloud-api-adaptor on the same cluster #2219
Comments
It probably makes sense to think first about what a good ux would be and make also reference this with the "profile" idea. I imagine the best UX would be to offer multiple runtime classes, e.g. |
Yeah different cloud-providers can be supported via different runtimeClasses At a high level it may look like this Kata configs
Then comes the CAA daemonset and it's associated configs (peer-pods-secret, peer-pods-cm and in future profiles). May be different namespaces for each runtimeClass ? |
I agree runtimeclasses would be the best UX, however, there's the use case of same cloud-provider but different accounts, IDK how commonly it's needed but i heard some interest in that. Would it make sense to use current workflow and on top of it allow some kind of profiles? by default caa will use the global configuration unless profile is explicitly set to a pod (or something like that, maybe it's too flexible approach ) |
hmm, should there be different socket for different cloud providers? theoretically all the -remote runtimeclasses could carry only informational value. different |
this is being explore here: #2218 I think it would be good to make such a profile a first-class object, similar to e.g. how kubeconfig handles contexts, there can be a default context, but the context is a list of configurations |
I think each runtimeClass will need a specific CAA instance and hence different socket. No? |
not sure, is there a technical reason for that? can a single CAA instance handle multiple runtime classes? |
We run the CAA with cloud-provider as an option. So I think at a minimum separate CAA instance will be needed per cloud-provider. Not sure how this restriction can be relaxed.. |
ah, I was musing about supporting multiple cloud providers in a single CAA instance. |
In some scenarios there is a need to support multi-cloud pod VM creation from the same K8s cluster. For example, the K8s cluster could be on-premise, but it's creating peer-pod on AWS, Azure and IBM cloud.
Creating this tracker issue to discuss on how such a deployment model be supported?
cc @stevenhorsman @mkulke
The text was updated successfully, but these errors were encountered: