Octopus Deploy will by default keep all packages (NuGet, ZIP, …) as well as files deployed on all Tentacles. Because of that your hard drive will fill up very fast as you keep pushing in more packages and creating more releases, especially if you are using Continuous Integration and pushing out new packages with every commit to a repository.
That's why you need to set up a retention policy. Octopus Deploy supports two options:
- Retention policy for packages
- Retention policy for deployments (via Lifecycle phases)
You should set up both.
Package Policy
Bad Example - Retention policy is set to Keep forever
Good Example - Retention policy is set to a number of days
Lifecycle Policy
Bad Example - Lifecycle's retention policy is set to Keep all
Good Example - Lifecycle's retention policy is set to 3 Releases