10.2. 설치 중 프록시 구성


roxctl CLI(명령줄 인터페이스) 또는 Helm을 사용하여 Kubernetes용 Red Hat Advanced Cluster Security를 설치하는 경우 설치 중에 프록시 구성을 지정할 수 있습니다.

roxctl central generate 명령을 사용하여 설치 프로그램을 실행하면 설치 프로그램이 환경에 대한 시크릿 및 배포 구성 파일을 생성합니다. 생성된 구성 시크릿(YAML) 파일을 편집하여 프록시를 구성할 수 있습니다. 현재 roxctl CLI를 사용하여 프록시를 구성할 수 없습니다. 구성은 쿠버네티스 시크릿에 저장되고 중앙과 스캐너 둘 다에서 공유합니다.

절차

  1. 배포 번들 디렉터리에서 구성 파일 central/proxy-config-secret.yaml 을 엽니다.

    참고

    Helm을 사용하는 경우 구성 파일은 central/templates/proxy-config-secret.yaml 에 있습니다.

  2. 구성 파일에서 수정할 필드를 편집합니다.

    apiVersion: v1
    kind: Secret
    metadata:
      namespace: stackrox
      name: proxy-config
    type: Opaque
    stringData:
      config.yaml: |- 
    1
    
        # # NOTE: Both central and scanner should be restarted if this secret is changed.
        # # While it is possible that some components will pick up the new proxy configuration
        # # without a restart, it cannot be guaranteed that this will apply to every possible
        # # integration etc.
        # url: http://proxy.name:port 
    2
    
        # username: username 
    3
    
        # password: password 
    4
    
        # # If the following value is set to true, the proxy wil NOT be excluded for the default hosts:
        # # - *.stackrox, *.stackrox.svc
        # # - localhost, localhost.localdomain, 127.0.0.0/8, ::1
        # # - *.local
        # omitDefaultExcludes: false
        # excludes:  # hostnames (may include * components) for which you do not 
    5
    
        # # want to use a proxy, like in-cluster repositories.
        # - some.domain
        # # The following configuration sections allow specifying a different proxy to be used for HTTP(S) connections.
        # # If they are omitted, the above configuration is used for HTTP(S) connections as well as TCP connections.
        # # If only the `http` section is given, it will be used for HTTPS connections as well.
        # # Note: in most cases, a single, global proxy configuration is sufficient.
        # http:
        #   url: http://http-proxy.name:port 
    6
    
        #   username: username 
    7
    
        #   password: password 
    8
    
        # https:
        #   url: http://https-proxy.name:port 
    9
    
        #   username: username 
    10
    
        #   password: password 
    11
    3 4 7 8 10 11
    사용자 이름과 암호 를 추가하는 것은 시작과 httphttps 섹션의 선택 사항입니다.
    2 6 9
    url 옵션은 다음 URL 스키마를 지원합니다.
    • HTTP 프록시의 경우 HTTP :// 입니다.
    • TLS 사용 HTTP 프록시의 경우 HTTPS :// 입니다.
    • socks5:// for a#177KS5 proxy.
    5
    excludes 목록에는 CIDR 표기법(예: 10.0.0.0/8)의 DNS 이름( * 와일드카드 포함), IP 주소 또는 IP 블록이 포함될 수 있습니다. 이 목록의 값은 프로토콜에 관계없이 모든 발신 연결에 적용됩니다.
    1
    stringData 섹션의 |- 행은 구성 데이터의 시작을 나타냅니다.
    참고
    • 파일을 처음 열면 모든 값이 주석 처리됩니다(행 시작 부분에 # 기호를 사용하여). 이중 해시 기호로 시작하는 줄 # # 에는 구성 키에 대한 설명이 포함되어 있습니다.
    • 필드를 편집할 때 config.yaml: |- 행과 관련된 들여쓰기 수준을 두 개의 공백으로 유지합니다.
  3. 구성 파일을 편집한 후 일반적인 설치를 진행할 수 있습니다. 업데이트된 구성은 제공된 주소와 포트 번호에서 실행되는 프록시를 사용하도록 Red Hat Advanced Cluster Security for Kubernetes에 지시합니다.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동