mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
b6da1d8198
This adds a basic multi-node test and verifies networking works between em.
10 lines
355 B
Nix
10 lines
355 B
Nix
{ system ? builtins.currentSystem
|
|
, pkgs ? import ../../.. { inherit system; }
|
|
}:
|
|
{
|
|
# Run a single node k3s cluster and verify a pod can run
|
|
single-node = import ./single-node.nix { inherit system pkgs; };
|
|
# Run a multi-node k3s cluster and verify pod networking works across nodes
|
|
multi-node = import ./multi-node.nix { inherit system pkgs; };
|
|
}
|