<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Adding GKE clusters > 原文:[https://docs.gitlab.com/ee/user/project/clusters/add_gke_clusters.html](https://docs.gitlab.com/ee/user/project/clusters/add_gke_clusters.html) * [GKE requirements](#gke-requirements) * [New GKE cluster](#new-gke-cluster) * [Creating the cluster on GKE](#creating-the-cluster-on-gke) * [Cloud Run for Anthos](#cloud-run-for-anthos) * [Existing GKE cluster](#existing-gke-cluster) # Adding GKE clusters[](#adding-gke-clusters "Permalink") GitLab 支持添加新的和現有的 GKE 集群. ## GKE requirements[](#gke-requirements "Permalink") 在通過 GitLab 集成在 Google GKE 上創建第一個集群之前,請確保滿足以下要求: * 設置了具有訪問權限的[結算帳戶](https://cloud.google.com/billing/docs/how-to/manage-billing-account) . * 啟用了 Kubernetes Engine API 和相關服務. 它應該可以立即工作,但是創建項目后最多可能需要 10 分鐘. 有關更多信息,請參見[Kubernetes Engine 文檔](https://cloud.google.com/kubernetes-engine/docs/quickstart#before-you-begin)的["開始之前"部分](https://cloud.google.com/kubernetes-engine/docs/quickstart#before-you-begin) . ## New GKE cluster[](#new-gke-cluster "Permalink") 從[GitLab 12.4](https://gitlab.com/gitlab-org/gitlab/-/issues/25925)開始, [GitLab](https://gitlab.com/gitlab-org/gitlab/-/issues/25925)提供的所有 GKE 群集均為[VPC 本地的](https://cloud.google.com/kubernetes-engine/docs/how-to/alias-ips) . 請注意以下幾點: * 必須在實例級別的 GitLab 中啟用[Google 身份驗證集成](../../../integration/google.html) . 如果不是這種情況,請要求您的 GitLab 管理員啟用它. 在 GitLab.com 上啟用了此功能. * 從[GitLab 12.1](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/55902)開始,由[GitLab](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/55902)創建的所有 GKE 集群都啟用了 RBAC. 請參閱[RBAC 部分](add_remove_clusters.html#rbac-cluster-resources)以獲取更多信息. * 從[GitLab 12.5](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/18341)開始,群集的 Pod 地址 IP 范圍將設置為/ 16,而不是常規的/ 14\. / 16 是 CIDR 表示法. * GitLab 要求啟用基本身份驗證并為集群頒發客戶端證書,以設置[初始服務帳戶](add_remove_clusters.html#access-controls) . 在[GitLab 11.10 及更高版本中](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/58208) ,集群創建過程明確要求 GKE 創建啟用了基本身份驗證和客戶端證書的集群. ### Creating the cluster on GKE[](#creating-the-cluster-on-gke "Permalink") 要創建新的 Kubernetes 集群并將其添加到您的項目,組或實例: 1. 導航到您的: * 項目的 **操作> Kubernetes**頁面,用于項目級集群. * 組的 **Kubernetes**頁面,用于組級別集群. * **管理區>** **Kubernetes**頁面,用于實例級集群. 2. Click **添加 Kubernetes 集群**. 3. 在[ **建立新叢集]**標簽下,按一下[ **Google GKE]** . 4. 如果尚未連接 Google 帳戶,請單擊" **使用 Google 登錄"**按鈕. 5. 選擇集群的設置: * **Kubernetes 集群名稱** -您希望賦予集群的名稱. * **環境范圍** -該集群的[關聯環境](index.html#setting-the-environment-scope-premium) . * **Google Cloud Platform 項目** -選擇您在 GCP 控制臺中創建的將托管 Kubernetes 集群的項目. 了解有關[Google Cloud Platform 項目的](https://cloud.google.com/resource-manager/docs/creating-managing-projects)更多信息. * **區域** -選擇將在其下創建群集的[區域區域](https://cloud.google.com/compute/docs/regions-zones/) . * **節點數** -輸入希望群集具有的節點數. * **計算機類型** -群集將基于的虛擬機實例的[計算機類型](https://cloud.google.com/compute/docs/machine-types) . * **為 Anthos 啟用 Cloud Run-**如果要對此集群使用 Cloud Run for Anthos,請選中此復選框. 有關更多信息,請參見[Anthos](#cloud-run-for-anthos)的[Cloud Run 部分](#cloud-run-for-anthos) . * **由 GitLab 管理的群集** -如果要讓 GitLab 管理該群集的名稱空間和服務帳戶,請選中此復選框. 有關更多信息,請參見[托管集群部分](index.html#gitlab-managed-clusters) . 6. 最后,單擊**創建 Kubernetes 集群**按鈕. 幾分鐘后,您的集群將準備就緒. 現在,您可以繼續安裝一些[預定義的應用程序](index.html#installing-applications) . ### Cloud Run for Anthos[](#cloud-run-for-anthos "Permalink") 在 GitLab 12.4 中[引入](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/16566) . 創建群集后,可以選擇使用 Cloud Run for Anthos 代替分別安裝 Knative 和 Istio. 這意味著將在創建時在集群上啟用 Cloud Run(Knative),Istio 和 HTTP Load Balancing,并且不能單獨[安裝或卸載](../../clusters/applications.html) . ## Existing GKE cluster[](#existing-gke-cluster "Permalink") 有關添加現有 GKE 群集的信息,請參閱" [現有 Kubernetes 群集"](add_remove_clusters.html#existing-kubernetes-cluster) .
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看