Skip to content

Cannot create PVC for ORDS access logs and missing retention policy support #223

@smithmiro7-ui

Description

@smithmiro7-ui

I couldn’t find a dedicated place to submit feature requests, so I’m posting it here.

Based on our company policy, we are required to retain logs for 3 months. When running ORDS in a VM environment, our access logs grow to approximately 50 GB per month (we handle millions of requests per day).

Currently, there is no built-in way to control log retention, and there is also no clear support for using persistent storage for access logs in containerized environments.

Requested Features:

Log Retention Policy

Add a configuration option (e.g., retention flag/setting) for ORDS access logs

Allow automatic cleanup or rotation based on a defined retention period (e.g., 3 months)

PVC Support for Access Logs

Enable configuration to store ORDS access logs on a Persistent Volume Claim (PVC)

This is required for Kubernetes deployments to ensure logs are persisted and managed outside the container lifecycle

Use Case:

Retain logs for a fixed duration (e.g., 3 months)

Automatically delete or rotate older logs

Persist logs reliably in Kubernetes environments using PVCs

Prevent excessive disk usage in high-traffic systems

Concerns:
Ephemeral storage may fill up quickly due to large access logs (today, we use resource limits range to avoid this type of problem (CPU, RAM, and ephemeral storage).

Disk pressure on worker nodes could lead to pod eviction or instability (cluster wide effect)

Potential impact on other workloads running on the same nodes

Metadata

Metadata

Labels

OrdsSrvsOrdsSrvs controller

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions