From b042977cc81e3f0c8fff58efd4ef700802efeb83 Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Tue, 14 Jan 2025 15:44:03 +0200 Subject: [PATCH] chore: add installation guide for kind/minikube/openshift Signed-off-by: Oleksii Kurinnyi --- docs/installation.md | 10 + docs/installation/kind-without-olm-linux.md | 182 ++++++++++++++++ docs/installation/kind-without-olm-macos.md | 220 ++++++++++++++++++++ docs/installation/minikube-without-olm.md | 151 ++++++++++++++ docs/installation/openshift-with-olm.md | 127 +++++++++++ docs/installation/openshift-without-olm.md | 99 +++++++++ 6 files changed, 789 insertions(+) create mode 100644 docs/installation.md create mode 100644 docs/installation/kind-without-olm-linux.md create mode 100644 docs/installation/kind-without-olm-macos.md create mode 100644 docs/installation/minikube-without-olm.md create mode 100644 docs/installation/openshift-with-olm.md create mode 100644 docs/installation/openshift-without-olm.md diff --git a/docs/installation.md b/docs/installation.md new file mode 100644 index 000000000..77393ae30 --- /dev/null +++ b/docs/installation.md @@ -0,0 +1,10 @@ +# Installation Guide for DevWorkspace Operator + +- **Kind** + - [Installation on Kind Without OLM (Linux)](installation/kind-without-olm-linux.md) + - [Installation on Kind Without OLM (MacOs)](installation/kind-without-olm-macos.md) +- **Minikube** + - [Installation on Minikube Without OLM](installation/minikube-without-olm.md) +- **OpenShift** + - [Installation on OpenShift With OLM](installation/openshift-with-olm.md) + - [Installation on OpenShift Without OLM](installation/openshift-without-olm.md) diff --git a/docs/installation/kind-without-olm-linux.md b/docs/installation/kind-without-olm-linux.md new file mode 100644 index 000000000..2786f823f --- /dev/null +++ b/docs/installation/kind-without-olm-linux.md @@ -0,0 +1,182 @@ +# Installation on Kind Without OLM (Linux) + +## Prerequisites + +Before you begin, ensure you have the following tools installed: + +* **kubectl:** The Kubernetes command-line tool. +* **kind:** A tool for running Kubernetes locally using Docker. +* **Docker** (as a container runtime) + +## Steps + +### 1. Create Kind Cluster with Extra Port Mappings + +Create a Kind cluster with port mappings for HTTP and HTTPS traffic: + +```sh +cat <`. You will use this IP in the next step. + +#### 6.2 Create the DevWorkspaceOperatorConfig + +Create the `DevWorkspaceOperatorConfig` resource, replacing `` with the IP you obtained in the previous step: + +```bash +kubectl apply -f - <.nip.io" +EOF +``` + +### 7. Create a Sample DevWorkspace + +Create a sample DevWorkspace: + +```bash +kubectl apply -f - <`. + +#### 8.2 Create the DevWorkspaceOperatorConfig + +Create the `DevWorkspaceOperatorConfig` resource, replacing `` with the IP you obtained in the previous step: + +```sh +kubectl apply -f - <.nip.io" +EOF +``` + +### 9. Create a Sample DevWorkspace + +Create a sample DevWorkspace: + +```sh +kubectl apply -f - <. + +#### 6.2 Create the DevWorkspaceOperatorConfig + +Create the DevWorkspaceOperatorConfig resource, replacing with the IP you obtained in the previous step: + +```sh +kubectl apply -f - <.nip.io" +EOF +``` + +### 7. Create a Sample DevWorkspace + +```sh +kubectl apply -f - <