From 5e09d888a84fb84c981fb769171895d97db69f7a Mon Sep 17 00:00:00 2001 From: martyav Date: Tue, 13 Jun 2023 17:10:04 -0400 Subject: [PATCH 1/3] #669 Updated install command for GKE to include new flag --- .../install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md index 225c0a2a66c..d0e891349f8 100644 --- a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md +++ b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md @@ -153,8 +153,9 @@ helm upgrade --install \ ingress-nginx ingress-nginx/ingress-nginx \ --namespace ingress-nginx \ --set controller.service.type=LoadBalancer \ + --set service.type: NodePort \ --version 4.0.18 \ - --create-namespace + --create-namespace ``` ## 8. Get the Load Balancer IP From 0c37084d19afff5c45fcc580ff305fc6fcfd9fef Mon Sep 17 00:00:00 2001 From: martyav Date: Tue, 13 Jun 2023 18:25:52 -0400 Subject: [PATCH 2/3] moved new flag, revised : to =, updated/reworded mention of new in 2.6 in same section --- .../rancher-on-gke.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md index d0e891349f8..4f6a2195cd9 100644 --- a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md +++ b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md @@ -153,7 +153,6 @@ helm upgrade --install \ ingress-nginx ingress-nginx/ingress-nginx \ --namespace ingress-nginx \ --set controller.service.type=LoadBalancer \ - --set service.type: NodePort \ --version 4.0.18 \ --create-namespace ``` @@ -189,12 +188,16 @@ Next, install the Rancher Helm chart by following the instructions on [this page Use the DNS name from the previous step as the Rancher server URL when you install Rancher. It can be passed in as a Helm option. For example, if the DNS name is `rancher.my.org`, you could run the Helm installation command with the option `--set hostname=rancher.my.org`. -**_New in v2.6.7_** - -When installing Rancher on top of this setup, you will also need to pass the value below into the Rancher Helm install command in order to set the name of the ingress controller to be used with Rancher's ingress resource: +When installing Rancher on top of this setup, you will also need to set the name of the ingress controller to be used with Rancher's ingress resource: ``` --set ingress.ingressClassName=nginx ``` Refer [here for the Helm install command](../../../pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster.md#5-install-rancher-with-helm-and-your-chosen-certificate-option) for your chosen certificate option. + +In Rancher v2.7.5, if you intend to use the default GKE ingress on your cluster, you need to set the following flag: + +``` +--set service.type=NodePort +``` From 6c6e0da9a94bd98360f49bf16f778552dd77af28 Mon Sep 17 00:00:00 2001 From: martyav Date: Tue, 13 Jun 2023 17:00:52 -0700 Subject: [PATCH 3/3] added more details --- .../install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md index 4f6a2195cd9..4f7f9a2f124 100644 --- a/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md +++ b/docs/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-gke.md @@ -196,8 +196,10 @@ When installing Rancher on top of this setup, you will also need to set the name Refer [here for the Helm install command](../../../pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster.md#5-install-rancher-with-helm-and-your-chosen-certificate-option) for your chosen certificate option. -In Rancher v2.7.5, if you intend to use the default GKE ingress on your cluster, you need to set the following flag: +In Rancher v2.7.5, if you intend to use the default GKE ingress on your cluster without enabling VPC-native cluster mode, you need to set the following flag: ``` --set service.type=NodePort ``` + +This is necessary because of compatibility issues between this setup and ClusterIP, the default type for `cattle-system/rancher`. \ No newline at end of file