Skip to main content
This document provides a bash script to periodically monitor the thread counts of Apinizer pods running in a Kubernetes environment.

Script Creation

Create the script file:

Script Content

Making Script Executable

Manual Usage

If you want to use it manually, you can run it with the following command:

Automatic Execution (Cron)

If you wish, you can ensure that the script runs at a specific time or time period. Cron can be used for this.
Add the line below to the opened file. In the example usage, the script will run every 5 minutes.