From a85265c9410c71d4093460d1c2422433cfa607ed Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Fri, 29 Jul 2022 17:57:19 +0200 Subject: [PATCH 01/16] update quickstart --- docs/website/docs/user-guides/quickstart.md | 224 +++++++++++++++++--- 1 file changed, 199 insertions(+), 25 deletions(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index bd98538a830..41637dcfde9 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -149,7 +149,54 @@ $ go mod init my.example.go.project Your source code has now been generated and created in the directory. -## Step 1. Creating your application (`odo init`) + +## Step 1. Connect to your cluster and create a new namespace or project" + +Before starting you should make sure that odo is connected to your cluster and that you have created a new namespace (or project if you are using OpenShift). + + + + + + + +### Creating a new namespace + +If you are using Kubernetes, you can create a new namespace with the `odo create namespace` command. + +```console +$ odo create namespace odo-dev + ✓ Namespace "odo-dev" is ready for use + ✓ New namespace created and now using namespace: odo-dev +``` + + + + +### Login to OpenShift Cluster + +The easies way to connect `odo` to an OpenShift cluster is use copy "Copy login command" function in OpenShift Web Console. + +1. Login to OpenShift Web Console. +2. At the top right corner click on your username and than on "Copy login command". +3. You will be prompted to enter your login credentials again. +4. After login open "Display Token" link. +5. Copy whole `oc login --token ...` command and paste it into the terminal, **before executing the command replace `oc` with `odo`.** + +### Create a new project + +If you are using OpenShift, you can create a new namespace with the `odo create project` command. + +```console +$ odo create project odo-dev + ✓ Project "odo-dev" is ready for use + ✓ New project created and now using namespace: odo-dev +``` + + + + +## Step 2. Creating your application (`odo init`) Now we'll initialize your application by creating a `devfile.yaml` to be deployed. @@ -307,7 +354,7 @@ Changes will be directly reflected on the cluster. -## Step 2. Developing your application continuously (`odo dev`) +## Step 3. Developing your application continuously (`odo dev`) Now that we've generated our code as well as our Devfile, let's start on development. @@ -425,7 +472,7 @@ Press Ctrl+c to exit `odo dev` and delete resources from the cluster You can now access the application at [127.0.0.1:40001](http://127.0.0.1:40001) in your local browser and start your development loop. `odo` will watch for changes and push the code for real-time updates. -## Step 3. Deploying your application to the world (`odo deploy`) +## Step 4. Deploying your application to the world (`odo deploy`) **Prerequisites:** @@ -494,6 +541,10 @@ CMD ["npm", "start"] Let's modify the `devfile.yaml` and add the respective deployment code. +:::caution +When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +::: + `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: ```yaml @@ -524,7 +575,7 @@ commands: - build-image - k8s-deployment - k8s-service - - k8s-ingress + - k8s-url group: isDefault: true kind: deploy @@ -539,9 +590,9 @@ commands: - id: k8s-service apply: component: outerloop-service -- id: k8s-ingress +- id: k8s-url apply: - component: outerloop-ingress + component: outerloop-url ``` Add the Docker image location and Kubernetes Deployment, Service, and Ingress resources to `components`: @@ -607,9 +658,16 @@ components: selector: app: {{RESOURCE_NAME}} type: ClusterIP +``` + +To be able to access our application let's add one more `component` to the Devfile. +For OpenShift cluster we add Route for Kubernetes cluster Ingress. -# Let's create an Ingress so we can access the application via a domain name -- name: outerloop-ingress + + + +```yaml +- name: outerloop-url kubernetes: inlined: | apiVersion: networking.k8s.io/v1 @@ -629,7 +687,27 @@ components: port: number: {{CONTAINER_PORT}} ``` + + +```yaml +- name: outerloop-url + kubernetes: + inlined: | + apiVersion: route.openshift.io/v1 + kind: Route + metadata: + name: {{RESOURCE_NAME}} + spec: + path: / + to: + kind: Service + name: {{RESOURCE_NAME}} + port: + targetPort: {{CONTAINER_PORT}} +``` + + #### 3. Run the `odo deploy` command @@ -693,6 +771,10 @@ CMD ["dotnet", "app.dll"] Let's modify the `devfile.yaml` and add the respective deployment code. +:::caution +When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +::: + `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: ```yaml @@ -723,7 +805,7 @@ commands: - build-image - k8s-deployment - k8s-service - - k8s-ingress + - k8s-url group: isDefault: true kind: deploy @@ -738,12 +820,12 @@ commands: - id: k8s-service apply: component: outerloop-service -- id: k8s-ingress +- id: k8s-url apply: - component: outerloop-ingress + component: outerloop-url ``` -Add the Docker image location and Kubernetes Deployment, Service, and Ingress resources to `components`: +Add the Docker image location and Kubernetes Deployment, and Service resources to `components`: ```yaml components: @@ -806,9 +888,16 @@ components: selector: app: {{RESOURCE_NAME}} type: ClusterIP +``` + +To be able to access our application we need to add one more `component` to the Devfile. +For OpenShift cluster we add Route for Kubernetes cluster Ingress. -# Let's create an Ingress so we can access the application via a domain name -- name: outerloop-ingress + + + +```yaml +- name: outerloop-url kubernetes: inlined: | apiVersion: networking.k8s.io/v1 @@ -828,6 +917,27 @@ components: port: number: {{CONTAINER_PORT}} ``` + + + +```yaml +- name: outerloop-url + kubernetes: + inlined: | + apiVersion: route.openshift.io/v1 + kind: Route + metadata: + name: {{RESOURCE_NAME}} + spec: + path: / + to: + kind: Service + name: {{RESOURCE_NAME}} + port: + targetPort: {{CONTAINER_PORT}} +``` + + #### 3. Run the `odo deploy` command @@ -890,6 +1000,10 @@ COPY --from=builder /tmp/src/target/*.jar /deployments/app.jar Let's modify the `devfile.yaml` and add the respective deployment code. +:::caution +When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +::: + `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: ```yaml @@ -920,7 +1034,7 @@ commands: - build-image - k8s-deployment - k8s-service - - k8s-ingress + - k8s-url group: isDefault: true kind: deploy @@ -935,12 +1049,12 @@ commands: - id: k8s-service apply: component: outerloop-service -- id: k8s-ingress +- id: k8s-url apply: - component: outerloop-ingress + component: outerloop-url ``` -Add the Docker image location and Kubernetes Deployment, Service, and Ingress resources to `components`: +Add the Docker image location and Kubernetes Deployment service Service resources to `components`: ```yaml components: @@ -1003,9 +1117,16 @@ components: selector: app: {{RESOURCE_NAME}} type: ClusterIP +``` + +To be able to access our application we need to add one more `component` to the Devfile. +For OpenShift cluster we add Route for Kubernetes cluster Ingress. -# Let's create an Ingress so we can access the application via a domain name -- name: outerloop-ingress + + + +```yaml +- name: outerloop-url kubernetes: inlined: | apiVersion: networking.k8s.io/v1 @@ -1025,6 +1146,27 @@ components: port: number: {{CONTAINER_PORT}} ``` + + + +```yaml +- name: outerloop-url + kubernetes: + inlined: | + apiVersion: route.openshift.io/v1 + kind: Route + metadata: + name: {{RESOURCE_NAME}} + spec: + path: / + to: + kind: Service + name: {{RESOURCE_NAME}} + port: + targetPort: {{CONTAINER_PORT}} +``` + + #### 3. Run the `odo deploy` command @@ -1098,6 +1240,10 @@ CMD ["/app/server"] Let's modify the `devfile.yaml` and add the respective deployment code. +:::caution +When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +::: + `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: ```yaml @@ -1128,7 +1274,7 @@ commands: - build-image - k8s-deployment - k8s-service - - k8s-ingress + - k8s-url group: isDefault: true kind: deploy @@ -1143,9 +1289,9 @@ commands: - id: k8s-service apply: component: outerloop-service -- id: k8s-ingress +- id: k8s-url apply: - component: outerloop-ingress + component: outerloop-url ``` Add the Docker image location and Kubernetes Deployment, Service, and Ingress resources to `components`: @@ -1212,8 +1358,16 @@ components: app: {{RESOURCE_NAME}} type: ClusterIP -# Let's create an Ingress so we can access the application via a domain name -- name: outerloop-ingress +``` + +To be able to access our application let's add one more `component` to the Devfile. +For OpenShift cluster we add Route for Kubernetes cluster Ingress. + + + + +```yaml +- name: outerloop-url kubernetes: inlined: | apiVersion: networking.k8s.io/v1 @@ -1233,7 +1387,27 @@ components: port: number: {{CONTAINER_PORT}} ``` + + +```yaml +- name: outerloop-url + kubernetes: + inlined: | + apiVersion: route.openshift.io/v1 + kind: Route + metadata: + name: {{RESOURCE_NAME}} + spec: + path: / + to: + kind: Service + name: {{RESOURCE_NAME}} + port: + targetPort: {{CONTAINER_PORT}} +``` + + #### 3. Run the `odo deploy` command From 08f323418359e0a4c418a04dc14b01d79f39cf46 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 14:00:48 +0200 Subject: [PATCH 02/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Dharmit Shah --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 41637dcfde9..98baa62747f 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -150,7 +150,7 @@ $ go mod init my.example.go.project Your source code has now been generated and created in the directory. -## Step 1. Connect to your cluster and create a new namespace or project" +## Step 1. Connect to your cluster and create a new namespace or project Before starting you should make sure that odo is connected to your cluster and that you have created a new namespace (or project if you are using OpenShift). From af1563df4f8863969ed5617e289e34f07181e430 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 14:00:55 +0200 Subject: [PATCH 03/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Dharmit Shah --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 98baa62747f..0083988eb5a 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -175,7 +175,7 @@ $ odo create namespace odo-dev ### Login to OpenShift Cluster -The easies way to connect `odo` to an OpenShift cluster is use copy "Copy login command" function in OpenShift Web Console. +The easiest way to connect `odo` to an OpenShift cluster is use copy "Copy login command" function in OpenShift Web Console. 1. Login to OpenShift Web Console. 2. At the top right corner click on your username and than on "Copy login command". From 705b6abe476a30ec545b021170b4f89a344a4c18 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 14:01:01 +0200 Subject: [PATCH 04/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Dharmit Shah --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 0083988eb5a..fa8dd428a02 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -178,7 +178,7 @@ $ odo create namespace odo-dev The easiest way to connect `odo` to an OpenShift cluster is use copy "Copy login command" function in OpenShift Web Console. 1. Login to OpenShift Web Console. -2. At the top right corner click on your username and than on "Copy login command". +2. At the top right corner click on your username and then on "Copy login command". 3. You will be prompted to enter your login credentials again. 4. After login open "Display Token" link. 5. Copy whole `oc login --token ...` command and paste it into the terminal, **before executing the command replace `oc` with `odo`.** From 4a86e9505aafd1fcdc98cabc9504276839322543 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 14:01:10 +0200 Subject: [PATCH 05/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Dharmit Shah --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index fa8dd428a02..4c056be7a83 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -180,7 +180,7 @@ The easiest way to connect `odo` to an OpenShift cluster is use copy "Copy login 1. Login to OpenShift Web Console. 2. At the top right corner click on your username and then on "Copy login command". 3. You will be prompted to enter your login credentials again. -4. After login open "Display Token" link. +4. After login, open "Display Token" link. 5. Copy whole `oc login --token ...` command and paste it into the terminal, **before executing the command replace `oc` with `odo`.** ### Create a new project From 16aff88e97e88e1422a476b2d2ee49a2ab8e3973 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:09:42 +0200 Subject: [PATCH 06/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 4c056be7a83..50d5d2a8b42 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -661,7 +661,7 @@ components: ``` To be able to access our application let's add one more `component` to the Devfile. -For OpenShift cluster we add Route for Kubernetes cluster Ingress. +For OpenShift cluster we add Route. For Kubernetes cluster we add Ingress. From 051777b283ee5987f292108b18bd798f61c841ba Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:09:48 +0200 Subject: [PATCH 07/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 50d5d2a8b42..a6e6a590b74 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -891,7 +891,7 @@ components: ``` To be able to access our application we need to add one more `component` to the Devfile. -For OpenShift cluster we add Route for Kubernetes cluster Ingress. +For OpenShift cluster we add Route. For Kubernetes cluster we add Ingress. From e38d9b14492b5c929edb71fa328bb3a41e21d56d Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:09:57 +0200 Subject: [PATCH 08/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index a6e6a590b74..b8a8f262e81 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -1001,7 +1001,7 @@ COPY --from=builder /tmp/src/target/*.jar /deployments/app.jar Let's modify the `devfile.yaml` and add the respective deployment code. :::caution -When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +When copy/pasting to `devfile.yaml`, make sure the lines you inserted are correctly indented. ::: `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: From 0b7c172478e4c4781ea10e49d50af084a76617e2 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:02 +0200 Subject: [PATCH 09/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index b8a8f262e81..1373f83e34d 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -1241,7 +1241,7 @@ CMD ["/app/server"] Let's modify the `devfile.yaml` and add the respective deployment code. :::caution -When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +When copy/pasting to `devfile.yaml`, make sure the lines you inserted are correctly indented. ::: `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: From f2880841e308f2d6ad70214066ee09474663bd10 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:09 +0200 Subject: [PATCH 10/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 1373f83e34d..da600ab9981 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -825,7 +825,7 @@ commands: component: outerloop-url ``` -Add the Docker image location and Kubernetes Deployment, and Service resources to `components`: +Add the Docker image location as well as Kubernetes Deployment and Service resources to `components`: ```yaml components: From 5ca2e8f1ba81a0c20075180d56bac3296b442f3b Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:14 +0200 Subject: [PATCH 11/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index da600ab9981..986d8b84fc8 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -1054,7 +1054,7 @@ commands: component: outerloop-url ``` -Add the Docker image location and Kubernetes Deployment service Service resources to `components`: +Add the Docker image location as well as Kubernetes Deployment and Service resources to `components`: ```yaml components: From d3c7ba32d0f7260fc3080cf2cd60c3a511a1a526 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:21 +0200 Subject: [PATCH 12/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 986d8b84fc8..9b56f387a84 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -1361,7 +1361,7 @@ components: ``` To be able to access our application let's add one more `component` to the Devfile. -For OpenShift cluster we add Route for Kubernetes cluster Ingress. +For OpenShift cluster we add Route. For Kubernetes cluster we add Ingress. From c9b5a39002680b1747c1f41845ab83c2741f2596 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:27 +0200 Subject: [PATCH 13/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index 9b56f387a84..edfc4cfa710 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -1120,7 +1120,7 @@ components: ``` To be able to access our application we need to add one more `component` to the Devfile. -For OpenShift cluster we add Route for Kubernetes cluster Ingress. +For OpenShift cluster we add Route. For Kubernetes cluster we add Ingress. From b6d6c8f45ec9c28c4059aa9d74a836a8d481f0e3 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:34 +0200 Subject: [PATCH 14/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index edfc4cfa710..fc210437080 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -772,7 +772,7 @@ CMD ["dotnet", "app.dll"] Let's modify the `devfile.yaml` and add the respective deployment code. :::caution -When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +When copy/pasting to `devfile.yaml`, make sure the lines you inserted are correctly indented. ::: `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: From d2d05d1471a2bb4bf289cd1067805137f6a4301f Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:10:43 +0200 Subject: [PATCH 15/16] Update docs/website/docs/user-guides/quickstart.md Co-authored-by: Philippe Martin --- docs/website/docs/user-guides/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index fc210437080..c7196fe503b 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -542,7 +542,7 @@ CMD ["npm", "start"] Let's modify the `devfile.yaml` and add the respective deployment code. :::caution -When copy/pasting to `devfile.yaml`, make sure that the lines that you inserted are correctly indented. +When copy/pasting to `devfile.yaml`, make sure the lines you inserted are correctly indented. ::: `odo deploy` uses Devfile schema **2.2.0**. Change the schema to reflect the change: From 807e873d5781798ea838fdc341a1849bb9dc3cec Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 1 Aug 2022 16:31:53 +0200 Subject: [PATCH 16/16] add info about how to get url --- docs/website/docs/user-guides/quickstart.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/website/docs/user-guides/quickstart.md b/docs/website/docs/user-guides/quickstart.md index c7196fe503b..b7a67ca6ffd 100644 --- a/docs/website/docs/user-guides/quickstart.md +++ b/docs/website/docs/user-guides/quickstart.md @@ -742,10 +742,24 @@ $ odo deploy Your Devfile has been successfully deployed ``` -Your application has now been deployed to the Kubernetes cluster with Deployment, Service, and Ingress resources. +Your application has now been deployed to the Kubernetes cluster with Deployment, Service, and Ingress or Route resources. + + + Test your application by visiting the `DOMAIN_NAME` variable that you had set in the `devfile.yaml`. + + + +The is currently no way to get the Route url using only the `odo` command. This will be fixed in the next odo release. + +For now, you have to use `oc get routes` command to get the Route URL. + + + + +