Skip to content

[Bug] RayCluster K8s event for creating worker Pods #3056

@kevin85421

Description

@kevin85421

Search before asking

  • I searched the issues and found no similar issues.

KubeRay Component

ray-operator

What happened + What you expected to happen

Create a RayCluster and use kubectl describe raycluster $RAYCLUSTER to check the K8s event.

Events:
  Type    Reason            Age   From                   Message
  ----    ------            ----  ----                   -------
  Normal  CreatedService    43m   raycluster-controller  Created service default/raycluster-kuberay-head-svc
  Normal  CreatedHeadPod    43m   raycluster-controller  Created head Pod default/raycluster-kuberay-head-l7v7q
  Normal  CreatedWorkerPod  43m   raycluster-controller  Created worker Pod default/

The event doesn't show the Pod's name. I guess the reason is because we use GenerateName for worker Pods.

Reproduction script

above

Anything else

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions