Cloud Run for Anthos on VMware 설정

이 가이드에서는 Cloud Run for Anthos를 사용 설정하여 VMware용 Anthos 클러스터(GKE On-Prem)를 설정하는 방법을 보여줍니다.

Cloud Run for Anthos on VMware를 설치하면 스테이트리스(Stateless) 워크로드를 연결하고 관리하도록 클러스터에 Knative Serving이 설치됩니다.

시작하기 전에

  1. 이 작업에서는 활성화 된 VMware용 Anthos 클러스터(GKE On-Prem)가 있다고 가정합니다. VMware용 Anthos 클러스터를 만드는 방법 알아보기

    Anthos에 대한 자세한 내용은 Anthos 가격 책정을 참조하세요.

  2. Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
  3. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  4. Google Cloud 프로젝트에 결제가 사용 설정되어 있는지 확인합니다.

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  6. Google Cloud 프로젝트에 결제가 사용 설정되어 있는지 확인합니다.

명령줄 환경 설정

gcloud CLI 및 Cloud Run for Anthos on VMware용 kubectl을 설정합니다.

  1. Google Cloud CLI를 설치하고 초기화합니다.

  2. Google Cloud CLI에서 사용하는 기본 Google Cloud 프로젝트를 방금 만든 Google Cloud 프로젝트로 설정합니다.

    gcloud config set project PROJECT-ID

    PROJECT_ID를 Google Cloud 프로젝트의 ID로 바꿉니다.

  3. kubectl 명령줄 도구를 설치합니다.

    gcloud components install kubectl
  4. 설치된 gcloud CLI 구성요소를 업데이트합니다.

    gcloud components update

Cloud Run for Anthos on VMware 설치

config.yaml 파일에서 cloudrun 구성을 설정하여 새 VMware용 Anthos 클러스터를 만드는 동안 Cloud Run for Anthos를 설치할 수 있습니다.

cloudrun:
  enabled: true

Google Cloud 콘솔 설정

Google Cloud 콘솔을 사용할 때 클러스터에 로그인합니다. Kubernetes 서비스 계정을 사용하는 경우 해당 서비스 계정에 cluster-admin 역할을 추가해야 합니다.

다음 단계