Documentation ¶
Index ¶
- func TestKubernetesConformance(ctx context.Context, log *zap.SugaredLogger, opts *types.Options, ...) error
- func TestLoadBalancer(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestNoK8sGcrImages(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestStorage(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestTelemetry(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options) error
- func TestUserClusterControlPlaneSecurityContext(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestUserClusterMetrics(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestUserClusterNoK8sGcrImages(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestUserClusterPodAndNodeMetrics(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestUserClusterSeccompProfiles(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
- func TestUserclusterControllerRBAC(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestKubernetesConformance ¶
func TestKubernetesConformance( ctx context.Context, log *zap.SugaredLogger, opts *types.Options, scenario scenarios.Scenario, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client, kubeconfigFilename string, cloudConfigFilename string, report *reporters.JUnitTestSuite, ) error
func TestLoadBalancer ¶
func TestLoadBalancer(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client, attempt int) error
func TestNoK8sGcrImages ¶ added in v2.21.8
func TestNoK8sGcrImages(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster) error
func TestStorage ¶
func TestStorage(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client, attempt int) error
func TestTelemetry ¶
TestTelemetry checks if there are telemetry pods available and gets the logs from the most recent one, assuming that it output a big JSON document with KKP and k8s statistics.
func TestUserClusterControlPlaneSecurityContext ¶
func TestUserClusterControlPlaneSecurityContext(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster) error
func TestUserClusterMetrics ¶
func TestUserClusterMetrics(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, seedClient ctrlruntimeclient.Client) error
testUserClusterMetrics ensures all expected metrics are actually collected in Prometheus. Note that this assumes that some time has passed between Prometheus' eployment and this test, so it can scrape all targets. This includes kubelets, so nodes must have been ready for at least 30 seconds before this can succeed.
func TestUserClusterNoK8sGcrImages ¶ added in v2.21.8
func TestUserClusterNoK8sGcrImages(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client) error
func TestUserClusterPodAndNodeMetrics ¶
func TestUserClusterPodAndNodeMetrics(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client) error
func TestUserClusterSeccompProfiles ¶
func TestUserClusterSeccompProfiles(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient ctrlruntimeclient.Client) error
func TestUserclusterControllerRBAC ¶
func TestUserclusterControllerRBAC(ctx context.Context, log *zap.SugaredLogger, opts *ctypes.Options, cluster *kubermaticv1.Cluster, userClusterClient, seedClusterClient ctrlruntimeclient.Client) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.