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.1.9.2.2. CLI를 사용하여 멤버 롤에서 프로젝트 추가 또는 제거
명령줄을 사용하여 기존 서비스 메시 멤버 목록을 수정할 수 있습니다.
사전 요구 사항
- Red Hat OpenShift Service Mesh Operator 설치 및 검증.
-
기존
ServiceMeshMemberRoll
리소스. -
ServiceMeshMemberRoll
리소스를 사용한 프로젝트의 이름. - 메시에서 추가하거나 삭제하려는 프로젝트의 이름.
-
OpenShift CLI(
oc
)에 액세스합니다.
프로세스
- OpenShift Container Platform CLI에 로그인합니다.
ServiceMeshMemberRoll
리소스를 편집합니다.oc edit smmr -n <controlplane-namespace>
$ oc edit smmr -n <controlplane-namespace>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow YAML을 수정하여 프로젝트를 멤버로 추가하거나 제거합니다. 여러 프로젝트를 추가할 수 있지만 프로젝트는 하나의
ServiceMeshMemberRoll
리소스에만 속할 수 있습니다.servicemeshmemberroll-default.yaml 예
Copy to Clipboard Copied! Toggle word wrap Toggle overflow