8000 Fix planner `k8s` deployment by csegarragonz · Pull Request #312 · faasm/faabric · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix planner k8s deployment #312

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

8000
Merged
merged 2 commits into from
May 5, 2023
Merged

Fix planner k8s deployment #312

merged 2 commits into from
May 5, 2023

Conversation

csegarragonz
Copy link
Collaborator
@csegarragonz csegarragonz commented May 4, 2023

In a k8s deployment, the advertised IP for the planner, as seen from the workers, is the one corresponding to the kubernetes service we use to expose the planner. This IP is obtained with something like faabric::util::getIpFromHostname("planner").

On the other hand, the IP as reported by the planner (i.e. through conf.endpointHost) is the IP of the actual pod the planner is running in.

We used to check the IPs for equality as a sanity check. We remove the check here and tag a new planner release.

Related to faasm/faasm#748

@csegarragonz csegarragonz mentioned this pull request May 4, 2023
45 tasks
@csegarragonz csegarragonz merged commit e443e14 into main May 5, 2023
@csegarragonz csegarragonz deleted the fix-planner-k8s branch May 5, 2023 09:42
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

Successfully merging this pull request may close these issues.

1 participant
0