Skip to content

Commit

Permalink
Update developer-mode-installation.md
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mlacko64 and jillian-maroket committed Aug 21, 2024
1 parent 6027f71 commit 9f7faf5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions docs/developer/developer-mode-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9f7faf5

Please sign in to comment.