K8 Configuration
To configure the Holding Microservice Health Check in K8, following are the steps to configure in values.yaml and holdings-api-configmap.yml (Configurations are enabled by default from the Product Team):
API Container
Holdings Microservices expose API health check endpoint to monitor the health of Microservice APIs.
Set the environment variable className_getHealthCheck and port to enable API health check.
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "holdings.name" . }}{{ "-api-config" }}
labels:
app.kubernetes.io/name: {{ include "holdings.name" . }}{{ "-api-config" }}
.
.
data:
.
.
className_getHealthCheck: com.temenos.microservice.framework.core.health.GetHealthCheckImpl
holdingsapi: type: LoadBalancer name: http protocol: TCP port: 8302
Ingester Container
Holdings Microservices expose Ingester health check endpoint to monitor the health of Microservice APIs.
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "holdings.name" . }}{{ "-transact-ingester" }}
labels:
app.kubernetes.io/name: holdings
helm.sh/chart: {{ include "holdings.chart" . }}
.
.
data:
.
.
healthcheck.base.path: ms-holdings-data-ingester
holdingst24ingester: type: LoadBalancer port: 12504
In this topic