NDS-440 - Getting issue details... STATUS

 

Options

  • Add last login timestamp to account. This is an acceptable short-term solution, but won't allow us to track activity against the actual application. 
  • Add last accessed timestamp to stack, but unclear how to detect last activity
    • Monitor ingress access logs
    • Use ss or similar to monitor network connections on system. 

 

Activity monitor

Regardless of the method, will need some component that can run, monitor activity and, if appropriate, initiate shutdown. This will likely run in the API server pod to have direct access to the API.

 

 

 

  • Standalone servie
  • Configurable duration per profile, with reasonable default
  • For each account or stackId in etcd
  • Read last activity time
  • If now - last activity time > account.service limit
    • Initiate shutdown
  • This could very easily work from API server using shared key
  • No labels