Skip to content

Releases: eferro/k8s-memory-watch

Release v0.2.0

10 Sep 07:09

Choose a tag to compare

Release Notes v0.1.3: Code Quality and Refactoring Improvements

Changes in v0.1.3

πŸš€ Code Quality Improvements

  • refactor(monitor): Eliminate code duplication in PrintCSV function
    • Extracted buildCSVRecord and buildCSVRecordForPod helper functions
    • Reduced PrintCSV function from ~130 lines to ~60 lines (53% reduction)
    • Eliminated 74+ lines of duplicated CSV record building code
    • Single source of truth for CSV format established
    • Improved maintainability and test coverage

πŸ› οΈ CI/CD Improvements

  • ci(lint): Disable gocyclo and errcheck to avoid failing on complexity in CI
  • ci: Bump GitHub Actions to latest major versions (checkout@v4, setup-go@v5, upload/download-artifact@v4)
  • ci: Fix deprecated set-output commands in GitHub Actions workflows
  • ci: Trigger workflows automatically

πŸ“‹ Documentation

  • docs: Add comprehensive improvement plan with task tracking system
  • docs: Plan for future refactoring and code quality improvements

πŸ§ͺ Testing

  • test: Increased test coverage from 54.0% to 56.3%
  • test: Added comprehensive tests for CSV helper functions
  • test: All existing functionality preserved with no behavioral changes

This release focuses on code quality improvements and technical debt reduction while maintaining full backward compatibility.

Installation

Download the appropriate binary for your platform from the assets below.

Linux/macOS

# Download binary
curl -L -o k8s-memory-watch https://github.com/eferro/k8s-memory-watch/releases/download/v0.1.3/k8s-memory-watch-linux-amd64
chmod +x k8s-memory-watch
sudo mv k8s-memory-watch /usr/local/bin/

Windows

Download k8s-memory-watch-windows-amd64.exe and add it to your PATH.

What's Changed

  • Refactor container memory processing by @eferro in #1
  • Refactor resource aggregation in pod memory processing by @eferro in #2
  • Refactor pod usage calculation into helper by @eferro in #3
  • Refactor container formatting into helper by @eferro in #4
  • Extract pod base formatter by @eferro in #5
  • test(monitor): cover annotation truncation by @eferro in #6
  • refactor config and monitor complexity by @eferro in #7

New Contributors

  • @eferro made their first contribution in #1

Full Changelog: v0.1.3...v0.2.0

Release v0.1.4

08 Sep 17:39

Choose a tag to compare

Release Notes v0.1.3: Code Quality and Refactoring Improvements

Changes in v0.1.3

πŸš€ Code Quality Improvements

  • refactor(monitor): Eliminate code duplication in PrintCSV function
    • Extracted buildCSVRecord and buildCSVRecordForPod helper functions
    • Reduced PrintCSV function from ~130 lines to ~60 lines (53% reduction)
    • Eliminated 74+ lines of duplicated CSV record building code
    • Single source of truth for CSV format established
    • Improved maintainability and test coverage

πŸ› οΈ CI/CD Improvements

  • ci(lint): Disable gocyclo and errcheck to avoid failing on complexity in CI
  • ci: Bump GitHub Actions to latest major versions (checkout@v4, setup-go@v5, upload/download-artifact@v4)
  • ci: Fix deprecated set-output commands in GitHub Actions workflows
  • ci: Trigger workflows automatically

πŸ“‹ Documentation

  • docs: Add comprehensive improvement plan with task tracking system
  • docs: Plan for future refactoring and code quality improvements

πŸ§ͺ Testing

  • test: Increased test coverage from 54.0% to 56.3%
  • test: Added comprehensive tests for CSV helper functions
  • test: All existing functionality preserved with no behavioral changes

This release focuses on code quality improvements and technical debt reduction while maintaining full backward compatibility.

Installation

Download the appropriate binary for your platform from the assets below.

Linux/macOS

