Skip to content
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

Derived Service and EndpointSlice is created at member cluster, not parent cluster #715

Open
zjzhangkui opened this issue Jun 20, 2023 · 4 comments
Labels
kind/feature New feature or request

Comments

@zjzhangkui
Copy link

zjzhangkui commented Jun 20, 2023

I follow this document(https://clusternet.io/docs/tutorials/mutil-cluster-service/visting-services-in-child-cluster/ ) to enalbe MultiClusterService, the serviceimport is created at parent cluster, not at member cluster, there is no Derived Service and EndpointSlice created at member cluster. however, the Derived Service shoud be accessd at member cluster.

@zjzhangkui zjzhangkui added the kind/feature New feature or request label Jun 20, 2023
@zjzhangkui zjzhangkui changed the title Derived Derived Service and EndpointSlice is created at member cluster, not parent cluster Jun 20, 2023
@dixudx
Copy link
Member

dixudx commented Jun 20, 2023

@zjzhangkui Please check whether ServiceExport exists in child clusters. Also please check the logs of clusternet-agent and find out some suspicious error traces.

cc @lmxia Please take a look. Thanks.

@lmxia
Copy link
Contributor

lmxia commented Jun 20, 2023

As expected, Derived Service should be created at parent cluster rather NOT member cluster. Sorry i did't really get the error messages. Could you please give us more further info ?

@zjzhangkui
Copy link
Author

As expected, Derived Service should be created at parent cluster rather NOT member cluster. Sorry i did't really get the error messages. Could you please give us more further info ?

@lmxia If Derived Service is create at parent cluster, how to access the service by service name for application deployed at member cluster? the parent cluste is controll cluster, and applications is deployed at member cluster.

Does clusternet-controller-manager will create serviceimport at all child clusters which has serviceexport created? If not, the crd of service import created at child cluster for what?

@lmxia
Copy link
Contributor

lmxia commented Jun 20, 2023

As expected, Derived Service should be created at parent cluster rather NOT member cluster. Sorry i did't really get the error messages. Could you please give us more further info ?

@lmxia If Derived Service is create at parent cluster, how to access the service by service name for application deployed at member cluster? the parent cluste is controll cluster, and applications is deployed at member cluster.

Does clusternet-controller-manager will create serviceimport at all child clusters which has serviceexport created? If not, the crd of service import created at child cluster for what?

That is a good question,for now we only support north-south service traffic from parent cluster and this feature has a pre-condition: parent cluster can visit child clusters pod CIDR directly. Surely it's limited and tasteless, so we provide a sulotion to integrate with submariner. , and keep Clusternet mainly focus on application and cluster management.

As you said, submariner will handle and sync serviceimports accross clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants