Discover Packages
github.com/aws/aws-k8s-tester/k8s-tester
package
module
Version:
v0.0.0-...-6d46272
Opens a new window with list of versions in this module.
Published: Aug 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 59
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
README
¶
k8s-tester
implements defines Kubernetes "tester client" interface without "cluster provisioner" dependency. This replaces all test cases under eks/*
(< aws-k8s-tester
v1.6). The tester assumes an existing Kubernetes cluster (e.g., EKS, vanilla Kubernetes) and worker nodes to run testing components.
Each test case:
MUST comply with "github.com/aws/aws-k8s-tester/k8s-tester/tester.Tester"
interface
MUST be generic enough to run against any Kubernetes cluster on AWS
MUST implement clean-up in a non-destrutive way
MUST implement a package that can be easily imported as a library (e.g., integrates with EKS tester)
MUST control their own dependencies (e.g., vending Kubernetes client-go) in case a user does not want to carry out other dependencies
MAY require certain AWS API calls and assume correct IAM or instance role for required AWS actions
MAY implement a CLI with the sub-commands of "apply" and "delete"
To add a new tester,
Create a new directory under github.com/aws/aws-k8s-tester/k8s-tester
.
Implement github.com/aws/aws-k8s-tester/k8s-tester/tester.Tester
interface within the new package github.com/aws/aws-k8s-tester/k8s-tester/NEW-TESTER
.
(Optional) Implement a stand-alone CLI for the test case under github.com/aws/aws-k8s-tester/k8s-tester/NEW-TESTER/cmd/k8s-tester-NEW-TESTER
.
Import the new configuration struct to k8s-tester/config.go
with test cases in k8s-tester/config_test.go
.
Add the new tester to github.com/aws/aws-k8s-tester/k8s-tester/tester.go
.
Update github.com/aws/aws-k8s-tester/k8s-tester/go.mod
.
Run github.com/aws/aws-k8s-tester/k8s-tester/vend.sh
.
Add the new tester to github.com/aws/aws-k8s-tester/k8s-tester/cmd/readme-gen/main.go
.
Update github.com/aws/aws-k8s-tester/k8s-tester/cmd/readme-gen/go.mod
.
Run github.com/aws/aws-k8s-tester/k8s-tester/cmd/readme-gen/vend.sh
.
Update and run github.com/aws/aws-k8s-tester/k8s-tester/fmt.sh
.
Update github.com/aws/aws-k8s-tester/k8s-tester/cmd/k8s-tester/go.mod
.
Run github.com/aws/aws-k8s-tester/k8s-tester/cmd/k8s-tester/vend.sh
.
Run github.com/aws/aws-k8s-tester/k8s-tester/gen.sh
.
See example commits:
Environmental variables
Total 30 test cases!
*----------------------------------*----------------------*----------------------------------------*---------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------*----------------------*----------------------------------------*---------------*
| K8S_TESTER_PROMPT | SETTABLE VIA ENV VAR | *k8s_tester.Config.Prompt | bool |
| K8S_TESTER_CLUSTER_NAME | SETTABLE VIA ENV VAR | *k8s_tester.Config.ClusterName | string |
| K8S_TESTER_CONFIG_PATH | SETTABLE VIA ENV VAR | *k8s_tester.Config.ConfigPath | string |
| K8S_TESTER_LOG_COLOR | SETTABLE VIA ENV VAR | *k8s_tester.Config.LogColor | bool |
| K8S_TESTER_LOG_COLOR_OVERRIDE | SETTABLE VIA ENV VAR | *k8s_tester.Config.LogColorOverride | string |
| K8S_TESTER_LOG_LEVEL | SETTABLE VIA ENV VAR | *k8s_tester.Config.LogLevel | string |
| K8S_TESTER_LOG_OUTPUTS | SETTABLE VIA ENV VAR | *k8s_tester.Config.LogOutputs | []string |
| K8S_TESTER_KUBECTL_DOWNLOAD_URL | SETTABLE VIA ENV VAR | *k8s_tester.Config.KubectlDownloadURL | string |
| K8S_TESTER_KUBECTL_PATH | SETTABLE VIA ENV VAR | *k8s_tester.Config.KubectlPath | string |
| K8S_TESTER_KUBECONFIG_PATH | SETTABLE VIA ENV VAR | *k8s_tester.Config.KubeconfigPath | string |
| K8S_TESTER_KUBECONFIG_CONTEXT | SETTABLE VIA ENV VAR | *k8s_tester.Config.KubeconfigContext | string |
| K8S_TESTER_CLIENTS | SETTABLE VIA ENV VAR | *k8s_tester.Config.Clients | int |
| K8S_TESTER_CLIENT_QPS | SETTABLE VIA ENV VAR | *k8s_tester.Config.ClientQPS | float32 |
| K8S_TESTER_CLIENT_BURST | SETTABLE VIA ENV VAR | *k8s_tester.Config.ClientBurst | int |
| K8S_TESTER_CLIENT_TIMEOUT | SETTABLE VIA ENV VAR | *k8s_tester.Config.ClientTimeout | time.Duration |
| K8S_TESTER_CLIENT_TIMEOUT_STRING | READ-ONLY | *k8s_tester.Config.ClientTimeoutString | string |
| K8S_TESTER_MINIMUM_NODES | SETTABLE VIA ENV VAR | *k8s_tester.Config.MinimumNodes | int |
| K8S_TESTER_TOTAL_NODES | READ-ONLY | *k8s_tester.Config.TotalNodes | int |
*----------------------------------*----------------------*----------------------------------------*---------------*
*--------------------------------------------------*----------------------*---------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*--------------------------------------------------*----------------------*---------------------------------------*---------*
| K8S_TESTER_ADD_ON_CLOUDWATCH_AGENT_ENABLE | SETTABLE VIA ENV VAR | *cloudwatch_agent.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CLOUDWATCH_AGENT_REGION | SETTABLE VIA ENV VAR | *cloudwatch_agent.Config.Region | string |
| K8S_TESTER_ADD_ON_CLOUDWATCH_AGENT_CLUSTER_NAME | READ-ONLY | *cloudwatch_agent.Config.ClusterName | string |
| K8S_TESTER_ADD_ON_CLOUDWATCH_AGENT_MINIMUM_NODES | SETTABLE VIA ENV VAR | *cloudwatch_agent.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CLOUDWATCH_AGENT_NAMESPACE | SETTABLE VIA ENV VAR | *cloudwatch_agent.Config.Namespace | string |
*--------------------------------------------------*----------------------*---------------------------------------*---------*
*--------------------------------------------*----------------------*---------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*--------------------------------------------*----------------------*---------------------------------*---------*
| K8S_TESTER_ADD_ON_FLUENT_BIT_ENABLE | SETTABLE VIA ENV VAR | *fluent_bit.Config.Enable | bool |
| K8S_TESTER_ADD_ON_FLUENT_BIT_MINIMUM_NODES | SETTABLE VIA ENV VAR | *fluent_bit.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_FLUENT_BIT_NAMESPACE | SETTABLE VIA ENV VAR | *fluent_bit.Config.Namespace | string |
*--------------------------------------------*----------------------*---------------------------------*---------*
*------------------------------------------------*----------------------*-------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------*----------------------*-------------------------------------*---------*
| K8S_TESTER_ADD_ON_METRICS_SERVER_ENABLE | SETTABLE VIA ENV VAR | *metrics_server.Config.Enable | bool |
| K8S_TESTER_ADD_ON_METRICS_SERVER_MINIMUM_NODES | SETTABLE VIA ENV VAR | *metrics_server.Config.MinimumNodes | int |
*------------------------------------------------*----------------------*-------------------------------------*---------*
*------------------------------------------------*----------------------*-----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------*----------------------*-----------------------------------*---------*
| K8S_TESTER_ADD_ON_KUBECOST_ENABLE | SETTABLE VIA ENV VAR | *kubecost.Config.Enable | bool |
| K8S_TESTER_ADD_ON_KUBECOST_MINIMUM_NODES | SETTABLE VIA ENV VAR | *kubecost.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_KUBECOST_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *kubecost.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_KUBECOST_NAMESPACE | SETTABLE VIA ENV VAR | *kubecost.Config.Namespace | string |
*------------------------------------------------*----------------------*-----------------------------------*---------*
*-------------------------------------*----------------------*--------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------*----------------------*--------------------------*---------*
| K8S_TESTER_ADD_ON_CNI_ENABLE | SETTABLE VIA ENV VAR | *cni.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CNI_MINIMUM_NODES | SETTABLE VIA ENV VAR | *cni.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CNI_NAMESPACE | SETTABLE VIA ENV VAR | *cni.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CNI_CNI_NAMESPACE | SETTABLE VIA ENV VAR | *cni.Config.CNINamespace | string |
*-------------------------------------*----------------------*--------------------------*---------*
*-------------------------------------------------------------------*----------------------*-----------------------------------------------------*---------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------------------------------*----------------------*-----------------------------------------------------*---------------*
| K8S_TESTER_ADD_ON_CONFORMANCE_ENABLE | SETTABLE VIA ENV VAR | *conformance.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CONFORMANCE_MINIMUM_NODES | SETTABLE VIA ENV VAR | *conformance.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CONFORMANCE_NAMESPACE | SETTABLE VIA ENV VAR | *conformance.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_PATH | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyPath | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_DOWNLOAD_URL | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyDownloadURL | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_TIMEOUT | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunTimeout | time.Duration |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_TIMEOUT_STRING | READ-ONLY | *conformance.Config.SonobuoyRunTimeoutString | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_DELETE_TIMEOUT | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyDeleteTimeout | time.Duration |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_DELETE_TIMEOUT_STRING | READ-ONLY | *conformance.Config.SonobuoyDeleteTimeoutString | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_MODE | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunMode | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_E2E_FOCUS | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunE2EFocus | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_E2E_SKIP | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunE2ESkip | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_KUBE_CONFORMANCE_IMAGE | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunKubeConformanceImage | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_E2E_REPO_CONFIG | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunE2ERepoConfig | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_IMAGE | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunImage | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RUN_SYSTEMD_LOGS_IMAGE | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyRunSystemdLogsImage | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RESULTS_TAR_GZ_PATH | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyResultsTarGzPath | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RESULTS_E2E_LOG_PATH | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyResultsE2ELogPath | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RESULTS_JUNIT_XML_PATH | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyResultsJunitXMLPath | string |
| K8S_TESTER_ADD_ON_CONFORMANCE_SONOBUOY_RESULTS_OUTPUT_DIR | SETTABLE VIA ENV VAR | *conformance.Config.SonobuoyResultsOutputDir | string |
*-------------------------------------------------------------------*----------------------*-----------------------------------------------------*---------------*
*-----------------------------------------------*----------------------*----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------*----------------------*----------------------------------*---------*
| K8S_TESTER_ADD_ON_CSI_EBS_ENABLE | SETTABLE VIA ENV VAR | *csi_ebs.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CSI_EBS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *csi_ebs.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CSI_EBS_NAMESPACE | SETTABLE VIA ENV VAR | *csi_ebs.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CSI_EBS_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *csi_ebs.Config.HelmChartRepoURL | string |
*-----------------------------------------------*----------------------*----------------------------------*---------*
*-----------------------------------------------*----------------------*----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------*----------------------*----------------------------------*---------*
| K8S_TESTER_ADD_ON_CSI_EFS_ENABLE | SETTABLE VIA ENV VAR | *csi_efs.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CSI_EFS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *csi_efs.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CSI_EFS_NAMESPACE | SETTABLE VIA ENV VAR | *csi_efs.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CSI_EFS_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *csi_efs.Config.HelmChartRepoURL | string |
*-----------------------------------------------*----------------------*----------------------------------*---------*
*------------------------------------------------------*----------------------*-------------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------------*----------------------*-------------------------------------------*---------*
| K8S_TESTER_ADD_ON_KUBERNETES_DASHBOARD_ENABLE | SETTABLE VIA ENV VAR | *kubernetes_dashboard.Config.Enable | bool |
| K8S_TESTER_ADD_ON_KUBERNETES_DASHBOARD_MINIMUM_NODES | SETTABLE VIA ENV VAR | *kubernetes_dashboard.Config.MinimumNodes | int |
*------------------------------------------------------*----------------------*-------------------------------------------*---------*
*---------------------------------------------*----------------------*--------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*---------------------------------------------*----------------------*--------------------------------*---------*
| K8S_TESTER_ADD_ON_FALCO_ENABLE | SETTABLE VIA ENV VAR | *falco.Config.Enable | bool |
| K8S_TESTER_ADD_ON_FALCO_MINIMUM_NODES | SETTABLE VIA ENV VAR | *falco.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_FALCO_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *falco.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_FALCO_NAMESPACE | SETTABLE VIA ENV VAR | *falco.Config.Namespace | string |
*---------------------------------------------*----------------------*--------------------------------*---------*
*-----------------------------------------------*----------------------*-----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------*----------------------*-----------------------------------*---------*
| K8S_TESTER_ADD_ON_FALCON_ENABLE | SETTABLE VIA ENV VAR | *falcon.Config.Enable | bool |
| K8S_TESTER_ADD_ON_FALCON_FALCON_CLIENT_ID | SETTABLE VIA ENV VAR | *falcon.Config.FalconClientId | string |
| K8S_TESTER_ADD_ON_FALCON_FALCON_CLIENT_SECRET | SETTABLE VIA ENV VAR | *falcon.Config.FalconClientSecret | string |
*-----------------------------------------------*----------------------*-----------------------------------*---------*
*-------------------------------------------------------*----------------------*-------------------------------------------*-------------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------------------*----------------------*-------------------------------------------*-------------------*
| K8S_TESTER_ADD_ON_PHP_APACHE_ENABLE | SETTABLE VIA ENV VAR | *php_apache.Config.Enable | bool |
| K8S_TESTER_ADD_ON_PHP_APACHE_MINIMUM_NODES | SETTABLE VIA ENV VAR | *php_apache.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_PHP_APACHE_NAMESPACE | SETTABLE VIA ENV VAR | *php_apache.Config.Namespace | string |
| K8S_TESTER_ADD_ON_PHP_APACHE_DEPLOYMENT_NODE_SELECTOR | SETTABLE VIA ENV VAR | *php_apache.Config.DeploymentNodeSelector | map[string]string |
| K8S_TESTER_ADD_ON_PHP_APACHE_DEPLOYMENT_REPLICAS | SETTABLE VIA ENV VAR | *php_apache.Config.DeploymentReplicas | int32 |
*-------------------------------------------------------*----------------------*-------------------------------------------*-------------------*
*----------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_PHP_APACHE_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_PHP_APACHE_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_PHP_APACHE_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_PHP_APACHE_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_PHP_APACHE_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*----------------------------------------------------*----------------------*---------------------------*---------*
*----------------------------------------------------------*----------------------*----------------------------------------------*-------------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------------------*----------------------*----------------------------------------------*-------------------*
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_ENABLE | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.Enable | bool |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_ACCOUNT_ID | READ-ONLY | *nlb_guestbook.Config.AccountID | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_PARTITION | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.Partition | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_REGION | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.Region | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_MINIMUM_NODES | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_NAMESPACE | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.Namespace | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_DEPLOYMENT_NODE_SELECTOR | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.DeploymentNodeSelector | map[string]string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_DEPLOYMENT_REPLICAS | SETTABLE VIA ENV VAR | *nlb_guestbook.Config.DeploymentReplicas | int32 |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_ELB_ARN | READ-ONLY | *nlb_guestbook.Config.ELBARN | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_ELB_NAME | READ-ONLY | *nlb_guestbook.Config.ELBName | string |
| K8S_TESTER_ADD_ON_NLB_GUESTBOOK_ELB_URL | READ-ONLY | *nlb_guestbook.Config.ELBURL | string |
*----------------------------------------------------------*----------------------*----------------------------------------------*-------------------*
*------------------------------------------------------------*----------------------*------------------------------------------------*-------------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------------------*----------------------*------------------------------------------------*-------------------*
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_ENABLE | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.Enable | bool |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_ACCOUNT_ID | READ-ONLY | *nlb_hello_world.Config.AccountID | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_PARTITION | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.Partition | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_REGION | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.Region | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_MINIMUM_NODES | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_NAMESPACE | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.Namespace | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_DEPLOYMENT_NODE_SELECTOR | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.DeploymentNodeSelector | map[string]string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_DEPLOYMENT_REPLICAS | SETTABLE VIA ENV VAR | *nlb_hello_world.Config.DeploymentReplicas | int32 |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_ELB_ARN | READ-ONLY | *nlb_hello_world.Config.ELBARN | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_ELB_NAME | READ-ONLY | *nlb_hello_world.Config.ELBName | string |
| K8S_TESTER_ADD_ON_NLB_HELLO_WORLD_ELB_URL | READ-ONLY | *nlb_hello_world.Config.ELBURL | string |
*------------------------------------------------------------*----------------------*------------------------------------------------*-------------------*
*-------------------------------------------*----------------------*--------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------*----------------------*--------------------------------*---------*
| K8S_TESTER_ADD_ON_WORDPRESS_ENABLE | SETTABLE VIA ENV VAR | *wordpress.Config.Enable | bool |
| K8S_TESTER_ADD_ON_WORDPRESS_ACCOUNT_ID | READ-ONLY | *wordpress.Config.AccountID | string |
| K8S_TESTER_ADD_ON_WORDPRESS_PARTITION | SETTABLE VIA ENV VAR | *wordpress.Config.Partition | string |
| K8S_TESTER_ADD_ON_WORDPRESS_REGION | SETTABLE VIA ENV VAR | *wordpress.Config.Region | string |
| K8S_TESTER_ADD_ON_WORDPRESS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *wordpress.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_WORDPRESS_NAMESPACE | SETTABLE VIA ENV VAR | *wordpress.Config.Namespace | string |
| K8S_TESTER_ADD_ON_WORDPRESS_USER_NAME | SETTABLE VIA ENV VAR | *wordpress.Config.UserName | string |
| K8S_TESTER_ADD_ON_WORDPRESS_PASSWORD | SETTABLE VIA ENV VAR | *wordpress.Config.Password | string |
| K8S_TESTER_ADD_ON_WORDPRESS_ELB_ARN | READ-ONLY | *wordpress.Config.ELBARN | string |
| K8S_TESTER_ADD_ON_WORDPRESS_ELB_NAME | READ-ONLY | *wordpress.Config.ELBName | string |
| K8S_TESTER_ADD_ON_WORDPRESS_ELB_URL | READ-ONLY | *wordpress.Config.ELBURL | string |
*-------------------------------------------*----------------------*--------------------------------*---------*
*---------------------------------------------*----------------------*--------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*---------------------------------------------*----------------------*--------------------------------*---------*
| K8S_TESTER_ADD_ON_VAULT_ENABLE | SETTABLE VIA ENV VAR | *vault.Config.Enable | bool |
| K8S_TESTER_ADD_ON_VAULT_MINIMUM_NODES | SETTABLE VIA ENV VAR | *vault.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_VAULT_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *vault.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_VAULT_NAMESPACE | SETTABLE VIA ENV VAR | *vault.Config.Namespace | string |
*---------------------------------------------*----------------------*--------------------------------*---------*
*-----------------------------------------*----------------------*------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------*----------------------*------------------------------*---------*
| K8S_TESTER_ADD_ON_JOBS_PI_ENABLE | SETTABLE VIA ENV VAR | *jobs_pi.Config.Enable | bool |
| K8S_TESTER_ADD_ON_JOBS_PI_MINIMUM_NODES | SETTABLE VIA ENV VAR | *jobs_pi.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_JOBS_PI_NAMESPACE | SETTABLE VIA ENV VAR | *jobs_pi.Config.Namespace | string |
| K8S_TESTER_ADD_ON_JOBS_PI_COMPLETES | SETTABLE VIA ENV VAR | *jobs_pi.Config.Completes | int32 |
| K8S_TESTER_ADD_ON_JOBS_PI_PARALLELS | SETTABLE VIA ENV VAR | *jobs_pi.Config.Parallels | int32 |
*-----------------------------------------*----------------------*------------------------------*---------*
*-----------------------------------------------------------*----------------------*----------------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------------------*----------------------*----------------------------------------------*---------*
| K8S_TESTER_ADD_ON_JOBS_ECHO_ENABLE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Enable | bool |
| K8S_TESTER_ADD_ON_JOBS_ECHO_MINIMUM_NODES | SETTABLE VIA ENV VAR | *jobs_echo.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_JOBS_ECHO_NAMESPACE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Namespace | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_JOB_TYPE | SETTABLE VIA ENV VAR | *jobs_echo.Config.JobType | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_COMPLETES | SETTABLE VIA ENV VAR | *jobs_echo.Config.Completes | int32 |
| K8S_TESTER_ADD_ON_JOBS_ECHO_PARALLELS | SETTABLE VIA ENV VAR | *jobs_echo.Config.Parallels | int32 |
| K8S_TESTER_ADD_ON_JOBS_ECHO_ECHO_SIZE | SETTABLE VIA ENV VAR | *jobs_echo.Config.EchoSize | int32 |
| K8S_TESTER_ADD_ON_JOBS_ECHO_SCHEDULE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Schedule | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_SUCCESSFUL_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *jobs_echo.Config.SuccessfulJobsHistoryLimit | int32 |
| K8S_TESTER_ADD_ON_JOBS_ECHO_FAILED_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *jobs_echo.Config.FailedJobsHistoryLimit | int32 |
*-----------------------------------------------------------*----------------------*----------------------------------------------*---------*
*---------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*---------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_JOBS_ECHO_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_JOBS_ECHO_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*---------------------------------------------------*----------------------*---------------------------*---------*
*----------------------------------------------------------------*----------------------*----------------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------------------------*----------------------*----------------------------------------------*---------*
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_ENABLE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_MINIMUM_NODES | SETTABLE VIA ENV VAR | *jobs_echo.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_NAMESPACE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_JOB_TYPE | SETTABLE VIA ENV VAR | *jobs_echo.Config.JobType | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_COMPLETES | SETTABLE VIA ENV VAR | *jobs_echo.Config.Completes | int32 |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_PARALLELS | SETTABLE VIA ENV VAR | *jobs_echo.Config.Parallels | int32 |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_ECHO_SIZE | SETTABLE VIA ENV VAR | *jobs_echo.Config.EchoSize | int32 |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_SCHEDULE | SETTABLE VIA ENV VAR | *jobs_echo.Config.Schedule | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_SUCCESSFUL_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *jobs_echo.Config.SuccessfulJobsHistoryLimit | int32 |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_FAILED_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *jobs_echo.Config.FailedJobsHistoryLimit | int32 |
*----------------------------------------------------------------*----------------------*----------------------------------------------*---------*
*--------------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*--------------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_CRON_JOBS_ECHO_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*--------------------------------------------------------*----------------------*---------------------------*---------*
*-------------------------------------------------------*----------------------*------------------------------------------*-----------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------------------*----------------------*------------------------------------------*-----------------*
| K8S_TESTER_ADD_ON_CSRS_ENABLE | SETTABLE VIA ENV VAR | *csrs.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CSRS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *csrs.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CSRS_OBJECTS | SETTABLE VIA ENV VAR | *csrs.Config.Objects | int |
| K8S_TESTER_ADD_ON_CSRS_INITIAL_REQUEST_CONDITION_TYPE | SETTABLE VIA ENV VAR | *csrs.Config.InitialRequestConditionType | string |
| K8S_TESTER_ADD_ON_CSRS_LATENCY_SUMMARY | READ-ONLY | *csrs.Config.LatencySummary | latency.Summary |
*-------------------------------------------------------*----------------------*------------------------------------------*-----------------*
*----------------------------------------------*----------------------*-----------------------------------*-----------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------*----------------------*-----------------------------------*-----------------*
| K8S_TESTER_ADD_ON_CONFIGMAPS_ENABLE | SETTABLE VIA ENV VAR | *configmaps.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CONFIGMAPS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *configmaps.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CONFIGMAPS_NAMESPACE | SETTABLE VIA ENV VAR | *configmaps.Config.Namespace | string |
| K8S_TESTER_ADD_ON_CONFIGMAPS_OBJECTS | SETTABLE VIA ENV VAR | *configmaps.Config.Objects | int |
| K8S_TESTER_ADD_ON_CONFIGMAPS_OBJECT_SIZE | SETTABLE VIA ENV VAR | *configmaps.Config.ObjectSize | int |
| K8S_TESTER_ADD_ON_CONFIGMAPS_LATENCY_SUMMARY | READ-ONLY | *configmaps.Config.LatencySummary | latency.Summary |
*----------------------------------------------*----------------------*-----------------------------------*-----------------*
*-------------------------------------------*----------------------*--------------------------------*-----------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------*----------------------*--------------------------------*-----------------*
| K8S_TESTER_ADD_ON_SECRETS_ENABLE | SETTABLE VIA ENV VAR | *secrets.Config.Enable | bool |
| K8S_TESTER_ADD_ON_SECRETS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *secrets.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_SECRETS_NAMESPACE | SETTABLE VIA ENV VAR | *secrets.Config.Namespace | string |
| K8S_TESTER_ADD_ON_SECRETS_OBJECTS | SETTABLE VIA ENV VAR | *secrets.Config.Objects | int |
| K8S_TESTER_ADD_ON_SECRETS_OBJECT_SIZE | SETTABLE VIA ENV VAR | *secrets.Config.ObjectSize | int |
| K8S_TESTER_ADD_ON_SECRETS_LATENCY_SUMMARY | READ-ONLY | *secrets.Config.LatencySummary | latency.Summary |
*-------------------------------------------*----------------------*--------------------------------*-----------------*
*-------------------------------------------------------------*----------------------*------------------------------------------------*------------------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------------------------*----------------------*------------------------------------------------*------------------------*
| K8S_TESTER_ADD_ON_CLUSTERLOADER_ENABLE | SETTABLE VIA ENV VAR | *clusterloader.Config.Enable | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_MINIMUM_NODES | SETTABLE VIA ENV VAR | *clusterloader.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_CLUSTERLOADER_PATH | SETTABLE VIA ENV VAR | *clusterloader.Config.ClusterloaderPath | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_CLUSTERLOADER_DOWNLOAD_URL | SETTABLE VIA ENV VAR | *clusterloader.Config.ClusterloaderDownloadURL | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_PROVIDER | SETTABLE VIA ENV VAR | *clusterloader.Config.Provider | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_RUNS | SETTABLE VIA ENV VAR | *clusterloader.Config.Runs | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_RUN_TIMEOUT | SETTABLE VIA ENV VAR | *clusterloader.Config.RunTimeout | time.Duration |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_RUN_TIMEOUT_STRING | READ-ONLY | *clusterloader.Config.RunTimeoutString | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_CONFIG_PATH | SETTABLE VIA ENV VAR | *clusterloader.Config.TestConfigPath | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_RUN_FROM_CLUSTER | SETTABLE VIA ENV VAR | *clusterloader.Config.RunFromCluster | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_NODES | SETTABLE VIA ENV VAR | *clusterloader.Config.Nodes | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_ENABLE_EXEC_SERVICE | SETTABLE VIA ENV VAR | *clusterloader.Config.EnableExecService | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_REPORT_DIR | READ-ONLY | *clusterloader.Config.TestReportDir | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_REPORT_DIR_TAR_GZ_PATH | READ-ONLY | *clusterloader.Config.TestReportDirTarGzPath | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_LOG_PATH | READ-ONLY | *clusterloader.Config.TestLogPath | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_POD_STARTUP_LATENCY | READ-ONLY | *clusterloader.Config.PodStartupLatency | clusterloader.PerfData |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_POD_STARTUP_LATENCY_PATH | READ-ONLY | *clusterloader.Config.PodStartupLatencyPath | string |
*-------------------------------------------------------------*----------------------*------------------------------------------------*------------------------*
*----------------------------------------------------------------------------------*----------------------*-------------------------------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------------------------------------------*----------------------*-------------------------------------------------------------*---------*
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_PATH | READ-ONLY | *clusterloader.TestOverride.Path | string |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_NODES_PER_NAMESPACE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.NodesPerNamespace | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_PODS_PER_NODE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.PodsPerNode | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_BIG_GROUP_SIZE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.BigGroupSize | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_MEDIUM_GROUP_SIZE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.MediumGroupSize | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_SMALL_GROUP_SIZE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.SmallGroupSize | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_SMALL_STATEFUL_SETS_PER_NAMESPACE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.SmallStatefulSetsPerNamespace | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_MEDIUM_STATEFUL_SETS_PER_NAMESPACE | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.MediumStatefulSetsPerNamespace | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_CL2_USE_HOST_NETWORK_PODS | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.CL2UseHostNetworkPods | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_CL2_LOAD_TEST_THROUGHPUT | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.CL2LoadTestThroughput | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_CL2_ENABLE_PVS | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.CL2EnablePVS | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_CL2_SCHEDULER_THROUGHPUT_THRESHOLD | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.CL2SchedulerThroughputThreshold | int |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_PROMETHEUS_SCRAPE_KUBE_PROXY | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.PrometheusScrapeKubeProxy | bool |
| K8S_TESTER_ADD_ON_CLUSTERLOADER_TEST_OVERRIDE_ENABLE_SYSTEM_POD_METRICS | SETTABLE VIA ENV VAR | *clusterloader.TestOverride.EnableSystemPodMetrics | bool |
*----------------------------------------------------------------------------------*----------------------*-------------------------------------------------------------*---------*
*-----------------------------------------------------*----------------------*----------------------------------------*-----------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------------*----------------------*----------------------------------------*-----------------*
| K8S_TESTER_ADD_ON_STRESS_ENABLE | SETTABLE VIA ENV VAR | *stress.Config.Enable | bool |
| K8S_TESTER_ADD_ON_STRESS_MINIMUM_NODES | SETTABLE VIA ENV VAR | *stress.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_STRESS_NAMESPACE | SETTABLE VIA ENV VAR | *stress.Config.Namespace | string |
| K8S_TESTER_ADD_ON_STRESS_SKIP_NAMESPACE_CREATION | SETTABLE VIA ENV VAR | *stress.Config.SkipNamespaceCreation | bool |
| K8S_TESTER_ADD_ON_STRESS_ECR_BUSYBOX_IMAGE | SETTABLE VIA ENV VAR | *stress.Config.ECRBusyboxImage | string |
| K8S_TESTER_ADD_ON_STRESS_RUN_TIMEOUT | SETTABLE VIA ENV VAR | *stress.Config.RunTimeout | time.Duration |
| K8S_TESTER_ADD_ON_STRESS_RUN_TIMEOUT_STRING | READ-ONLY | *stress.Config.RunTimeoutString | string |
| K8S_TESTER_ADD_ON_STRESS_OBJECT_KEY_PREFIX | SETTABLE VIA ENV VAR | *stress.Config.ObjectKeyPrefix | string |
| K8S_TESTER_ADD_ON_STRESS_OBJECTS | SETTABLE VIA ENV VAR | *stress.Config.Objects | int |
| K8S_TESTER_ADD_ON_STRESS_OBJECT_SIZE | SETTABLE VIA ENV VAR | *stress.Config.ObjectSize | int |
| K8S_TESTER_ADD_ON_STRESS_UPDATE_CONCURRENCY | SETTABLE VIA ENV VAR | *stress.Config.UpdateConcurrency | int |
| K8S_TESTER_ADD_ON_STRESS_LIST_BATCH_LIMIT | SETTABLE VIA ENV VAR | *stress.Config.ListBatchLimit | int64 |
| K8S_TESTER_ADD_ON_STRESS_LATENCY_SUMMARY_WRITES | READ-ONLY | *stress.Config.LatencySummaryWrites | latency.Summary |
| K8S_TESTER_ADD_ON_STRESS_LATENCY_SUMMARY_GETS | READ-ONLY | *stress.Config.LatencySummaryGets | latency.Summary |
| K8S_TESTER_ADD_ON_STRESS_LATENCY_SUMMARY_RANGE_GETS | READ-ONLY | *stress.Config.LatencySummaryRangeGets | latency.Summary |
*-----------------------------------------------------*----------------------*----------------------------------------*-----------------*
*------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_STRESS_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_STRESS_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_STRESS_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_STRESS_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_STRESS_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*------------------------------------------------*----------------------*---------------------------*---------*
*-------------------------------------------------------------------*----------------------*-----------------------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-------------------------------------------------------------------*----------------------*-----------------------------------------------*---------*
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_ENABLE | SETTABLE VIA ENV VAR | *in_cluster.Config.Enable | bool |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_MINIMUM_NODES | SETTABLE VIA ENV VAR | *in_cluster.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_NAMESPACE | SETTABLE VIA ENV VAR | *in_cluster.Config.Namespace | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_COMPLETES | SETTABLE VIA ENV VAR | *in_cluster.Config.Completes | int32 |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_PARALLELS | SETTABLE VIA ENV VAR | *in_cluster.Config.Parallels | int32 |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_SCHEDULE | SETTABLE VIA ENV VAR | *in_cluster.Config.Schedule | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_SUCCESSFUL_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *in_cluster.Config.SuccessfulJobsHistoryLimit | int32 |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_FAILED_JOBS_HISTORY_LIMIT | SETTABLE VIA ENV VAR | *in_cluster.Config.FailedJobsHistoryLimit | int32 |
*-------------------------------------------------------------------*----------------------*-----------------------------------------------*---------*
*-----------------------------------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*-----------------------------------------------------------------------------*----------------------*---------------------------*---------*
*------------------------------------------------------------------------------*----------------------*--------------------------------------------------*---------------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*------------------------------------------------------------------------------*----------------------*--------------------------------------------------*---------------*
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_RUN_TIMEOUT | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.RunTimeout | time.Duration |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_RUN_TIMEOUT_STRING | READ-ONLY | *in_cluster.K8sTesterStressCLI.RunTimeoutString | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_OBJECT_KEY_PREFIX | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.ObjectKeyPrefix | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_OBJECTS | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.Objects | int |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_OBJECT_SIZE | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.ObjectSize | int |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_UPDATE_CONCURRENCY | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.UpdateConcurrency | int |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_LIST_BATCH_LIMIT | SETTABLE VIA ENV VAR | *in_cluster.K8sTesterStressCLI.ListBatchLimit | int64 |
*------------------------------------------------------------------------------*----------------------*--------------------------------------------------*---------------*
*-----------------------------------------------------------------------------------------*----------------------*---------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------------------------------------------------*----------------------*---------------------------*---------*
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_BUSYBOX_REPOSITORY_PARTITION | SETTABLE VIA ENV VAR | *ecr.Repository.Partition | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_BUSYBOX_REPOSITORY_ACCOUNT_ID | SETTABLE VIA ENV VAR | *ecr.Repository.AccountID | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_BUSYBOX_REPOSITORY_REGION | SETTABLE VIA ENV VAR | *ecr.Repository.Region | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_BUSYBOX_REPOSITORY_NAME | SETTABLE VIA ENV VAR | *ecr.Repository.Name | string |
| K8S_TESTER_ADD_ON_STRESS_IN_CLUSTER_K8S_TESTER_STRESS_CLI_BUSYBOX_REPOSITORY_IMAGE_TAG | SETTABLE VIA ENV VAR | *ecr.Repository.ImageTag | string |
*-----------------------------------------------------------------------------------------*----------------------*---------------------------*---------*
*--------------------------------------------*----------------------*-------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*--------------------------------------------*----------------------*-------------------------------*---------*
| K8S_TESTER_ADD_ON_AQUA_ENABLE | SETTABLE VIA ENV VAR | *aqua.Config.Enable | bool |
| K8S_TESTER_ADD_ON_AQUA_MINIMUM_NODES | SETTABLE VIA ENV VAR | *aqua.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_AQUA_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *aqua.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_AQUA_NAMESPACE | SETTABLE VIA ENV VAR | *aqua.Config.Namespace | string |
| K8S_TESTER_ADD_ON_AQUA_AQUA_LICENSE | SETTABLE VIA ENV VAR | *aqua.Config.AquaLicense | string |
| K8S_TESTER_ADD_ON_AQUA_AQUA_USERNAME | SETTABLE VIA ENV VAR | *aqua.Config.AquaUsername | string |
| K8S_TESTER_ADD_ON_AQUA_AQUA_PASSWORD | SETTABLE VIA ENV VAR | *aqua.Config.AquaPassword | string |
*--------------------------------------------*----------------------*-------------------------------*---------*
*----------------------------------------------*----------------------*---------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------*----------------------*---------------------------------*---------*
| K8S_TESTER_ADD_ON_ARMORY_ENABLE | SETTABLE VIA ENV VAR | *armory.Config.Enable | bool |
| K8S_TESTER_ADD_ON_ARMORY_MINIMUM_NODES | SETTABLE VIA ENV VAR | *armory.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_ARMORY_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *armory.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_ARMORY_NAMESPACE | SETTABLE VIA ENV VAR | *armory.Config.Namespace | string |
*----------------------------------------------*----------------------*---------------------------------*---------*
*-----------------------------------------------*----------------------*-----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*-----------------------------------------------*----------------------*-----------------------------------*---------*
| K8S_TESTER_ADD_ON_EPSAGON_ENABLE | SETTABLE VIA ENV VAR | *epsagon.Config.Enable | bool |
| K8S_TESTER_ADD_ON_EPSAGON_MINIMUM_NODES | SETTABLE VIA ENV VAR | *epsagon.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_EPSAGON_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *epsagon.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_EPSAGON_NAMESPACE | SETTABLE VIA ENV VAR | *epsagon.Config.Namespace | string |
| K8S_TESTER_ADD_ON_EPSAGON_COLLECTOR_ENDPOINT | SETTABLE VIA ENV VAR | *epsagon.Config.CollectorEndpoint | string |
| K8S_TESTER_ADD_ON_EPSAGON_API_TOKEN | SETTABLE VIA ENV VAR | *epsagon.Config.APIToken | string |
| K8S_TESTER_ADD_ON_EPSAGON_CLUSTER_NAME | SETTABLE VIA ENV VAR | *epsagon.Config.ClusterName | string |
*-----------------------------------------------*----------------------*-----------------------------------*---------*
*----------------------------------------------*----------------------*----------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------*----------------------*----------------------------------*---------*
| K8S_TESTER_ADD_ON_SYSDIG_ENABLE | SETTABLE VIA ENV VAR | *sysdig.Config.Enable | bool |
| K8S_TESTER_ADD_ON_SYSDIG_MINIMUM_NODES | SETTABLE VIA ENV VAR | *sysdig.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_SYSDIG_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *sysdig.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_SYSDIG_NAMESPACE | SETTABLE VIA ENV VAR | *sysdig.Config.Namespace | string |
| K8S_TESTER_ADD_ON_SYSDIG_ACCESS_KEY | SETTABLE VIA ENV VAR | *sysdig.Config.AccessKey | string |
| K8S_TESTER_ADD_ON_SYSDIG_COLLECTOR_ENDPOINT | SETTABLE VIA ENV VAR | *sysdig.Config.CollectorEndpoint | string |
*----------------------------------------------*----------------------*----------------------------------*---------*
*----------------------------------------------*----------------------*---------------------------------*---------*
| ENVIRONMENTAL VARIABLE | FIELD TYPE | TYPE | GO TYPE |
*----------------------------------------------*----------------------*---------------------------------*---------*
| K8S_TESTER_ADD_ON_SPLUNK_ENABLE | SETTABLE VIA ENV VAR | *splunk.Config.Enable | bool |
| K8S_TESTER_ADD_ON_SPLUNK_MINIMUM_NODES | SETTABLE VIA ENV VAR | *splunk.Config.MinimumNodes | int |
| K8S_TESTER_ADD_ON_SPLUNK_HELM_CHART_REPO_URL | SETTABLE VIA ENV VAR | *splunk.Config.HelmChartRepoURL | string |
| K8S_TESTER_ADD_ON_SPLUNK_NAMESPACE | SETTABLE VIA ENV VAR | *splunk.Config.Namespace | string |
| K8S_TESTER_ADD_ON_SPLUNK_ACCESS_KEY | SETTABLE VIA ENV VAR | *splunk.Config.AccessKey | string |
| K8S_TESTER_ADD_ON_SPLUNK_SPLUNK_REALM | SETTABLE VIA ENV VAR | *splunk.Config.SplunkRealm | string |
*----------------------------------------------*----------------------*---------------------------------*---------*
Expand ▾
Collapse ▴
Documentation
¶
View Source
const (
DefaultClients = 1
DefaultClientQPS float32 = 10
DefaultClientBurst = 10
DefaultClientTimeout = 20 * time .Second
DefaultMinimumNodes = 1
)
ENV_PREFIX is the environment variable prefix.
Config defines k8s-tester configurations.
tester order is defined as https://github.com/aws/aws-k8s-tester/blob/v1.5.9/eks/eks.go#L617
By default, it uses the environmental variables as https://github.com/aws/aws-k8s-tester/blob/v1.5.9/eksconfig/env.go .
TODO: support https://github.com/onsi/ginkgo .
Colorize prints colorized input, if color output is supported.
KubectlCommand returns the kubectl command.
KubectlCommands returns the various kubectl commands.
Sync writes the configuration file to disk.
UpdateFromEnvs updates fields from environmental variables.
Empty values are ignored and do not overwrite fields with empty values.
WARNING: The environmental variable value always overwrites current field
values if there's a conflict.
ValidateAndSetDefaults returns an error for invalid configurations.
And updates empty fields with default values.
At the end, it writes populated YAML to aws-k8s-tester config path.
"read-only" fields cannot be set, causing errors.
Source Files
¶
Directories
¶
cmd
Package version defines k8s-tester version.
Package version defines k8s-tester version.
Click to show internal directories.
Click to hide internal directories.