-
Notifications
You must be signed in to change notification settings - Fork 919
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
Propagate an application without specify all the resources #5677
Comments
It sounds simple for users. How does this application work (actually, we have also been thinking about how to represent the application)? The existing feature that can take effect may be the dependency propagation feature, which can propagate the resources associated with the workload to the target cluster, and this following relationship can be defined by the user through the resource interpreter. |
Transitioning a microservices application from a single-cluster to a multi-cluster environment can indeed be complex. I have a microservices application, like this Google app: https://raw.githubusercontent.com/GoogleCloudPlatform/microservices-demo/v0.3.7/release/kubernetes-manifests.yaml, which is deployed in a single-cluster system. If I want to transfer this app to a cross-cluster system I must create a PropagationPolicy for every resource. So, creating a PropagationPolicy for each resource manually is time-consuming and prone to errors. It's a little "pain". I think that developing a new Custom Resource Definition (CRD) that simplifies the deployment process across multiple clusters is quite innovative. Such a CRD could act as a high-level abstraction, allowing users to specify the target clusters and namespaces, thereby streamlining the propagation process. This approach would not only reduce the manual overhead but also minimize the risk of configuration mistakes. It's a solution that could potentially benefit many organizations looking to scale their applications efficiently in a cross-cloud-native ecosystem. @XiShanYongYe-Chang what do you thinks? |
Sorry, @IonBoleac I missed this issue. Do you mean an abstract layer above PropagationPolicy that is responsible for generating specific PropagationPolicy without requiring users to specify resources one by one? Please correct me if I'm wrong. I think it's a good general idea. What are the details of it, and if you want, can you describe it in detail? Also, if you want, I'd like to know how you use Karmada? In a reproduction environment, or for research? |
Yes, I mean exactly this. By this, the user is provided to deploy a microservices application without further onerous settings.
In the liqo system, the application's propagation is decided by the scheduler component, even if there are two or more clusters connected. This is available because the liqo system was thought of in this way. So, can it be replicated in Karmada? Maybe using a
I used Karmada for university research. |
Is there a method for propagating an application between clusters without specifying wich resources should be propagated? For example, can an app be propagated using the namespace where it's deployed?
The text was updated successfully, but these errors were encountered: