You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Due to missing LoadBalancer support on cluster side and unsupported NodeType service on pv-migrate side, I've to use strategy local.
Syncing iworks without problems, but it seems that one cannot use rsync.extraArgs in local szenario?
To Reproduce
Steps to reproduce the behavior:
Run command pv-migrate migrate --helm-set rsync.extraArgs="--dry-run" --ignore-mounted --source-context k8s-source --source-namespace my-namespace --dest-context k8s-dest --dest-namespace my-namespace --strategies local pvc-test pvc-test
Even using --dry-run all files get synced from source to target PV
This is just for demonstrating the problem. I'd like to use the extraArgs to sync only a subset of directories, like: --helm-set rsync.extraArgs="--partial --inplace --include='/*/conf/lang/*' --exclude='*'"
Expected behavior rsync.extraArgs should even work in strategy local.
Version
Source and destination Kubernetes versions: v1.12.10, v1.28.2
Source and destination container runtimes: docker://20.10.7, containerd://1.6.26
pv-migrate version and architecture: v1.7.1 - linux_x86_64
Installation method: binary download
Additional context
extraArgs have been added with this commit. Using local does not seem to use the job.yaml template at all.
Looking further into the code I would guess that the local strategy should also apply extraArgs if given.
* rsync/cmd does not seem to have an option for passing additional args to rsync.
The text was updated successfully, but these errors were encountered:
Describe the bug
Due to missing LoadBalancer support on cluster side and unsupported NodeType service on pv-migrate side, I've to use strategy
local
.Syncing iworks without problems, but it seems that one cannot use
rsync.extraArgs
in local szenario?To Reproduce
Steps to reproduce the behavior:
pv-migrate migrate --helm-set rsync.extraArgs="--dry-run" --ignore-mounted --source-context k8s-source --source-namespace my-namespace --dest-context k8s-dest --dest-namespace my-namespace --strategies local pvc-test pvc-test
--dry-run
all files get synced from source to target PVThis is just for demonstrating the problem. I'd like to use the
extraArgs
to sync only a subset of directories, like:--helm-set rsync.extraArgs="--partial --inplace --include='/*/conf/lang/*' --exclude='*'"
Expected behavior
rsync.extraArgs
should even work in strategylocal
.Version
v1.12.10
,v1.28.2
docker://20.10.7
,containerd://1.6.26
pv-migrate
version and architecture:v1.7.1 - linux_x86_64
binary download
Additional context
extraArgs
have been added with this commit. Usinglocal
does not seem to use thejob.yaml
template at all.extraArgs
if given.* rsync/cmd does not seem to have an option for passing additional args to rsync.
The text was updated successfully, but these errors were encountered: