서버리스 제거

Red Hat OpenShift Serverless 1.32

클러스터에서 서버리스 제거

Red Hat OpenShift Documentation Team

초록

이 문서에서는 클러스터에서 OpenShift Serverless를 제거하는 방법을 자세히 설명합니다.

1장. OpenShift Serverless 개요 제거

클러스터에서 OpenShift Serverless를 제거해야 하는 경우 OpenShift Serverless Operator 및 기타 OpenShift Serverless 구성 요소를 수동으로 제거하여 이 작업을 수행할 수 있습니다. OpenShift Serverless Operator를 제거하려면 먼저 Knative Serving 및 Knative Eventing을 제거해야 합니다.

OpenShift Serverless를 설치 제거한 후 클러스터에 남아 있는 Operator 및 API CRD(사용자 정의 리소스 정의)를 제거할 수 있습니다.

OpenShift Serverless를 완전히 제거하는 단계는 다음 절차에 자세히 설명되어 있습니다.

2장. OpenShift Serverless Knative Eventing 설치 제거

OpenShift Serverless Operator를 제거하려면 먼저 Knative Eventing을 제거해야 합니다. Knative Eventing을 설치 제거하려면 KnativeEventing CR(사용자 정의 리소스)을 제거하고 knative-eventing 네임스페이스를 삭제해야 합니다.

2.1. Knative Eventing 설치 제거

사전 요구 사항

  • OpenShift Container Platform에 대한 클러스터 관리자 권한이 있거나 OpenShift Dedicated에 대한 클러스터 또는 전용 관리자 권한이 있습니다.
  • OpenShift CLI(oc)를 설치합니다.

프로세스

  1. KnativeEventing CR을 삭제합니다.

    $ oc delete knativeeventings.operator.knative.dev knative-eventing -n knative-eventing
  2. 명령이 완료되고 knative-eventing 네임스페이스에서 모든 Pod가 제거된 후 네임스페이스를 삭제합니다.

    $ oc delete namespace knative-eventing

3장. OpenShift Serverless Knative Serving 설치 제거

OpenShift Serverless Operator를 제거하려면 먼저 Knative Serving을 제거해야 합니다. Knative Serving 을 설치 제거하려면 KnativeServing CR(사용자 정의 리소스)을 제거하고 knative-serving 네임스페이스를 삭제해야 합니다.

3.1. Knative Serving 설치 제거

사전 요구 사항

  • OpenShift Container Platform에 대한 클러스터 관리자 권한이 있거나 OpenShift Dedicated에 대한 클러스터 또는 전용 관리자 권한이 있습니다.
  • OpenShift CLI(oc)를 설치합니다.

프로세스

  1. KnativeServing CR을 삭제합니다.

    $ oc delete knativeservings.operator.knative.dev knative-serving -n knative-serving
  2. 명령이 완료되고 knative-serving 네임스페이스에서 모든 Pod가 제거되면 네임스페이스를 삭제합니다.

    $ oc delete namespace knative-serving

4장. OpenShift Serverless Operator 제거

Knative Serving 및 Knative Eventing을 제거한 후 OpenShift Serverless Operator를 제거할 수 있습니다. 웹 콘솔 또는 oc CLI를 사용하여 이 작업을 수행할 수 있습니다.

5장. OpenShift Serverless 사용자 정의 리소스 정의 삭제

OpenShift Serverless를 설치 제거해도 Operator 및 API CRD(사용자 정의 리소스 정의)는 클러스터에 남아 있습니다. 다음 절차를 사용하여 남아 있는 CRD를 제거할 수 있습니다.

중요

Operator 및 API CRD를 제거하면 Knative 서비스를 포함하여 이를 사용하여 정의한 모든 리소스도 제거됩니다.

5.1. OpenShift Serverless Operator 및 API CRD 제거

다음 절차를 사용하여 Operator 및 API CRD를 삭제합니다.

사전 요구 사항

  • OpenShift CLI(oc)를 설치합니다.
  • OpenShift Container Platform에 대한 클러스터 관리자 권한이 있거나 AWS 또는 OpenShift Dedicated의 Red Hat OpenShift Service에 대한 클러스터 또는 전용 관리자 권한이 있습니다.
  • Knative Serving을 설치 제거하고 OpenShift Serverless Operator를 제거했습니다.

프로세스

  • 남아 있는 OpenShift Serverless CRD를 삭제하려면 다음 명령을 입력합니다.

    $ oc get crd -oname | grep 'knative.dev' | xargs oc delete

법적 공지

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.