Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-995

Explore options for log rotation

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • Workbench 1.2.0
    • None
    • None
    • None
    • NDS Sprint 30, NDS Sprint 33, NDS Sprint 34, NDS Sprint 35

      We know we have problems with Docker logs in long-running containers. We need to define/implement a strategy for log rotation or truncation either via Docker or Kubernetes.

      Figure out the best solution and if possible implement in ndslabs-startup and deploy-tools. (Best effort task)

      docker ps | grep nginx-ingress
      # get container ID
      su -
      cd /var/lib/docker/containers/containerId*
      # File containerid-json.log 
      

      Either through rotation or truncation, confirm that the log is rotated or truncated.

      Completion criteria:

      • Confluence page documenting the options and decisions
      • Review meeting with the team to discuss
      • Implement ndslabs-startup and deploy-tools repos (PRs)
      • Review

      See also:

              willis8 Craig Willis
              willis8 Craig Willis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day, 4 hours
                  1d 4h
                  Remaining:
                  Remaining Estimate - 1 day, 4 hours
                  1d 4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified