From 903976267394f891568b6d3345968698da62bb15 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Thu, 24 Nov 2022 01:41:07 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ kubectl-ice.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .abf.yml create mode 100644 kubectl-ice.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..12f1b93 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + kubectl-ice-0.2.10.tar.gz: 0c2be851d145f67a22e23c435f2d6763062b52c4 diff --git a/kubectl-ice.spec b/kubectl-ice.spec new file mode 100644 index 0000000..84c6e79 --- /dev/null +++ b/kubectl-ice.spec @@ -0,0 +1,43 @@ +%define debug %nil +%define debug_package %nil + +Name: kubectl-ice +Version: 0.2.10 +Release: 1 +Summary: A kubectl plugin view advanced configuration of all containers +URL: https://github.com/NimbleArchitect/kubectl-ice +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +License: ASL 2.0 +Group: Development/Other +BuildRequires: go +BuildRequires: git-core +BuildRequires: upx + +%description +A kubectl plugin that allows you to easily view advanced +configuration of all containers that are running inside +pods, I created it so I could peer inside the pods and +see the details of the containers that are inside +running pods and then extended it so all containers +could be viewed at once. + +ice lists detailed information about the containers present +inside a pod, useful for trouble-shooting multi container +issues. You can view volume, image, port and executable +configurations, along with current cpu and memory metrics +all at the container level (requires metrics server) + +%prep +%setup -q + +%build +%make bin +upx bin/%{name} + +%install +install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc README.md LICENSE docs +%{_bindir}/%{name} +