kubectl-ice/kubectl-ice.spec

45 lines
1.2 KiB
RPMSpec
Raw Normal View History

2022-11-24 01:41:07 +03:00
%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
2025-02-10 20:53:40 +00:00
export GOPROXY=direct
2022-11-24 01:41:07 +03:00
%make bin
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE docs
%{_bindir}/%{name}