Z Understand 및 Refactor 접근

라우트 호스트 이름을 검색하고 Z Understand 관리 인터페이스 및 IBM Bob 확장에 연결합니다.

라우트 호스트 이름 검색

워크로드가 Ready 상태에 도달한 후 라우트 호스트 이름을 검색합니다.

Z Understand 라우트

oc get ingress understand \
  -n <instance-namespace> \
  -o jsonpath='{.spec.rules[0].host}'

Refactor 라우트

oc get ingress refactor \
  -n <instance-namespace> \
  -o jsonpath='{.spec.rules[0].host}'

라우트는 <name>-<namespace>.apps.<ocp-domain> 형식을 따릅니다.

Z Understand 관리 인터페이스 접근

웹 브라우저에서 https://<understand-route>/ad/admin을 열고 setup.json 구성 파일의 userAccess.password 매개변수에 지정된 관리자 자격 증명을 사용하여 로그인합니다.

확장에 서비스 연결

Z Understand 및 Refactor에 연결하려면 Bob IDE 확장에서 다음 두 가지 설정을 구성하세요:

설정값
Bob-z > Understand: URLhttps://<refactor-route>
Bob-z > Understand: Certificate Path로컬 머신에서 추출한 server.crt 파일의 절대 경로

다음 명령을 실행하여 인스턴스 네임스페이스 내 bobz-refactor-config Kubernetes 시크릿에서 server.crt를 추출합니다:

oc extract secret/bobz-refactor-config -n <instance-namespace> --keys=server.crt

Bob IDE 확장 설정을 구성합니다:

  1. 설정을 엽니다(macOS에서는 Cmd+,, Windows 및 Linux에서는 Ctrl+,).
  2. Bob-z Understand를 검색합니다.
  3. Understand: URL을 앞에서 검색한 Refactor 라우트로 설정합니다: https://<refactor-route>.
  4. Understand: Certificate Path를 추출한 server.crt 파일의 절대 로컬 경로로 설정합니다(예: /home/user/certs/server.crt).
참고:

클러스터가 자체 서명 인증서 또는 사용자 지정 인증 기관(CA)을 사용하는 경우 인증서 경로가 필요합니다. 인증서가 없으면 확장이 Z Understand 서비스에 보안 연결을 설정할 수 없습니다.

이 주제는 어떤가요?