Skip to content

[Feature] Automatically reload pods when/if the image changes in RayCluster CR #234

Closed
@jeffreyftang

Description

@jeffreyftang

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Currently, changing things like the number of worker replicas in the ray cluster CR will be detected and actioned by the operator. However, changing the image used isn't.

My understanding is that this behavior is implemented here:

func (r *RayClusterReconciler) reconcilePods(instance *rayiov1alpha1.RayCluster) error {
. It would be nice if this logic could also detect when the pods are running an outdated image by comparing with the CR and automatically reload the pods.

Use case

Essentially, after upgrading or modifying a ray cluster CR with a new image, I'd like that image to be automatically picked up by any existing pods.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions