kubectl-ice/kubectl-ice.spec
Your Name e4c0b8caf6
Some checks failed
Run CI/CD... / main (push) Failing after 1m42s
0.2.10
2025-02-10 20:53:40 +00:00

44 lines
1.2 KiB
RPMSpec

%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
export GOPROXY=direct
%make bin
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE docs
%{_bindir}/%{name}