Skip to content

Commit 3d35b76

Browse files
authored
Merge pull request #100208 from JoeAldinger/route-fix
OSDOCS-16026 4 category restructure
2 parents 05bbead + 4757e58 commit 3d35b76

21 files changed

+181
-134
lines changed

_topic_maps/_topic_map.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,14 +1662,18 @@ Topics:
16621662
Dir: ingress_load_balancing
16631663
Distros: openshift-enterprise,openshift-origin
16641664
Topics:
1665-
- Name: Configuring Routes
1665+
- Name: Routes
16661666
Dir: routes
16671667
Distros: openshift-enterprise,openshift-origin
16681668
Topics:
1669-
- Name: Route configuration
1670-
File: route-configuration
1671-
- Name: Secured routes
1672-
File: secured-routes
1669+
- Name: Creating basic routes
1670+
File: creating-basic-routes
1671+
- Name: Securing routes
1672+
File: securing-routes
1673+
- Name: Configuring routes
1674+
File: nw-configuring-routes
1675+
- Name: Creating advanced routes
1676+
File: creating-advanced-routes
16731677
- Name: Configuring ingress cluster traffic
16741678
Dir: configuring_ingress_cluster_traffic
16751679
Distros: openshift-enterprise,openshift-origin

_topic_maps/_topic_map_osd.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -782,13 +782,17 @@ Topics:
782782
Dir: ingress_load_balancing
783783
Distros: openshift-dedicated
784784
Topics:
785-
- Name: Configuring Routes
785+
- Name: Routes
786786
Dir: routes
787787
Topics:
788-
- Name: Route configuration
789-
File: route-configuration
790-
- Name: Secured routes
791-
File: secured-routes
788+
- Name: Creating basic routes
789+
File: creating-basic-routes
790+
- Name: Securing routes
791+
File: securing-routes
792+
- Name: Configuring Routes
793+
File: nw-configuring-routes
794+
- Name: Creating advanced Routes
795+
File: creating-advanced-routes
792796
---
793797
Name: Building applications
794798
Dir: applications

_topic_maps/_topic_map_rosa.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,14 +1010,18 @@ Topics:
10101010
Dir: ingress_load_balancing
10111011
Distros: openshift-rosa
10121012
Topics:
1013-
- Name: Configuring Routes
1013+
- Name: Routes
10141014
Dir: routes
10151015
Distros: openshift-rosa
10161016
Topics:
1017-
- Name: Route configuration
1018-
File: route-configuration
1019-
- Name: Secured routes
1020-
File: secured-routes
1017+
- Name: Creating basic routes
1018+
File: creating-basic-routes
1019+
- Name: Securing routes
1020+
File: securing-routes
1021+
- Name: Configuring Routes
1022+
File: nw-configuring-routes
1023+
- Name: Creating advanced Routes
1024+
File: creating-advanced-routes
10211025
---
10221026
Name: Building applications
10231027
Dir: applications

_topic_maps/_topic_map_rosa_hcp.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,14 +1059,18 @@ Topics:
10591059
Dir: ingress_load_balancing
10601060
Distros: openshift-rosa-hcp
10611061
Topics:
1062-
- Name: Configuring Routes
1062+
- Name: Routes
10631063
Dir: routes
10641064
Distros: openshift-rosa-hcp
10651065
Topics:
1066-
- Name: Route configuration
1067-
File: route-configuration
1068-
- Name: Secured routes
1069-
File: secured-routes
1066+
- Name: Creating basic routes
1067+
File: creating-basic-routes
1068+
- Name: Securing routes
1069+
File: securing-routes
1070+
- Name: Configuring Routes
1071+
File: nw-configuring-routes
1072+
- Name: Creating advanced Routes
1073+
File: creating-advanced-routes
10701074
---
10711075
Name: Nodes
10721076
Dir: nodes

applications/deployments/route-based-deployment-strategies.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ include::modules/deployments-ab-testing.adoc[leveloffset=+1]
3939

4040
include::modules/deployments-ab-testing-lb.adoc[leveloffset=+2]
4141

42-
ifndef::openshift-rosa-hcp[]
4342
// Remove conditionals when Networking content is in ROSA HCP
4443
[role="_additional-resources"]
4544
[id="additional-resources_{context}"]
4645
== Additional resources
4746

48-
* xref:../../networking/ingress_load_balancing/routes/route-configuration.adoc#nw-route-specific-annotations_route-configuration[Route-specific annotations].
49-
endif::[]
47+
* xref:../../networking/ingress_load_balancing/routes/nw-configuring-routes.adoc#nw-route-specific-annotations[Route-specific annotations]

applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[id="odc-monitoring-project-and-application-metrics-using-developer-perspective"]
33
= Monitoring project and application metrics using the Developer perspective
44
include::_attributes/common-attributes.adoc[]
5-
:context: monitoring-project-and-application-metrics-using-developer-perspective
5+
:context: odc-monitoring-project-and-application-metrics-using-developer-perspective
66

77
toc::[]
88

cloud_experts_tutorials/cloud-experts-aws-load-balancer-operator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ include::snippets/mobb-support-statement.adoc[leveloffset=+1]
2222

2323
[TIP]
2424
====
25-
Load Balancers created by the AWS Load Balancer Operator cannot be used for xref:../networking/ingress_load_balancing/routes/route-configuration.adoc#route-configuration[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
25+
Load Balancers created by the AWS Load Balancer Operator cannot be used for xref:../networking/ingress_load_balancing/routes/nw-configuring-routes.adoc#route-configuration[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
2626
====
2727

2828
The link:https://kubernetes-sigs.github.io/aws-load-balancer-controller/[AWS Load Balancer Controller] manages AWS Elastic Load Balancers for a {product-title} cluster. The controller provisions link:https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html[AWS Application Load Balancers (ALB)] when you create Kubernetes Ingress resources and link:https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html[AWS Network Load Balancers (NLB)] when implementing Kubernetes Service resources with a type of LoadBalancer.

cloud_experts_tutorials/cloud-experts-getting-started/cloud-experts-getting-started-openshift-concepts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ An individual route can override some defaults by providing specific configurati
127127
[role="_additional-resources"]
128128
.Additional resources
129129

130-
* xref:../../networking/ingress_load_balancing/routes/route-configuration.adoc#nw-route-specific-annotations_route-configuration[Route-specific annotations]
130+
* xref:../../networking/ingress_load_balancing/routes/nw-configuring-routes.adoc#nw-route-specific-annotations[Route-specific annotations]
131131

132132
[id="cloud-experts-getting-started-openshift-concepts-imagestreams"]
133133
== Image streams

modules/nw-creating-a-route.adoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
[id="nw-creating-a-route_{context}"]
77
= Creating an HTTP-based route
88

9-
Create a route to host your application at a public URL. The route can either be secure or unsecured, depending on the network security configuration of your application. An HTTP-based route is an unsecured route that uses the basic HTTP routing protocol and exposes a service on an unsecured application port.
9+
[role="_abstract"]
10+
You can use the following procedure to create a simple HTTP-based route to a web application, using the `hello-openshift` application as an example.
11+
12+
You can create a route to host your application at a public URL. The route can either be secure or unsecured, depending on the network security configuration of your application. An HTTP-based route is an unsecured route that uses the basic HTTP routing protocol and exposes a service on an unsecured application port.
1013

11-
The following procedure describes how to create a simple HTTP-based route to a web application, using the `hello-openshift` application as an example.
1214
//link:https://github.com/openshift/origin/tree/master/examples/hello-openshift[hello-openshift]
1315

1416
.Prerequisites
@@ -53,28 +55,29 @@ $ oc expose svc hello-openshift
5355
+
5456
[source,terminal]
5557
----
56-
$ oc get routes -o yaml <name of resource> <1>
58+
$ oc get routes -o yaml hello-openshift
5759
----
58-
<1> In this example, the route is named `hello-openshift`.
59-
60-
.Sample YAML definition of the created unsecured route
60+
+
61+
.Example YAML definition of the created unsecured route
6162
[source,yaml]
6263
----
6364
apiVersion: route.openshift.io/v1
6465
kind: Route
6566
metadata:
6667
name: hello-openshift
6768
spec:
68-
host: www.example.com <1>
69+
host: www.example.com
6970
port:
70-
targetPort: 8080 <2>
71+
targetPort: 8080
7172
to:
7273
kind: Service
7374
name: hello-openshift
7475
----
75-
<1> The `host` field is an alias DNS record that points to the service. This field can be any valid DNS name, such as `www.example.com`. The DNS name must follow DNS952 subdomain conventions. If not specified, a route name is automatically generated.
76-
<2> The `targetPort` field is the target port on pods that is selected by the service that this route points to.
76+
+
77+
where:
7778
79+
`host`:: Specifies an alias DNS record that points to the service. This field can be any valid DNS name, such as `www.example.com`. The DNS name must follow DNS952 subdomain conventions. If not specified, a route name is automatically generated.
80+
`targetPort`:: Specifies the target port on pods that is selected by the service that this route points to.
7881
+
7982
[NOTE]
8083
====

modules/odc-deleting-applications-using-developer-perspective.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * applications/odc-deleting-applications.adoc
3+
// odc-deleting-applications.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="odc-deleting-applications-using-developer-perspective_{context}"]

0 commit comments

Comments
 (0)