This documentation is for the current version of GKE on AWS, released in November 2021. See the
Release notes for more information.
Google Cloud CLI を構成する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
GKE on AWS を使用する前に、Google Cloud CLI をインストールして、必要な API を有効にする必要があります。
Google Cloud CLI を構成するには、次のコマンドを実行します。
次のコマンドを使用して、Google Cloud CLI のインストールを確認します。
gcloud version
Google Cloud CLI がインストールされていない場合、または 412.0.0 より前のバージョンを使用している場合は、Google Cloud CLI の最新バージョンをインストールします。
kubectl
追加コンポーネントをインストールします。
まだ作成していない場合は、Google Cloud プロジェクトを作成します。プロジェクト名を保存します。これは後で使用します。
次のコマンドを実行して、Google Cloud アカウントで認証を行います。
gcloud auth login
次のコマンドを使用して、GKE Multi-Cloud API とそのサービスの依存関係を有効にします。これらのコマンドにより、Google Cloud CLI で構成されたプロジェクトの API が有効になります。
gcloud services enable gkemulticloud.googleapis.com
gcloud services enable gkeconnect.googleapis.com
gcloud services enable gkehub.googleapis.com
gcloud services enable connectgateway.googleapis.com
gcloud services enable cloudresourcemanager.googleapis.com
gcloud services enable anthos.googleapis.com
gcloud services enable logging.googleapis.com
gcloud services enable monitoring.googleapis.com
gcloud services enable opsconfigmonitoring.googleapis.com
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-28 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]