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

Kubernetes Worker logs duplicate pod start messages for the same pod #17141

Closed
masonmenges opened this issue Feb 14, 2025 · 0 comments · Fixed by #17174
Closed

Kubernetes Worker logs duplicate pod start messages for the same pod #17141

masonmenges opened this issue Feb 14, 2025 · 0 comments · Fixed by #17174
Labels
bug Something isn't working

Comments

@masonmenges
Copy link
Contributor

Bug summary

When a job is submitted to Kubernetes multiple pod start messages seem to be triggered for the same pod, there doesn't seem to be any actual duplication of work but the multiple pod start messages can be misleading. This looks like it's coming up here in the worker code https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-kubernetes/prefect_kubernetes/worker.py#L1121-L1136 from this it looks like this message is going to trigger for any event that occurs once the pod is pending up until it's running/failed/etc.

Image

Version info

Version:             3.2.1
API version:         0.8.4
Python version:      3.11.11
Git commit:          f8b15dfb
Built:               Mon, Feb 10, 2025 3:20 PM
OS/Arch:             linux/aarch64
Profile:             ephemeral
Server type:         cloud
Pydantic version:    2.10.6
Integrations:
  prefect-kubernetes: 0.5.3
  prefect-redis:     0.2.2

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant