We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c311665 commit 032bf03Copy full SHA for 032bf03
src/codeflare_sdk/ray/cluster/build_ray_cluster.py
@@ -140,6 +140,7 @@ def build_ray_cluster(cluster: "codeflare_sdk.ray.cluster.Cluster"):
140
"resources": head_resources,
141
},
142
"template": {
143
+ "metadata": V1ObjectMeta(cluster.config.annotations),
144
"spec": get_pod_spec(
145
cluster,
146
[get_head_container_spec(cluster)],
@@ -159,6 +160,7 @@ def build_ray_cluster(cluster: "codeflare_sdk.ray.cluster.Cluster"):
159
160
"resources": worker_resources,
161
162
"template": V1PodTemplateSpec(
163
+ metadata=V1ObjectMeta(cluster.config.annotations),
164
spec=get_pod_spec(
165
166
[get_worker_container_spec(cluster)],
0 commit comments