diff --git a/multi/multi__kubernetes_ecosystem_awareness.html b/multi/multi__kubernetes_ecosystem_awareness.html new file mode 100644 index 00000000..c8c14f70 --- /dev/null +++ b/multi/multi__kubernetes_ecosystem_awareness.html @@ -0,0 +1,14 @@ +
+ +All of the features described above will work equally well regardless of whether your application is running inside
+Kubernetes or not. This is really helpful for development and troubleshooting.
+From a development point of view, this is really helpful as you can start your Spring Boot application and debug one
+of the modules part of this project. It is not required to deploy it in Kubernetes
+as the code of the project relies on the
+Fabric8 Kubernetes Java client which is a fluent DSL able to
+communicate using http protocol to the REST API of Kubernetes Server.
When the application runs as a pod inside Kubernetes a Spring profile named kubernetes will automatically get activated.
+This allows the developer to customize the configuration, to define beans that will be applied when the Spring Boot application is deployed
+within the Kubernetes platform (e.g. different dev and prod configuration).
When including the spring-cloud-kubernetes-istio module into the application classpath a new profile will be added to the application, +if the application is running inside a Kubernetes Cluster with Istio installed. Then you can use +spring @Profile("istio") annotations into your Beans and @Configuration's.
The Istio awareness module uses the me.snowdrop:istio-client to interact with Istio APIs enabling us to discover traffic rules, circuit breakers, etc. +Making it easy for our Spring Boot applications to consume this data to dynamically configure themselves according the environment.
Spring Boot uses HealthIndicator to expose info about the health of an application. -That makes it really useful for exposing health related information to the user and are also a good fit for use as readiness probes.
The Kubernetes health indicator which is part of the core module exposes the following info:
Spring Boot uses HealthIndicator to expose info about the health of an application. +That makes it really useful for exposing health related information to the user and are also a good fit for use as readiness probes.
The Kubernetes health indicator which is part of the core module exposes the following info: