Skip to content

Commit db4a434

Browse files
authored
Merge pull request #39903 from abrennan89/SRVCOM-1580-2
SRVCOM-1580: Update serverless docs structure
2 parents 534fc79 + b3b34f3 commit db4a434

23 files changed

+87
-47
lines changed

_topic_maps/_topic_map.yml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,16 +3119,15 @@ Name: Serverless
31193119
Dir: serverless
31203120
Distros: openshift-enterprise
31213121
Topics:
3122-
# Release notes
31233122
- Name: Release Notes
31243123
File: serverless-release-notes
3125-
# Support
3126-
- Name: Support
3127-
File: serverless-support
3128-
# Intro / getting started
3129-
- Name: Getting started
3130-
File: serverless-getting-started
3131-
# Installing
3124+
- Name: Discover
3125+
Dir: discover
3126+
Topics:
3127+
- Name: Understanding Knative Eventing
3128+
File: serverless-understanding-eventing
3129+
- Name: Understanding Knative Serving
3130+
File: serverless-understanding-serving
31323131
- Name: Install
31333132
Dir: install
31343133
Topics:
@@ -3138,10 +3137,35 @@ Topics:
31383137
File: installing-knative-serving
31393138
- Name: Installing Knative Eventing
31403139
File: installing-knative-eventing
3141-
- Name: Upgrading the OpenShift Serverless Operator
3142-
File: upgrading-serverless
31433140
- Name: Removing OpenShift Serverless
31443141
File: removing-openshift-serverless
3142+
- Name: Get started
3143+
File: serverless-getting-started
3144+
- Name: Update
3145+
Dir: update
3146+
Topics:
3147+
- Name: Upgrading the OpenShift Serverless Operator
3148+
File: upgrading-serverless
3149+
# develop
3150+
# administer
3151+
- Name: Monitor
3152+
Dir: monitor
3153+
Topics:
3154+
# logging
3155+
- Name: Cluster logging with OpenShift Serverless
3156+
File: cluster-logging-serverless
3157+
# Tracing
3158+
- Name: Tracing requests using Jaeger
3159+
File: serverless-tracing
3160+
# monitoring services
3161+
- Name: Monitoring Knative services
3162+
File: serverless-service-monitoring
3163+
# Metrics
3164+
- Name: Metrics
3165+
File: serverless-serving-metrics
3166+
# Support
3167+
- Name: Support
3168+
File: serverless-support
31453169
# Admin guide
31463170
- Name: Administration guide
31473171
Dir: admin_guide
@@ -3179,35 +3203,18 @@ Topics:
31793203
File: serverless-custom-domains
31803204
- Name: Using a custom TLS certificate for domain mapping
31813205
File: serverless-custom-tls-cert-domain-mapping
3182-
#
3183-
# TODO: Add developer guide
3184-
#
31853206
# Knative Serving
31863207
- Name: Knative Serving
31873208
Dir: knative_serving
31883209
Topics:
3189-
# Understanding serving
3190-
- Name: Understanding Knative Serving
3191-
File: serverless-understanding-serving
31923210
# Knative services
31933211
- Name: Serverless applications
31943212
File: serverless-applications
31953213
- Name: Traffic management
31963214
File: serverless-traffic-management
3197-
- Name: Cluster logging with OpenShift Serverless
3198-
File: cluster-logging-serverless
3199-
# Tracing
3200-
- Name: Tracing requests using Jaeger
3201-
File: serverless-tracing
32023215
# Routes
32033216
- Name: Configuring routes for Knative services
32043217
File: serverless-configuring-routes
3205-
- Name: Monitoring Knative services
3206-
File: serverless-service-monitoring
3207-
# Metrics
3208-
- Name: Metrics
3209-
File: serverless-serving-metrics
3210-
#
32113218
# Autoscaling
32123219
- Name: Autoscaling
32133220
Dir: autoscaling
@@ -3220,14 +3227,10 @@ Topics:
32203227
File: serverless-autoscaling-concurrency
32213228
- Name: Autoscaling dashboard
32223229
File: serverless-autoscaling-dashboard
3223-
#
32243230
# Knative Eventing
32253231
- Name: Knative Eventing
32263232
Dir: knative_eventing
32273233
Topics:
3228-
# Understanding eventing
3229-
- Name: Understanding Knative Eventing
3230-
File: serverless-understanding-eventing
32313234
# Event sinks
32323235
- Name: Event sinks
32333236
File: serverless-event-sinks
@@ -3271,7 +3274,6 @@ Topics:
32713274
File: serverless-subs
32723275
- Name: Configuring channel defaults
32733276
File: serverless-configuring-channels
3274-
#
32753277
# Functions
32763278
- Name: Functions
32773279
Dir: functions
@@ -3308,7 +3310,6 @@ Topics:
33083310
Topics:
33093311
- Name: Using NVIDIA GPU resources with serverless applications
33103312
File: gpu-resources
3311-
#
33123313
# CLI tools
33133314
- Name: CLI tools
33143315
Dir: cli_tools

modules/cluster-logging-about.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
//
33
// * virt/logging_events_monitoring/virt-openshift-cluster-monitoring.adoc
44
// * logging/cluster-logging.adoc
5-
// * serverless/knative_serving/cluster-logging-serverless.adoc
5+
// * serverless/monitor/cluster-logging-serverless.adoc
66

77
// This module uses conditionalized paragraphs so that the module
88
// can be re-used in associated products.
99

10-
1110
[id="cluster-logging-about_{context}"]
1211
= About deploying OpenShift Logging
1312

modules/serverless-jaeger-config.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-tracing.adoc
4+
15
[id="serverless-jaeger-config_{context}"]
26
= Configuring Jaeger for use with {ServerlessProductName}
37

@@ -22,6 +26,7 @@ metadata:
2226
name: jaeger
2327
namespace: default
2428
----
29+
2530
. Enable tracing for Knative Serving, by editing the `KnativeServing` CR and adding a YAML configuration for tracing:
2631
+
2732
.Tracing YAML example
@@ -63,4 +68,5 @@ $ oc get route jaeger
6368
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
6469
jaeger jaeger-default.apps.example.com jaeger-query <all> reencrypt None
6570
----
71+
6672
. Open the endpoint address in your browser to view the console.

modules/serverless-monitoring-services-configuration-scraping.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-service-monitoring.adoc
4+
15
[id="serverless-monitoring-services-configuration-scraping_{context}"]
26
= Configuration for scraping custom metrics
37

modules/serverless-monitoring-services-custom-metrics.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-service-monitoring.adoc
4+
15
[id="serverless-monitoring-services-custom-metrics_{context}"]
26
= Knative service with custom application metrics
37

modules/serverless-monitoring-services-default-metrics.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-service-monitoring.adoc
4+
15
[id="serverless-monitoring-services-default-metrics_{context}"]
26
= Knative service metrics exposed by default
37

modules/serverless-monitoring-services-examining-metrics-dashboard.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-service-monitoring.adoc
4+
15
[id="serverless-monitoring-services-examining-metrics-dashboard_{context}"]
26
= Examining metrics of a service in the dashboard
37

modules/serverless-monitoring-services-examining-metrics.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-service-monitoring.adoc
4+
15
[id="serverless-monitoring-services-examining-metrics_{context}"]
26
= Examining metrics of a service
37

modules/serverless-queue-proxy-metrics.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module is included in the following assemblies:
2+
//
3+
// * serverless/monitor/serverless-serving-metrics.adoc
4+
15
[id="serverless-queue-proxy-metrics_{context}"]
26
= Queue proxy metrics
37

modules/serverless-using-cluster-logging-find-logs-knative-serving-components.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// serverless/cluster-logging-serverless.adoc
3+
// * serverless/monitor/cluster-logging-serverless.adoc
44

55
[id="using-cluster-logging-to-find-logs-for-knative-serving-components_{context}"]
66
= Using OpenShift Logging to find logs for Knative Serving components
@@ -13,8 +13,11 @@
1313
----
1414
$ oc -n openshift-logging get route kibana
1515
----
16+
1617
. Use the route's URL to navigate to the Kibana dashboard and log in.
18+
1719
. Check that the index is set to *.all*. If the index is not set to *.all*, only the {product-title} system logs will be listed.
20+
1821
. Filter the logs by using the `knative-serving` namespace. Enter `kubernetes.namespace_name:knative-serving` in the search box to filter results.
1922

2023
[NOTE]

0 commit comments

Comments
 (0)