Skip to content

Latest commit

 

History

History

environment

Test Suite Installation Scripts

To install SpinKube (kwasm operator and Spin operator), K6 operator, cert manager, and Datadog on a cluster accessible with kubectl:

DATADOG_API_KEY=xyz SHIM_VERSION=v0.15.0 ./spin-kube-k8s.sh

To first provision a single node K3s or K3d cluster before installing the test suite, use spin-kube-k3s.sh or spin-kube-k3d.sh, respectively.

Default Cluster Configuration

The cluster is configured to ensure that the K6 tester and the Spin apps are running on separate environments. This is done using node selectors during the installation of the K6 operator and Spin runtime class. The result is the following test architecture for a 3 node cluster provisioned with the default terraform scripts.

flowchart TB
subgraph cluster[Kubernetes Cluster]
    subgraph node1[Apps Node]
        h1[Spin Apps]:::type
        d1[containerd-shim-spin]:::description
    end
    node1:::internalContainer

    subgraph node2[Tester Node]
        h2[K6 TestRuns]:::type
        d2[K6 Operator]:::description
    end
    node2:::internalContainer

    subgraph node3[System Node]
        h3[AKS System Pods]:::type
    end
    node3:::internalContainer
end
classDef internalContainer fill:#08427b
Loading