This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.31.5. 복사 소스 지정
oc rsync
명령의 소스 인수는 로컬 디렉터리 또는 pod 디렉터리를 가리켜야 합니다. 개별 파일은 현재 지원되지 않습니다.
Pod 디렉터리를 지정할 때는 디렉터리 이름 앞에 Pod 이름을 붙여야 합니다.
<pod name>:<dir>
<pod name>:<dir>
표준 rsync
와 마찬가지로 디렉터리 이름이 경로 구분자(/
)로 끝나는 경우 디렉터리의 콘텐츠만 대상에 복사됩니다. 그렇지 않으면 디렉터리 자체는 모든 콘텐츠가 있는 대상에 복사됩니다.