Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 904 Bytes

Automatic_Session_Deletion_with_sessionTTL.md

File metadata and controls

21 lines (11 loc) · 904 Bytes

Automatic Session Deletion with sessionTTL

By default, when a session completes, the Configuration Framework Service (CFS) will delete sessions and Kubernetes jobs associated with the session when the start date was more than seven days prior. This is done to ensure CFS sessions do not accumulate and eventually adversely affect the performance of the Kubernetes cluster.

For larger systems or systems that do frequent reboots of nodes that are configured with CFS sessions, this setting may need to be reduced.

Update the sessionTTL using the following command:

ncn# cray cfs options update --session-ttl 24h

[ ... output removed ...]

sessionTTL = "24h"

To disable the sessionTTL feature, use --session-ttl "" in the command above.

Important: The sessionTTL option deletes all completed sessions that meet the TTL criteria, regardless of if they were successful.