Sign in

Check disk space

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

This command checks for the consumed disk space at the root.

  1. 1

    Get available disk space

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Process the output of df and extract the available disk space percentage.

    1
  2. 2

    Perform disk cleanup if needed

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Check the available disk space percentage against a threshold and if it drops below it then trigger disk cleanup.

    2
    1. 2.1

      Notify about disk space before cleaning up

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      2.1
      1. 2.1.1

        Post a message to a Slack channel

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

        Post the formatted message to a given Slack channel. Use the cred_label to get the right credentials stored in the backed.

        2.1.1
    2. 2.2

      Clean up disk

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      This command prunes all the unused images that bloat our storage. It does not touch the ones that are in use. Deletes stopped containers too.

      2.2
    3. 2.3

      Notify again after cleaning up the disk

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
      2.3
      1. 2.3.1

        Post a message to a Slack channel

        There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

        Post the formatted message to a given Slack channel. Use the cred_label to get the right credentials stored in the backed.

        2.3.1