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

funcx kubernetes endpoint workers can have duplicate pod names #600

Open
benclifford opened this issue Oct 1, 2021 · 0 comments
Open

funcx kubernetes endpoint workers can have duplicate pod names #600

benclifford opened this issue Oct 1, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@benclifford
Copy link
Contributor

Describe the bug
Sometimes the endpoint running in kubernetes will generate worker pods with the same name.

For example:

# minikube kubectl get pods
NAME                                            READY   STATUS    RESTARTS        AGE
funcx-1632329996841                             1/1     Running   0               4m3s
funcx-1632329998841                             1/1     Running   0               4m2s
funcx-1632330007842                             1/1     Running   0               3m53s
funcx-endpoint-86756c48c8-nc7r2                 1/1     Running   2 (10m ago)     12m

This is because the pods are named after the current millisecond, which is not a unique ID.

This makes referring to those pods awkward on the commandline.

crossref this bug this is forked from: Parsl/parsl#1122

To Reproduce

Get the endpoint to launch two pods in the same millisecond.

Expected behavior
Distinct pods should have distinct names.

Environment
my own minikube on ubuntu

@benclifford benclifford added the bug Something isn't working label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant