heapster: init at 3057a2c07061c8d9ffaf77e5442ffd7512ac0133
This commit is contained in:
parent
88f5cfc126
commit
15c76d17fe
27
pkgs/servers/monitoring/heapster/default.nix
Normal file
27
pkgs/servers/monitoring/heapster/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, goPackages, fetchFromGitHub, docker }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
rev = "3057a2c07061c8d9ffaf77e5442ffd7512ac0133";
|
||||
name = "heapster-${lib.strings.substring 0 7 rev}";
|
||||
goPackagePath = "k8s.io/heapster";
|
||||
subPackages = [ "./" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "kubernetes";
|
||||
repo = "heapster";
|
||||
sha256 = "057z9imgd2gvcbvahja3i26jzgm33dmfaxraakmcr4a2xfhj50hq";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compute Resource Usage Analysis and Monitoring of Container Clusters";
|
||||
license = licenses.asl20;
|
||||
homepage = https://github.com/kubernetes/heapster;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = with platforms; docker.meta.platforms;
|
||||
};
|
||||
}
|
|
@ -9146,6 +9146,8 @@ let
|
|||
|
||||
groovebasin = callPackage ../applications/audio/groovebasin { };
|
||||
|
||||
heapster = (callPackage ../servers/monitoring/heapster { }).bin // { outputs = ["bin"]; };
|
||||
|
||||
hbase = callPackage ../servers/hbase {};
|
||||
|
||||
ircdHybrid = callPackage ../servers/irc/ircd-hybrid { };
|
||||
|
|
Loading…
Reference in a new issue