Skip to content

feat(monitor): add ephemeral storage charge threshold monitoring#6598

Merged
bxy4543 merged 1 commit intolabring:mainfrom
bxy4543:ephemeralStorageMonitor
Feb 2, 2026
Merged

feat(monitor): add ephemeral storage charge threshold monitoring#6598
bxy4543 merged 1 commit intolabring:mainfrom
bxy4543:ephemeralStorageMonitor

Conversation

@bxy4543
Copy link
Member

@bxy4543 bxy4543 commented Jan 26, 2026

Add support for monitoring and charging ephemeral storage usage beyond a configurable threshold. Pods with ephemeral storage exceeding the threshold (default 10Gi) will be charged for the excess amount.

Changes:

  • Add EPHEMERAL_STORAGE_CHARGE_THRESHOLD environment variable (default: 10Gi)
  • Track ephemeral storage usage per pod from container limits/requests
  • Apply threshold deduction and charge only for excess usage
  • Aggregate ephemeral storage charges into Storage resource metrics

🤖 Generated with Claude Code

@bxy4543 bxy4543 requested a review from a team as a code owner January 26, 2026 11:17
@bxy4543 bxy4543 added this to the v5.2 milestone Jan 26, 2026
Add support for monitoring and charging ephemeral storage usage beyond a configurable threshold. Pods with ephemeral storage exceeding the threshold (default 10Gi) will be charged for the excess amount.

Changes:
- Add EPHEMERAL_STORAGE_CHARGE_THRESHOLD environment variable (default: 10Gi)
- Track ephemeral storage usage per pod from container limits/requests
- Apply threshold deduction and charge only for excess usage
- Aggregate ephemeral storage charges into Storage resource metrics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	controllers/resources/controllers/monitor_controller.go
@bxy4543 bxy4543 force-pushed the ephemeralStorageMonitor branch from 8286796 to 67a0169 Compare February 2, 2026 02:39
@bxy4543 bxy4543 merged commit 5bd384e into labring:main Feb 2, 2026
13 of 14 checks passed
@bxy4543 bxy4543 deleted the ephemeralStorageMonitor branch February 2, 2026 02:44
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

🤖 says: cherry pick action finished successfully 🎉!
See: https://github.com/labring/sealos/actions/runs/21575537903

github-actions bot pushed a commit that referenced this pull request Feb 2, 2026
Add support for monitoring and charging ephemeral storage usage beyond a configurable threshold. Pods with ephemeral storage exceeding the threshold (default 10Gi) will be charged for the excess amount.

Changes:
- Add EPHEMERAL_STORAGE_CHARGE_THRESHOLD environment variable (default: 10Gi)
- Track ephemeral storage usage per pod from container limits/requests
- Apply threshold deduction and charge only for excess usage
- Aggregate ephemeral storage charges into Storage resource metrics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	controllers/resources/controllers/monitor_controller.go
bxy4543 added a commit that referenced this pull request Feb 2, 2026
feat(monitor): add ephemeral storage charge threshold monitoring (#6598)

Add support for monitoring and charging ephemeral storage usage beyond a configurable threshold. Pods with ephemeral storage exceeding the threshold (default 10Gi) will be charged for the excess amount.

Changes:
- Add EPHEMERAL_STORAGE_CHARGE_THRESHOLD environment variable (default: 10Gi)
- Track ephemeral storage usage per pod from container limits/requests
- Apply threshold deduction and charge only for excess usage
- Aggregate ephemeral storage charges into Storage resource metrics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	controllers/resources/controllers/monitor_controller.go

Co-authored-by: Jiahui <4543bxy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants