summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/kubetail
diff options
context:
space:
mode:
authorWael M. Nasreddine <wael.nasreddine@gmail.com>2018-07-24 12:43:26 -0700
committerRyan Mulligan <ryan@ryantm.com>2018-07-25 07:15:42 -0700
commit8fb92a733e447fdc785bb43061d6f3ef3110a32b (patch)
treea0d52a7a87e1aac9abc1dcfa54e0a4c0235117ad /pkgs/applications/networking/cluster/kubetail
parent49ae194b2353bffa255ae86c09feb0e9c2d0f6e1 (diff)
downloadnixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar.gz
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar.bz2
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar.lz
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar.xz
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.tar.zst
nixpkgs-8fb92a733e447fdc785bb43061d6f3ef3110a32b.zip
kubetail: init at 1.6.1
Diffstat (limited to 'pkgs/applications/networking/cluster/kubetail')
-rw-r--r--pkgs/applications/networking/cluster/kubetail/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kubetail/default.nix b/pkgs/applications/networking/cluster/kubetail/default.nix
new file mode 100644
index 00000000000..201e3e8b30d
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubetail/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub, lib, ... }:
+
+stdenv.mkDerivation rec {
+  name = "kubetail-${version}";
+  version = "1.6.1";
+
+  src = fetchFromGitHub {
+    owner = "johanhaleby";
+    repo = "kubetail";
+    rev = "${version}";
+    sha256 = "10ql1kdsmyrk73jb6f5saf2q38znm0vdihscj3c9n0qhyhk9blpl";
+  };
+
+  installPhase = ''
+    install -Dm755 kubetail $out/bin/kubetail
+  '';
+
+  meta = with lib; {
+    description = "Bash script to tail Kubernetes logs from multiple pods at the same time";
+    longDescription = ''
+      Bash script that enables you to aggregate (tail/follow) logs from
+      multiple pods into one stream. This is the same as running "kubectl logs
+      -f " but for multiple pods.
+    '';
+    homepage = https://github.com/johanhaleby/kubetail;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ kalbasit ];
+    platforms = platforms.all;
+  };
+}