3.5. 추가 활성화 기능을 설정하여 클러스터 기능 활성화


클러스터 관리자는 OpenShift Container Platform을 설치한 후 언제든지 additionalEnabledCapabilities 구성 매개변수를 설정하여 클러스터 기능을 활성화할 수 있습니다.

사전 요구 사항

  • OpenShift CLI(oc)가 설치되어 있습니다.

프로세스

  1. 다음 명령을 실행하여 추가로 활성화된 기능을 확인하세요.

    $ oc get clusterversion version -o jsonpath='{.spec.capabilities.additionalEnabledCapabilities}{"\n"}'
    Copy to Clipboard Toggle word wrap

    출력 예

    ["openshift-samples"]
    Copy to Clipboard Toggle word wrap

  2. additionalEnabledCapabilities 구성 매개변수를 설정하려면 다음 명령을 실행하세요.

    $ oc patch clusterversion/version --type merge -p '{"spec":{"capabilities":{"additionalEnabledCapabilities":["openshift-samples", "marketplace"]}}}'
    Copy to Clipboard Toggle word wrap
중요

클러스터에서 이미 활성화된 기능을 비활성화하는 것은 불가능합니다. 클러스터 버전 운영자(CVO)는 클러스터에서 이미 활성화된 기능을 계속 조정합니다.

기능을 비활성화하려고 하면 CVO에서 다음과 같은 분기 사양이 표시됩니다.

$ oc get clusterversion version -o jsonpath='{.status.conditions[?(@.type=="ImplicitlyEnabledCapabilities")]}{"\n"}'
Copy to Clipboard Toggle word wrap

출력 예

{"lastTransitionTime":"2022-07-22T03:14:35Z","message":"The following capabilities could not be disabled: openshift-samples","reason":"CapabilitiesImplicitlyEnabled","status":"True","type":"ImplicitlyEnabledCapabilities"}
Copy to Clipboard Toggle word wrap

참고

클러스터 업그레이드 중에 특정 기능이 암묵적으로 활성화될 수 있습니다. 업그레이드 전에 클러스터에서 리소스가 이미 실행 중이었다면 해당 리소스에 속하는 모든 기능이 활성화됩니다. 예를 들어 클러스터를 업그레이드하는 동안 클러스터에서 이미 실행 중인 리소스가 시스템의 marketplace 기능의 일부로 변경되었습니다. 클러스터 관리자가 마켓플레이스 기능을 명시적으로 활성화하지 않았더라도 시스템에서 암묵적으로 활성화됩니다.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

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

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

Red Hat 소개

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

Theme

© 2025 Red Hat