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

Dynamic Headless service unable to get created in Source cluster #140

Open
agulhane-tibco opened this issue Feb 22, 2022 · 1 comment
Open

Comments

@agulhane-tibco
Copy link

I am deploying one application with StatefulSet and it will create discovery service runtime.

Application gets deployed correctly and respective proxy and actual pod is also created correctly at Target & Source clusters. However, service which is created runtime is only getting created at Target cluster, but proxy service is not getting created at Source cluster.

When I tried with simple nginx applications which contains (Deployment/StatefulSet, Service) then it works well. Proxy and Actual service is created at Source and Target cluster respectively. But it is failing while trying with runtime service creation.

Kindly confirm, if proxy service is created at Source cluster only if we are explicitly passing it though deployment yaml else it will not be created?

Can you please help me with some pointers? Is there any way that I can manage this?

@adrienjt
Copy link
Contributor

Hi, that's right, services follow pods from source to target, but not the other way around. Why does your app create its discovery service at runtime? Is there a drawback to declaring it alongside the StatefulSet in your case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants