* 0001-use-local-bpf2go.patch
* 0002-change-data-path.patch
* 0003-Bump-x-net.patch
- Update to version 0.11.3
* Security: CVE-2025-58190 Fix excessive memory consumption by
`html.ParseFragment` when processing specially crafted input
(bsc#1251632)
* Security: CVE-2025-47911 Fix various algorithms with quadratic
complexity when parsing HTML documents (bsc#1251427)
- Update to version 0.11.2
* Fix: Fix node power metrics for Virtual Machines.
* Fix: Resolve an issue with pod energy metrics when a
container has no usage.
- Update to version 0.11.1
* Fix: Added missing serviceaccount in the Helm chart.
- Update to version 0.11.0
* Feature: Added support for platform power metrics (AC).
* Feature: Introduced experimental support for trained power
models.
* Fix: Improved the accuracy of power estimation for Virtual
Machines.
* Breaking Change: Metrics related to `kepler_vm_` have been
refactored.
- Update to version 0.10.1
* Feature: Added support for the ARM64 architecture.
* Fix: Addressed issues when running on Virtual Machines
without RAPL.
* Fix: Includes several other bug fixes and stability
improvements.
- Update to version 0.10.0
* Breaking Change: This is a major rewrite with significant
architectural changes.
* Breaking Change: Legacy versions (0.9.0 and earlier) are
now frozen, with no new features or bug fixes.
* Breaking Change: The configuration format has been updated.
* Breaking Change: The Kepler Model Server is not compatible
with this version and above.
* Feature: New modular architecture for better extensibility.
* Feature: Enhanced performance and accuracy with dynamic
detection of RAPL zones.
* Feature: Reduced security requirements, no longer needing
CAP_SYS_ADMIN or CAP_BPF capabilities.
* Fix: Significantly reduced resource usage.
- Update to version 0.9.0
* Note: This is the final legacy release.
* Feature: Added support for GPU power monitoring.
* Feature: Introduced a model server for training power models.
- Update to version 0.8.2
* Fix: Addressed a bug in RAPL power calculation on
multi-socket systems.
- Update to version 0.8.1
* Fix: This version includes multiple bug fixes and
stability improvements.
- Update to version 0.8.0
* Feature: Introduced a new estimator framework.
* Breaking Change: The API is backward incompatible with
previous versions.
- Update to version 0.7.12
* Fix: This version includes multiple bug fixes and
stability improvements.
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/kepler?expand=0&rev=5
79 lines
2.1 KiB
RPMSpec
79 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package kepler
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: kepler
|
|
Version: 0.11.3
|
|
Release: 0
|
|
Summary: Kubernetes-based Efficient Power Level Exporter
|
|
License: Apache-2.0 AND (BSD-2-Clause OR GPL-2.0-only) AND GPL-2.0-only
|
|
Group: System/Monitoring
|
|
URL: https://github.com/sustainable-computing-io/kepler/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
Source2: kepler.service
|
|
|
|
BuildRequires: clang
|
|
BuildRequires: llvm
|
|
BuildRequires: llvm-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: golang(API) >= 1.24
|
|
Recommends: cpuid
|
|
%{?systemd_ordering}
|
|
|
|
%description
|
|
Kubernetes-based Efficient Power Level Exporter
|
|
|
|
%prep
|
|
%setup -a1 -n kepler-%{version}
|
|
|
|
%build
|
|
%ifnarch ppc64
|
|
export GOFLAGS="-buildmode=pie"
|
|
%endif
|
|
go build -o %{name} ./cmd/kepler
|
|
|
|
%install
|
|
install -d %{buildroot}%{_sysconfdir}/%{name}
|
|
|
|
install -D -m755 ./%{name} %{buildroot}%{_bindir}/%{name}
|
|
install -D -m644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
|
|
install -m644 ./hack/config.yaml %{buildroot}%{_sysconfdir}/%{name}/config.yaml
|
|
|
|
%pre
|
|
%service_add_pre %{name}.service
|
|
|
|
%post
|
|
%service_add_post %{name}.service
|
|
|
|
%preun
|
|
%service_del_preun %{name}.service
|
|
|
|
%postun
|
|
%service_del_postun %{name}.service
|
|
|
|
%files
|
|
%license LICENSES/Apache-2.0.txt
|
|
%license LICENSES/BSD-2-Clause.txt
|
|
%license LICENSES/GPL-2.0-only.txt
|
|
%dir /%{_sysconfdir}/%{name}
|
|
%config(noreplace) /%{_sysconfdir}/%{name}/config.yaml
|
|
%{_bindir}/%{name}
|
|
%{_unitdir}/%{name}.service
|
|
|
|
%changelog
|