mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00: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; };
|
|
}
|