2021-08-19 23:46:51 +03:00
|
|
|
Summary: Kubernetes daemon to detect and report node issues
|
|
|
|
Name: node-problem-detector
|
2024-03-20 03:13:41 +03:00
|
|
|
Version: 0.8.17
|
2024-09-13 22:44:56 +03:00
|
|
|
Release: 5%{?dist}
|
2021-08-19 23:46:51 +03:00
|
|
|
License: ASL 2.0
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
URL: https://github.com/kubernetes/node-problem-detector
|
2022-03-02 21:32:07 +03:00
|
|
|
Source0: https://github.com/kubernetes/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2022-09-02 02:52:46 +03:00
|
|
|
Patch0: 001-remove_arch_specific_makefile_logic.patch
|
|
|
|
Patch1: 002-add_mariner_OSVersion.patch
|
2024-03-21 00:35:07 +03:00
|
|
|
Patch2: CVE-2024-24786.patch
|
2024-05-01 21:19:03 +03:00
|
|
|
Patch3: CVE-2023-45288.patch
|
2021-08-19 23:46:51 +03:00
|
|
|
BuildRequires: golang
|
|
|
|
BuildRequires: systemd-devel
|
2022-09-02 02:52:46 +03:00
|
|
|
Requires: mariner-release
|
2022-06-01 22:18:44 +03:00
|
|
|
%if %{with_check}
|
|
|
|
BuildRequires: mariner-release
|
|
|
|
%endif
|
2021-08-19 23:46:51 +03:00
|
|
|
|
|
|
|
%description
|
|
|
|
node-problem-detector aims to make various node problems visible to the
|
|
|
|
upstream layers in the cluster management stack. It is a daemon that
|
|
|
|
runs on each node, detects node problems and reports them to apiserver.
|
|
|
|
|
|
|
|
%package config
|
|
|
|
Summary: Default configs for node-problem-detector
|
|
|
|
Requires: node-problem-detector
|
|
|
|
|
|
|
|
%description config
|
|
|
|
Default configuration files for node-problem-detector
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make_build build-binaries VERSION=%{version}
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}/
|
|
|
|
install -vdm 755 %{buildroot}/%{_bindir}
|
2022-09-02 02:52:46 +03:00
|
|
|
install -pm 755 output/linux/bin/node-problem-detector %{buildroot}%{_bindir}/
|
|
|
|
install -pm 755 output/linux/bin/health-checker %{buildroot}%{_bindir}/
|
|
|
|
install -pm 755 output/linux/bin/log-counter %{buildroot}%{_bindir}/
|
2021-08-19 23:46:51 +03:00
|
|
|
|
|
|
|
install -vdm 755 %{buildroot}%{_sysconfdir}/node-problem-detector.d
|
|
|
|
cp -R config %{buildroot}%{_sysconfdir}/node-problem-detector.d
|
|
|
|
|
|
|
|
chmod 755 %{buildroot}%{_sysconfdir}/node-problem-detector.d/config/plugin/check_ntp.sh
|
|
|
|
chmod 755 %{buildroot}%{_sysconfdir}/node-problem-detector.d/config/plugin/network_problem.sh
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%{_bindir}/node-problem-detector
|
|
|
|
%{_bindir}/health-checker
|
|
|
|
%{_bindir}/log-counter
|
|
|
|
|
|
|
|
%files config
|
|
|
|
%license LICENSE
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%config(noreplace) %{_sysconfdir}/node-problem-detector.d/*
|
|
|
|
|
|
|
|
%changelog
|
2024-09-13 22:44:56 +03:00
|
|
|
* Mon Sep 09 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.17-5
|
|
|
|
- Bump release to rebuild with go 1.22.7
|
|
|
|
|
2024-06-10 10:07:44 +03:00
|
|
|
* Thu Jun 06 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.17-4
|
|
|
|
- Bump release to rebuild with go 1.21.11
|
|
|
|
|
2024-05-01 21:19:03 +03:00
|
|
|
* Thu Apr 18 2024 Chris Gunn <chrisgun@microsoft.com> - 0.8.17-3
|
|
|
|
- Fix for CVE-2023-45288
|
|
|
|
|
|
|
|
* Wed Mar 20 2024 Henry Beberman <henry.beberman@microsoft.com> - 0.8.17-2
|
2024-03-21 00:35:07 +03:00
|
|
|
- Patch vendored protobuf CVE-2024-24786
|
|
|
|
|
2024-03-20 03:13:41 +03:00
|
|
|
* Mon Mar 18 2024 Henry Beberman <henry.beberman@microsoft.com> - 0.8.17-1
|
|
|
|
- Upgrading to v0.8.17
|
|
|
|
|
2024-02-14 20:25:19 +03:00
|
|
|
* Tue Feb 13 2024 Muhammad Falak <mwani@microsoft.com> - 0.8.10-20
|
2024-02-10 02:02:54 +03:00
|
|
|
- Bump release to rebuild with go 1.21.6
|
|
|
|
|
2024-02-14 20:25:19 +03:00
|
|
|
* Tue Feb 13 2024 Nan Liu <liunan@microsoft.com> - 0.8.10-19
|
|
|
|
- Patch CVE-2021-44716
|
|
|
|
|
2024-02-09 02:09:41 +03:00
|
|
|
* Mon Feb 05 2024 Tobias Brick <tobiasb@microsoft.com> - 0.8.10-18
|
|
|
|
- Patch CVE-2022-21698
|
|
|
|
|
2023-11-01 00:50:57 +03:00
|
|
|
* Mon Oct 16 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-17
|
2023-11-15 04:01:14 +03:00
|
|
|
- Bump release to rebuild with go 1.20.9
|
2023-11-01 00:50:57 +03:00
|
|
|
|
2023-10-13 00:22:26 +03:00
|
|
|
* Tue Oct 10 2023 Dan Streetman <ddstreet@ieee.org> - 0.8.10-16
|
|
|
|
- Bump release to rebuild with updated version of Go.
|
|
|
|
|
2023-08-16 07:45:25 +03:00
|
|
|
* Mon Aug 07 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-15
|
|
|
|
- Bump release to rebuild with go 1.19.12
|
|
|
|
|
2023-07-13 23:55:07 +03:00
|
|
|
* Thu Jul 13 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-14
|
|
|
|
- Bump release to rebuild with go 1.19.11
|
|
|
|
|
2023-06-20 23:39:41 +03:00
|
|
|
* Thu Jun 15 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-13
|
|
|
|
- Bump release to rebuild with go 1.19.10
|
|
|
|
|
2023-04-05 19:08:04 +03:00
|
|
|
* Wed Apr 05 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-12
|
|
|
|
- Bump release to rebuild with go 1.19.8
|
|
|
|
|
2023-03-28 10:50:34 +03:00
|
|
|
* Tue Mar 28 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-11
|
|
|
|
- Bump release to rebuild with go 1.19.7
|
|
|
|
|
2023-03-17 18:50:58 +03:00
|
|
|
* Wed Mar 15 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-10
|
|
|
|
- Bump release to rebuild with go 1.19.6
|
|
|
|
|
2023-02-03 22:56:43 +03:00
|
|
|
* Fri Feb 03 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-9
|
|
|
|
- Bump release to rebuild with go 1.19.5
|
|
|
|
|
2023-01-19 20:37:17 +03:00
|
|
|
* Wed Jan 18 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.8.10-8
|
|
|
|
- Bump release to rebuild with go 1.19.4
|
|
|
|
|
2022-12-19 23:17:43 +03:00
|
|
|
* Fri Dec 16 2022 Daniel McIlvaney <damcilva@microsoft.com> - 0.8.10-7
|
|
|
|
- Bump release to rebuild with go 1.18.8 with patch for CVE-2022-41717
|
|
|
|
|
2022-11-02 02:37:38 +03:00
|
|
|
* Tue Nov 01 2022 Olivia Crain <oliviacrain@microsoft.com> - 0.8.10-6
|
|
|
|
- Bump release to rebuild with go 1.18.8
|
|
|
|
|
2022-09-02 02:52:46 +03:00
|
|
|
* Mon Aug 29 2022 Sean Dougherty <sdougherty@microsoft.com> - 0.8.10-5
|
|
|
|
- Removed arch-specific logic in Makefile with 001-remove_arch_specific_makefile_logic.patch.
|
|
|
|
|
2022-08-24 19:01:02 +03:00
|
|
|
* Mon Aug 22 2022 Olivia Crain <oliviacrain@microsoft.com> - 0.8.10-4
|
|
|
|
- Bump release to rebuild against Go 1.18.5
|
|
|
|
|
2022-06-16 20:37:41 +03:00
|
|
|
* Tue Jun 14 2022 Muhammad Falak <mwani@microsoft.com> - 0.8.10-3
|
|
|
|
- Bump release to rebuild with golang 1.18.3
|
|
|
|
|
2022-06-01 22:18:44 +03:00
|
|
|
* Wed Jun 01 2022 Olivia Crain <oliviacrain@microsoft.com> - 0.8.10-2
|
|
|
|
- Add explicit check/run-time dependencies on mariner-release
|
|
|
|
|
2022-03-02 21:32:07 +03:00
|
|
|
* Fri Feb 25 2022 Max Brodeur-Urbas <maxbr@microsoft.com> - 0.8.10-1
|
|
|
|
- Upgrading to v0.8.10
|
|
|
|
- Disable arm64 builds in Makefile with remove_arm64_build.patch.
|
|
|
|
|
2021-08-19 23:46:51 +03:00
|
|
|
* Tue Jun 15 2021 Henry Beberman <henry.beberman@microsoft.com> - 0.8.8-1
|
|
|
|
- Add node-problem-detector spec.
|
|
|
|
- Add Mariner to OSVersion detection and disable exe builds in makefile.
|
|
|
|
- License verified
|
|
|
|
- Original version for CBL-Mariner
|