cloud-ark / kubeplus

Kubernetes Operator for multi-instance multi-tenancy
https://cloudark.io/
Apache License 2.0
662 stars 82 forks source link

Interoperability with cloud service provisioners for application hosting #1233

Closed devdattakulkarni closed 6 months ago

devdattakulkarni commented 7 months ago

Application hosting providers might have cloud service provisioners like CrossPlane running in their clusters. We should ensure that KubePlus is able to seamlessly work in such an environment.

devdattakulkarni commented 6 months ago

Suppose we have a WordPress Helm chart where the application is containerized and for database a managed offering is used (such as RDS). Imagine that provisioning of the RDS instance is done by CrossPlane. As part of monitoring the application stack, we should be able to obtain metrics (such as storage) accurately for such cloud-based services.

devdattakulkarni commented 6 months ago

From a monitoring perspective, we need a general approach that will work for any Cloud-hosted service. One way to achieve this will be to use the application-specific metrics tracking (#863). When we register the CRD for such a Helm chart, in the resource monitor section we can include the monitoring endpoint for such a cloud-hosted service. We will also need a way to provide credentials to query this endpoint.

devdattakulkarni commented 6 months ago

We can revisit this feature once we have implemented application-specific metrics tracking. Therefore, closing this issue for now.