5.2. 설치 중 오프라인 모드 활성화
Red Hat Advanced Cluster Security for Kubernetes 설치 중에 오프라인 모드를 활성화할 수 있습니다.
5.2.1. Helm 구성을 사용하여 오프라인 모드 활성화
Helm 차트를 사용하여 Red Hat Advanced Cluster Security for Kubernetes를 설치할 때 설치 중에 오프라인 모드를 활성화할 수 있습니다.
프로세스
-
central-services Helm 차트를 설치할 때
values-public.yaml
구성 파일에서env.offlineMode
환경 변수의 값을true
로 설정합니다. -
secured-cluster-services Helm 차트를 설치할 때
values-public.yaml
구성 파일에서config.offlineMode
매개변수 값을true
로 설정합니다.
5.2.2. roxctl CLI를 사용하여 오프라인 모드 활성화
roxctl
CLI를 사용하여 Red Hat Advanced Cluster Security for Kubernetes를 설치할 때 오프라인 모드를 활성화할 수 있습니다.
프로세스
기본 인터넷 연결 레지스트리(
registry.redhat.io
) 이외의 레지스트리를 사용하는 경우 프롬프트를사용하도록
이미지에 응답할 때 Red Hat Advanced Cluster Security for Kubernetes 이미지를 푸시한 위치를 제공합니다.Enter main image to use (if unset, the default will be used): <your_registry>/rhacs-main-rhel8:4.4.8
참고기본 이미지는 프롬프트
Enter 기본 컨테이너 이미지 설정에
대한 응답에 따라 다릅니다.rhacs
, default 옵션을 입력하면 기본 이미지는registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8:4.4.8
이 됩니다.Enter Scanner DB image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-db-rhel8:4.4.8
Enter Scanner image to use (if unset, the default will be used): <your_registry>/rhacs-scanner-rhel8:4.4.8
오프라인 모드를 활성화하려면
StackRox를 오프라인 모드에서 실행할지 여부에 대한 Enter에 응답할
때true
를 입력합니다.Enter whether to run StackRox in offline mode, which avoids reaching out to the internet (default: "false"): true
-
나중에 RHACS 포털에서 플랫폼 구성
클러스터 보기의 원격 클러스터에 센서를 추가할 때 수집기 이미지 리포지토리 필드에 수집기 이미지 이름을 지정해야 합니다.