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.11.4. Red Hat OpenShift Service Mesh를 버전 2.0에서 버전 2.1으로 업그레이드
버전 2.0에서 2.1으로 업그레이드하려면 워크로드 및 애플리케이션을 새 버전을 실행하는 Red Hat OpenShift Service Mesh의 새 인스턴스로 마이그레이션하는 수동 단계가 필요합니다.
1.11.4.1. Red Hat OpenShift Service Mesh 2.1으로 업그레이드 링크 복사링크가 클립보드에 복사되었습니다!
Red Hat OpenShift Service Mesh를 업그레이드하려면 Red Hat OpenShift Service Mesh ServiceMeshControlPlane
v2 리소스의 version 필드를 업데이트해야 합니다. 그런 다음 구성 및 적용되면 애플리케이션 Pod를 다시 시작하여 각 사이드카 프록시 및 해당 구성을 업데이트합니다.
사전 요구 사항
- OpenShift Container Platform 4.6 이상을 실행하고 있습니다.
- Red Hat OpenShift Service Mesh 버전 2.1.0 operator가 있습니다. 자동 업그레이드 경로가 활성화된 경우 Operator는 최신 정보를 자동으로 다운로드합니다. 그러나 Red Hat OpenShift Service Mesh 버전 2.1에서 기능을 사용하려면 몇 가지 단계를 수행해야 합니다.
-
Red Hat OpenShift Service Mesh 2.0에서 2.1으로 업그레이드해야 합니다.
ServiceMeshControlPlane
을 1.1에서 2.1로 직접 업그레이드할 수 없습니다.
절차
ServiceMeshControlPlane
리소스가 포함된 프로젝트로 전환합니다. 이 예제에서istio-system
은 컨트롤 플레인 프로젝트의 이름입니다.oc project istio-system
$ oc project istio-system
Copy to Clipboard Copied! Toggle word wrap Toggle overflow v2
ServiceMeshControlPlane
리소스 구성을 확인하여 유효한지 확인합니다.다음 명령을 실행하여
ServiceMeshControlPlane
리소스를 v2 리소스로 확인합니다.oc get smcp -o yaml
$ oc get smcp -o yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 작은 정보컨트롤 플레인 구성을 백업합니다.
.spec.version
필드를 v2.0에서 v2.1로 업데이트하고 구성을 적용합니다.다음 메시지가 표시되면
.spec.version
필드를 업데이트하기 전에 기존 Control Plane 사양의 기존Mixer
유형을Istiod
유형으로 업데이트합니다.An error occurred admission webhook smcp.validation.maistra.io denied the request: [support for policy.type "Mixer" and policy.Mixer options have been removed in v2.1, please use another alternative, support for telemetry.type "Mixer" and telemetry.Mixer options have been removed in v2.1, please use another alternative]”
An error occurred admission webhook smcp.validation.maistra.io denied the request: [support for policy.type "Mixer" and policy.Mixer options have been removed in v2.1, please use another alternative, support for telemetry.type "Mixer" and telemetry.Mixer options have been removed in v2.1, please use another alternative]”
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 예를 들면 다음과 같습니다.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 또는 명령줄을 사용하는 대신 웹 콘솔을 사용하여 컨트롤 플레인을 편집할 수 있습니다. OpenShift Container Platform 웹 콘솔에서 프로젝트를 클릭하고 방금 입력한 프로젝트 이름을 선택합니다.
-
Operators
설치된 Operators를 클릭합니다. -
ServiceMeshControlPlane
인스턴스를 찾습니다. - 이전 예와 같이 YAML 보기를 선택하고 YAML 파일의 텍스트를 업데이트합니다.
- 저장을 클릭합니다.
-
Operators