Skip to content

[Feature] Inject specific env vars to all Ray containers in all RayCluster CRs #4098

@kevin85421

Description

@kevin85421

Search before asking

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

Description

The team managing KubeRay may want users to enable certain feature flags in all RayCluster CRs. For example, they may want to set the feature flag RAY_enable_open_telemetry: "true" to enable OpenTelemetry instead of using the deprecated OpenCensus for metrics. Additionally, they may want to set RAY_metric_cardinality_level: "recommended" to reduce Prometheus cardinality.

We can use the Configuration API: https://github.com/ray-project/kuberay/blob/master/ray-operator/apis/config/v1alpha1/configuration_types.go.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions