Skip to content

Kubernetes hybrid agent redeploys every code location on restart #23484

Open
@williamho123

Description

@williamho123

What's the use case?

We are currently running a hybrid Dagster deployment in EKS. When the cloud agent is restarted, whether it be through a configuration update or it's rescheduled onto another node, the agent redeploys every code location, even though they haven't changed at all.

When the agent is restarted, we would like it to resume watching / monitoring the already existing code location deployments, rather than deploying new ones.

Ideas of implementation

I'm not sure how the hybrid agent is tracking the deployments it's managing now, but there is some mechanism where it knows to spin up new code location deployments on restart, and then delete the old ones it was tracking before.

Since this is the case, the agent should be able to resume tracking the existing code locations.

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions