First configuration for kubernetes learning or prototype
This commit is contained in:
parent
5e0008b02f
commit
25b17550ea
6 changed files with 145 additions and 0 deletions
29
flake.nix
Normal file
29
flake.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
description = "Environnement de développement pour kubernetes pour apprendre";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}: flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
devShells = rec {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
minikube
|
||||
kubectl
|
||||
docker-machine-kvm2 # Required for run on NixOS
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue