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
build: add pv-migrator binary to rook image in 1.7.x branch #9274
Conversation
Hi @subhamkrai, this pull request was opened against a release branch, is it expected? Normally patches should go in the master branch first and then be backported to release branches. |
470c08c
to
3898cd3
Compare
dnsPolicy: ClusterFirstWithHostNet | ||
containers: | ||
- name: rook-ceph-migrator | ||
image: rook/ceph:v1.7.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we'll change accordingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and set it to the latest release, then we have a PR to replace all the versions when we release.
image: rook/ceph:v1.7.x | |
image: rook/ceph:v1.7.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Yes, this has been already discussed we want to get this PR directly in 1.7 release branch. |
added label |
@@ -20,7 +20,11 @@ ARG TINI_VERSION | |||
|
|||
# Run tini as PID 1 and avoid signal handling issues | |||
RUN curl --fail -sSL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} && \ | |||
chmod +x /tini | |||
chmod +x /tini && \ | |||
curl -LJO https://github.com/ceph/persistent-volume-migrator/releases/download/v0.1.0-alpha/pv-migrator && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to build for different architectures, do we? This will fail on arm64 right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a conditional for amd64 in the dockerfile? Or for now we just pull an invalid image for arm64, then fix it later if needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion, going with what we have to get the testing going...
ea4bed7
to
ca95b3e
Compare
dnsPolicy: ClusterFirstWithHostNet | ||
containers: | ||
- name: rook-ceph-migrator | ||
image: rook/ceph:v1.7.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and set it to the latest release, then we have a PR to replace all the versions when we release.
image: rook/ceph:v1.7.x | |
image: rook/ceph:v1.7.8 |
Adding add pv-migrator binary to rook image directly in 1.7.8 branch as discussed. Signed-off-by: subhamkrai <srai@redhat.com>
Adding migrator.yaml file which will required to run migrator pod. Signed-off-by: subhamkrai <srai@redhat.com>
ca95b3e
to
91a9ba6
Compare
FWIW, I tested this here ceph/persistent-volume-migrator#38 using my custom build. |
@@ -20,7 +20,11 @@ ARG TINI_VERSION | |||
|
|||
# Run tini as PID 1 and avoid signal handling issues | |||
RUN curl --fail -sSL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} && \ | |||
chmod +x /tini | |||
chmod +x /tini && \ | |||
curl -LJO https://github.com/ceph/persistent-volume-migrator/releases/download/v0.1.0-alpha/pv-migrator && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion, going with what we have to get the testing going...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one last nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move forward and address the last nit in the doc PR.
|
Adding add pv-migrator binary to rook image directly
in 1.7.x branch as discussed.
Adding migrator.yaml file which will required
to run migrator pod.
Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #
Checklist:
make codegen
) has been run to update object specifications, if necessary.