Enabling and disabling automatic pod removal
Bamboo can automatically delete a pod after an agent completes its work. Removing completed pods ensures that the health status of the cluster is reflected accurately and reduces the risk of unauthorized access to sensitive information stored in a pod’s log files or environment variables.
You can enable or disable this behavior at any time. You can also configure the delay between two consecutive pod removal operations.
Before you begin
If you want to enable automatic pod removal, enable support for ephemeral agents first.
Steps
To enable or disable automatic pod removal:
- In the upper-right corner of the screen, selectAdministration> Overview.
- From the menu on the Bamboo administration page, under Ephemeral agents, select Configuration.
Under General, select the Enabled checkbox.
Under Pod removal, do the following:
If you want to enable automatic pod removal, select the Enabled checkbox.
If you want to disable automatic pod removal, clear the Enabled checkbox.
In the Delay field, enter the time in seconds Bamboo should wait between two consecutive pod removal operations.