Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align Init Container's ImagePullPolicy with Ray Container's ImagePullPolicy #1080

Merged
merged 1 commit into from
May 12, 2023

Conversation

Yicheng-Lu-llll
Copy link
Contributor

@Yicheng-Lu-llll Yicheng-Lu-llll commented May 11, 2023

Why are these changes needed?

According to this discussion, users may need to adjust the ImagePullPolicy of the init container, which is currently set to PullIfNotPresent.

This PR aligns the init container's ImagePullPolicy with the ImagePullPolicy of the ray container.

Related issue number

None

Checks

Manual Testing Procedure:

  1. Add the line imagePullPolicy: Always to the workerGroupSpecs[0].template.spec.containers[0] in the ray-cluster.complete.yaml file(can be found here)
kubectl apply -f /home/ubuntu/workspace/kuberay/ray-operator/config/samples/ray-cluster.complete.yaml
kubectl get pod raycluster-complete-worker-small-group-pfzbm -o yaml

Here is an image showing the expected output:

Expected Output

Signed-off-by: Yicheng-Lu-llll <luyc58576@gmail.com>
@kevin85421 kevin85421 self-requested a review May 12, 2023 18:58
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevin85421 kevin85421 merged commit 61adf56 into ray-project:master May 12, 2023
19 checks passed
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
…Policy (ray-project#1080)

Align Init Container's ImagePullPolicy with Ray Container's ImagePullPolicy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants