First configuration for kubernetes learning or prototype

This commit is contained in:
Florian RICHER 2025-03-01 13:38:26 +01:00
parent 5e0008b02f
commit 25b17550ea
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
6 changed files with 145 additions and 0 deletions

29
flake.nix Normal file
View 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
];
};
};
}
);
}