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

Removed imagePullPolicy: IfNotPresent #697

Merged

Conversation

hbelmiro
Copy link
Contributor

@hbelmiro hbelmiro commented Sep 4, 2024

Resolves: https://issues.redhat.com/browse/RHOAIENG-12336

This PR changes imagePullPolicy for default instead of IfNotPresent.

Testing instructions

Deploy the simple-dspa sample and run the pipeline. The run must succeed.

Checklist

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@dsp-developers
Copy link
Contributor

A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-697
An OCP cluster where you are logged in as cluster admin is required.

To use this image run the following:

cd $(mktemp -d)
git clone [email protected]:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/697/head
git checkout -b pullrequest a726e3c78652ad780457f1d96d282480634a6f0d
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-697"

More instructions here on how to deploy and test a Data Science Pipelines Application.

@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-697

Comment on lines 11 to 12
newName: quay.io/hbelmiro/dspo
newTag: dev-remove-image-pull-policy-1725475322
Copy link
Contributor

Choose a reason for hiding this comment

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

undo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -55,7 +55,7 @@ spec:
ports:
- containerPort: 9000
protocol: TCP
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
Copy link
Contributor

Choose a reason for hiding this comment

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

can we also revisit existing imagepolicies, for example apiserver has it set to Always https://github.com/opendatahub-io/data-science-pipelines-operator/blob/main/config/internal/apiserver/default/deployment.yaml.tmpl#L179

we should be consistent across all pods

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@dsp-developers
Copy link
Contributor

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-697

@gregsheremeta
Copy link
Contributor

/lgtm

@HumairAK
Copy link
Contributor

HumairAK commented Sep 5, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Sep 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: HumairAK

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Sep 5, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 9181d9e into opendatahub-io:main Sep 5, 2024
6 checks passed
@hbelmiro hbelmiro deleted the remove-image-pull-policy branch September 5, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants