Enable Section Summary TOC for small pages

This commit is contained in:
spencergibb
2023-09-19 13:10:01 -04:00
parent 7c5f582490
commit 2e4d529f30
9 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
[appendix]
[[common-application-properties]]
= Common application properties
:page-section-summary-toc: 1
Various properties can be specified inside your `application.properties` file, inside your `application.yml` file, or as command line switches.

View File

@@ -1,5 +1,6 @@
[[kubernetes-native-service-discovery]]
= Kubernetes native service discovery
:page-section-summary-toc: 1
Kubernetes itself is capable of (server side) service discovery (see: https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services).
Using native kubernetes service discovery ensures compatibility with additional tooling, such as Istio (https://istio.io), a service mesh that is capable of load balancing, circuit breaker, failover, and much more.

View File

@@ -1,5 +1,6 @@
[[examples]]
= Examples
:page-section-summary-toc: 1
Spring Cloud Kubernetes tries to make it transparent for your applications to consume Kubernetes Native Services by
following the Spring Cloud interfaces.

View File

@@ -1,5 +1,6 @@
[[info-contributor]]
= Info Contributor
:page-section-summary-toc: 1
Spring Cloud Kubernetes includes an `InfoContributor` which adds Pod information to
Spring Boot's `/info` Acturator endpoint.

View File

@@ -1,5 +1,6 @@
[[other-resources]]
= Other Resources
:page-section-summary-toc: 1
This section lists other resources, such as presentations (slides) and videos about Spring Cloud Kubernetes.

View File

@@ -1,5 +1,6 @@
[[pod-health-indicator]]
= Pod Health Indicator
:page-section-summary-toc: 1
Spring Boot uses https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthEndpoint.java[`HealthIndicator`] to expose info about the health of an application.
That makes it really useful for exposing health-related information to the user and makes it a good fit for use as https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/[readiness probes].

View File

@@ -1,5 +1,6 @@
[[kubernetes-propertysource-implementations]]
= Kubernetes PropertySource implementations
:page-section-summary-toc: 1
The most common approach to configuring your Spring Boot application is to create an `application.properties` or `application.yaml` or
an `application-profile.properties` or `application-profile.yaml` file that contains key-value pairs that provide customization values to your

View File

@@ -1,5 +1,6 @@
[[order_of_configMaps_and_secrets]]
= Order of ConfigMaps and Secrets
:page-section-summary-toc: 1
If, for whatever reason, you enabled both configmaps and secrets, and there is a common property between them, the value from the ConfigMap will have a higher precedence. That is: it will override whatever values are found in secrets.

View File

@@ -1,5 +1,6 @@
[[service-registry-implementation]]
= Service Registry Implementation
:page-section-summary-toc: 1
In Kubernetes service registration is controlled by the platform, the application itself does not control
registration as it may do in other platforms. For this reason using `spring.cloud.service-registry.auto-registration.enabled`