From 9f7faf57d04b60d379b4b04a9d656657c81d1385 Mon Sep 17 00:00:00 2001 From: mlacko64 <53935638+mlacko64@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:46:56 +0200 Subject: [PATCH 1/5] Update developer-mode-installation.md Added note that RKE2/Rancher have to be fully up before continuing with next steps. Co-Authored-By: Jillian <67180770+jillian-maroket@users.noreply.github.com> --- docs/developer/developer-mode-installation.md | 16 ++++++++++++---- .../developer/developer-mode-installation.md | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/docs/developer/developer-mode-installation.md b/docs/developer/developer-mode-installation.md index 2b631a759ef..008a085b471 100644 --- a/docs/developer/developer-mode-installation.md +++ b/docs/developer/developer-mode-installation.md @@ -58,16 +58,20 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the sudo cp /etc/rancher/rke2/rke2.yaml ~/.kube/config sudo chown $(id -u):$(id -g) ~/.kube/config ``` + +:::info important + +Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. + +If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. + +::: 1. Install system-upgrade-controller. This Kubernetes-native upgrade controller for nodes installs `upgrade.cattle.io/v1` CRDs. ```bash kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.1/system-upgrade-controller.yaml ``` -:::info note -If you are unable to locate the `kubectl` binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. -::: - 1. Create the cattle-system namespace. ```bash kubectl create ns cattle-system @@ -92,6 +96,10 @@ If you are unable to locate the `kubectl` binary in `/usr/local/bin`, check `/va --set bootstrapPassword=admin ``` +:::info note +Wait until Rancher will be fully up (all pods in `cattle-system` namespace will be running) before continuing with next steps. +::: + 1. Clone the `rancher/charts` repository. ```bash git clone https://github.com/rancher/charts -b dev-v2.7 diff --git a/versioned_docs/version-v1.3/developer/developer-mode-installation.md b/versioned_docs/version-v1.3/developer/developer-mode-installation.md index 2b631a759ef..a6017c34bce 100644 --- a/versioned_docs/version-v1.3/developer/developer-mode-installation.md +++ b/versioned_docs/version-v1.3/developer/developer-mode-installation.md @@ -59,15 +59,19 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the sudo chown $(id -u):$(id -g) ~/.kube/config ``` +:::info important + +Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. + +If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. + +::: + 1. Install system-upgrade-controller. This Kubernetes-native upgrade controller for nodes installs `upgrade.cattle.io/v1` CRDs. ```bash kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.1/system-upgrade-controller.yaml ``` -:::info note -If you are unable to locate the `kubectl` binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. -::: - 1. Create the cattle-system namespace. ```bash kubectl create ns cattle-system @@ -92,6 +96,10 @@ If you are unable to locate the `kubectl` binary in `/usr/local/bin`, check `/va --set bootstrapPassword=admin ``` +:::info note +Wait until Rancher will be fully up (all pods in `cattle-system` namespace will be running) before continuing with next steps. +::: + 1. Clone the `rancher/charts` repository. ```bash git clone https://github.com/rancher/charts -b dev-v2.7 From 720bda0429541df880a4ed9ce449392ff8b608fe Mon Sep 17 00:00:00 2001 From: mlacko64 <53935638+mlacko64@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:05:56 +0200 Subject: [PATCH 2/5] Update docs/developer/developer-mode-installation.md Co-authored-by: Jillian <67180770+jillian-maroket@users.noreply.github.com> --- docs/developer/developer-mode-installation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/developer/developer-mode-installation.md b/docs/developer/developer-mode-installation.md index 008a085b471..73aa6de7a8c 100644 --- a/docs/developer/developer-mode-installation.md +++ b/docs/developer/developer-mode-installation.md @@ -59,13 +59,13 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the sudo chown $(id -u):$(id -g) ~/.kube/config ``` -:::info important + :::info important -Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. + Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. -If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. + If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. -::: + ::: 1. Install system-upgrade-controller. This Kubernetes-native upgrade controller for nodes installs `upgrade.cattle.io/v1` CRDs. ```bash From 0d1c7f9768fe383c1231f485192035fafd35d889 Mon Sep 17 00:00:00 2001 From: mlacko64 <53935638+mlacko64@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:06:24 +0200 Subject: [PATCH 3/5] Update docs/developer/developer-mode-installation.md Co-authored-by: Jillian <67180770+jillian-maroket@users.noreply.github.com> --- docs/developer/developer-mode-installation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/developer/developer-mode-installation.md b/docs/developer/developer-mode-installation.md index 73aa6de7a8c..92446183251 100644 --- a/docs/developer/developer-mode-installation.md +++ b/docs/developer/developer-mode-installation.md @@ -96,9 +96,11 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the --set bootstrapPassword=admin ``` -:::info note -Wait until Rancher will be fully up (all pods in `cattle-system` namespace will be running) before continuing with next steps. -::: + :::info important + + Allow some time for all pods in the `cattle-system` namespace to reach the `Ready` state before proceeding to the next step. + + ::: 1. Clone the `rancher/charts` repository. ```bash From 33777c4b4b770dd7a7390812dab951197f505fc5 Mon Sep 17 00:00:00 2001 From: mlacko64 <53935638+mlacko64@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:06:32 +0200 Subject: [PATCH 4/5] Update versioned_docs/version-v1.3/developer/developer-mode-installation.md Co-authored-by: Jillian <67180770+jillian-maroket@users.noreply.github.com> --- .../version-v1.3/developer/developer-mode-installation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/versioned_docs/version-v1.3/developer/developer-mode-installation.md b/versioned_docs/version-v1.3/developer/developer-mode-installation.md index a6017c34bce..164b97f9fda 100644 --- a/versioned_docs/version-v1.3/developer/developer-mode-installation.md +++ b/versioned_docs/version-v1.3/developer/developer-mode-installation.md @@ -59,13 +59,13 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the sudo chown $(id -u):$(id -g) ~/.kube/config ``` -:::info important + :::info important -Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. + Allow some time for all pods in the `kube-system` namespace to reach the `Ready` state before proceeding to the next step. -If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. + If you are unable to locate the kubectl binary in `/usr/local/bin`, check `/var/lib/rancher/rke2/bin`. -::: + ::: 1. Install system-upgrade-controller. This Kubernetes-native upgrade controller for nodes installs `upgrade.cattle.io/v1` CRDs. ```bash From 9847ecbecde0bfd182e865a7a77f70ce6f90c1e6 Mon Sep 17 00:00:00 2001 From: mlacko64 <53935638+mlacko64@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:06:38 +0200 Subject: [PATCH 5/5] Update versioned_docs/version-v1.3/developer/developer-mode-installation.md Co-authored-by: Jillian <67180770+jillian-maroket@users.noreply.github.com> --- .../version-v1.3/developer/developer-mode-installation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/versioned_docs/version-v1.3/developer/developer-mode-installation.md b/versioned_docs/version-v1.3/developer/developer-mode-installation.md index 164b97f9fda..1baf5407d87 100644 --- a/versioned_docs/version-v1.3/developer/developer-mode-installation.md +++ b/versioned_docs/version-v1.3/developer/developer-mode-installation.md @@ -96,9 +96,11 @@ You can install Harvester on an [RKE2](https://docs.rke2.io/) cluster using the --set bootstrapPassword=admin ``` -:::info note -Wait until Rancher will be fully up (all pods in `cattle-system` namespace will be running) before continuing with next steps. -::: + :::info important + + Allow some time for all pods in the `cattle-system` namespace to reach the `Ready` state before proceeding to the next step. + + ::: 1. Clone the `rancher/charts` repository. ```bash