# Download binary
curl -L -o k8s-memory-watch https://github.com/eferro/k8s-memory-watch/releases/download/v0.1.3/k8s-memory-watch-linux-amd64
chmod +x k8s-memory-watch
sudo mv k8s-memory-watch /usr/local/bin/

Windows

Download k8s-memory-watch-windows-amd64.exe and add it to your PATH.

Full Changelog: v0.1.2...v0.1.4

Release v0.1.3

08 Sep 17:40

Choose a tag to compare

Release Notes v0.1.3: Code Quality and Refactoring Improvements

Changes in v0.1.3

πŸš€ Code Quality Improvements

  • refactor(monitor): Eliminate code duplication in PrintCSV function
    • Extracted buildCSVRecord and buildCSVRecordForPod helper functions
    • Reduced PrintCSV function from ~130 lines to ~60 lines (53% reduction)
    • Eliminated 74+ lines of duplicated CSV record building code
    • Single source of truth for CSV format established
    • Improved maintainability and test coverage

πŸ› οΈ CI/CD Improvements

  • ci(lint): Disable gocyclo and errcheck to avoid failing on complexity in CI
  • ci: Bump GitHub Actions to latest major versions (checkout@v4, setup-go@v5, upload/download-artifact@v4)
  • ci: Fix deprecated set-output commands in GitHub Actions workflows
  • ci: Trigger workflows automatically

πŸ“‹ Documentation

  • docs: Add comprehensive improvement plan with task tracking system
  • docs: Plan for future refactoring and code quality improvements

πŸ§ͺ Testing

  • test: Increased test coverage from 54.0% to 56.3%
  • test: Added comprehensive tests for CSV helper functions
  • test: All existing functionality preserved with no behavioral changes

This release focuses on code quality improvements and technical debt reduction while maintaining full backward compatibility.

Installation

Download the appropriate binary for your platform from the assets below.

Linux/macOS

# Download binary
curl -L -o k8s-memory-watch https://github.com/eferro/k8s-memory-watch/releases/download/v0.1.3/k8s-memory-watch-linux-amd64
chmod +x k8s-memory-watch
sudo mv k8s-memory-watch /usr/local/bin/

Windows

Download k8s-memory-watch-windows-amd64.exe and add it to your PATH.

Full Changelog: v0.1.4...v0.1.3

Release v0.1.0

08 Sep 14:57

Choose a tag to compare

Changes in v0.1.0

  • feat: per-container analysis and output; show pod Limits/Requests state; filter High/Warning to All-limited pods; CSV per-container; compute pod limits only if all containers have them
  • chore: ignore local kubeconfig files
  • docs: add installation and releases sections to README\nci: trigger release on Auto Version completion or manual dispatch; build and upload multi-platform binaries; generate checksums; fix repository URLs
  • fix: add contents write permission to auto-version workflow
  • fix: resolve CI/CD pipeline issues and linting errors
  • feat: add automated release and versioning system
  • feat: add memory_status column to CSV output for analysis
  • feat: add CSV output format for statistical analysis
  • feat: add selective labels and annotations display
  • Add pod state information for better diagnostics
  • Add grey symbol for pods without memory metrics
  • Convert Spanish content to English in examples
  • Add comprehensive CLI usage examples and documentation
  • Add command line interface with namespace filtering
  • Show detailed memory info for all pods
  • Implement Kubernetes memory monitoring functionality
  • Add modern Go project structure for K8s memory monitoring
  • Initial setup: Language-agnostic AI agent development rules

Installation

Download the appropriate binary for your platform from the assets below.

Linux/macOS

# Download binary
curl -L -o k8s-memory-watch https://github.com/eferro/k8s-memory-watch/releases/download/v0.1.0/k8s-memory-watch-linux-amd64
chmod +x k8s-memory-watch
sudo mv k8s-memory-watch /usr/local/bin/

Windows

Download k8s-memory-watch-windows-amd64.exe and add it to your PATH.