Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# Configuring Probes in Kubernetes

In Kubernetes, health checks are performed by configuring liveness probes or readiness probes. The liveness probes indicate when to restart a container and the readiness probes are used to know when a container can start accepting traffic. The HTTP endpoint in ActiveMatrix Service Grid - Container Edition application is used to configure readiness probes in Kubernetes. The endpoint must be accessed only after the application is started.

## Setting Up Liveness Probe

To view the liveness of an application, you must add the liveness probe in the manifest file. For more information, see "Configure Liveness and Readiness Probes" in Kubernetes documentation.

    livenessProbe:httpGet:path: /status/healthzport: 9998

## Setting Up Readiness Probe

To view the readiness of an application, you must add the readiness probe in the manifest file. For more information, see "Configure Liveness and Readiness Probes" in the Kubernetes documentation.

    readinessProbe:
    httpGet:path: /status/healthzport: liveness-port

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.