e2e_config

package
v0.0.0-...-fc172d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigDir         = "/configurations"
	PlatformConfigDir = "/configurations/platforms/"
)

const ConfigDir = "../../configurations" const PlatformConfigDir = "../../configurations/platforms/"

Functions

func GetProductsSpecsMap

func GetProductsSpecsMap() map[string]*ProductSpec

GetProductsSpecsMap return a maps of product specs keyed on product name

func SetContext

func SetContext(ctx ConfigurationContext)

SetContext set execution context to be an e2e ginkgo test run context must be called before first invocation of GetConfig to be effective

func SetControlPlane

func SetControlPlane(controlPlane string) bool

SetControlPlane sets the control plane configuration if it is unset (i.e. empty) and writes it out if changed. If config setting matches the existing value no action. Returns true it the config control plane value matches the input value

Types

type ConfigurationContext

type ConfigurationContext int
const (
	Library ConfigurationContext = iota
	E2eTesting
)

type E2EConfig

type E2EConfig struct {
	ConfigName  string `yaml:"configName" env-default:"default"`
	ConfigPaths struct {
		ConfigFile         string `yaml:"configFile" env:"e2e_config_file" env-default:""`
		PlatformConfigFile string `yaml:"platformConfigFile" env:"e2e_platform_config_file" env-default:""`
		ProductConfigFile  string `yaml:"productConfigFile" env:"e2e_product_config_file" env-default:""`
	} `yaml:"configPaths"`
	Platform struct {
		// E2ePlatform indicates where the e2e is currently being run from
		Name string `yaml:"name" env-default:"default"`
		// Add HostNetwork: true to the spec of test pods.
		HostNetworkingRequired bool `yaml:"hostNetworkingRequired" env-default:"false"`
		// Some deployments use a different namespace
		MayastorNamespace string `yaml:"mayastorNamespace" env-default:"mayastor"`
		// Some deployments use a different namespace
		FilteredMayastorPodCheck int `yaml:"filteredMayastorPodCheck" env-default:"0"`
	} `yaml:"platform"`
	Product ProductSpec `yaml:"product"`

	TestControlNodeLabel              string `yaml:"testControlNodeLabel" env-default:"openebs-test-control"`
	AppLabelControlPlaneCsiController string `yaml:"appLabelControlPlaneCsiController" env-default:"csi-controller"`
	AppLabelControlPlanePoolOperator  string `yaml:"appLabelControlPlanePoolOperator" env-default:"operator-diskpool"`
	AppLabelControlPlaneRestServer    string `yaml:"appLabelControlPlaneRestServer" env-default:"api-rest"`
	AppLabelControlPlaneCoreAgent     string `yaml:"appLabelControlPlaneCoreAgent" env-default:"agent-core"`

	ReactorFreezeDetect            bool `yaml:"reactorFreezeDetect" env:"e2e_reactor_freeze_detect" env-default:"false"`
	SetNexusRebuildVerifyOnInstall bool `yaml:"setNexusRebuildVerifyOnInstall" env-default:"true"`

	// gRPC connection to the mayastor is mandatory for the test run
	// With few exceptions, all CI configurations MUST set this to true
	GrpcMandated bool   `yaml:"grpcMandated" env:"e2e_grpc" env-default:"false"`
	GrpcVersion  string `yaml:"grpcVersion" env:"e2e_grpc_version" env-default:""`
	// Generic configuration files used for CI and automation should not define MayastorRootDir and E2eRootDir
	MayastorRootDir   string `yaml:"mayastorRootDir" env:"e2e_mayastor_root_dir"`
	E2eRootDir        string `yaml:"e2eRootDir" env:"e2e_root_dir"`
	OpenEbsE2eRootDir string `yaml:"openEbsE2eRootDir" env:"openebs_e2e_root_dir"`
	SessionDir        string `yaml:"sessionDir" env:"e2e_session_dir"`
	MayastorVersion   string `yaml:"mayastorVersion" env:"e2e_mayastor_version"`
	KubectlPluginDir  string `yaml:"kubectlPluginDir" env:"e2e_kubectl_plugin_dir"`
	MaasOauthApiToken string `yaml:"maasOauthApiToken" env:"e2e_maas_api_token"`
	MaasEndpoint      string `yaml:"maasEndpoint" env:"e2e_maas_endpoint"`
	ReplicatedEngine  bool   `yaml:"replicatedEngine" env:"replicatedEngine"`

	// Operational parameters
	Cores int `yaml:"cores,omitempty"`
	// Registry from where mayastor images are retrieved
	DockerCache                  string `yaml:"dockercache" env:"e2e_docker_cache" env-default:""`
	ImageTag                     string `yaml:"imageTag" env:"e2e_image_tag"`
	ImagePullPolicy              string `yaml:"imagePullPolicy" env-default:"IfNotPresent" env:"e2e_image_pull_policy"`
	InstallLoki                  bool   `yaml:"installLoki" env-default:"true" env:"install_loki"`
	LokiStatefulsetOnControlNode bool   `yaml:"lokiOnControlNode" env-default:"true" env:"loki_on_control_node"`
	E2eFioImage                  string `yaml:"e2eFioImage" env-default:"openebs/e2e-fio:v3.37-e2e-0" env:"e2e_fio_image"`
	SetSafeMountAlways           bool   `yaml:"setSafeMountAlways" env-default:"false" env:"safe_mount_always"`
	// This is an advisory setting for individual tests
	// If set to true - typically during test development - tests with multiple 'It' clauses should defer asserts till after
	// resources have been cleaned up . This behaviour makes it possible to have useful runs for all 'It' clauses.
	// Typically, set to false for CI test execution - no cleanup after first failure, as a result subsequent 'It' clauses
	// in the test will fail the BeforeEach check, rendering post-mortem checks on the cluster more useful.
	// It may be set to true for when we want maximum test coverage, and post-mortem analysis is a secondary requirement.
	// NOTE: Only some tests support this feature.
	DeferredAssert bool `yaml:"deferredAssert" env-default:"false" env:"e2e_defer_asserts"`

	// Default replica count, used by tests which do not have a config section.
	DefaultReplicaCount int `yaml:"defaultReplicaCount" env-default:"2" env:"e2e_default_replica_count"`
	// Default provisioning type
	DefaultThinProvisioning bool `yaml:"defaultThinProvisioning" env-default:"false" env:"e2e_default_thin_provisioning"`
	// Restart Mayastor on failure in a prior AfterEach or ResourceCheck
	BeforeEachCheckAndRestart bool `yaml:"beforeEachCheckAndRestart" env-default:"false"`
	// Fail  quickly after failure of a prior AfterEach, overrides BeforeEachCheckAndRestart
	FailQuick bool `yaml:"failQuick" env-default:"false" env:"e2e_fail_quick"`

	// Network interface , HZ: eth0 and GCP: ens4
	NetworkInterface string `yaml:"networkInterface" env-default:"eth0" env:"e2e_default_network_interface"`

	// Run configuration
	ReportsDir string `yaml:"reportsDir" env:"e2e_reports_dir"`
	SelfTest   bool   `yaml:"selfTest" env:"e2e_self_test" env-default:"false"`

	// Boolean value which indicates whether to apply crds or not
	InstallCrds string `yaml:"installCrds" env:"e2e_install_crds" env-default:"false"`

	IOEngineNvmeTimeout int `yaml:"ioEngineNvmeTimeout" env-default:"0"`

	// Individual Test parameters
	PVCStress struct {
		Replicas   int `yaml:"replicas" env-default:"2"`
		CdCycles   int `yaml:"cdCycles" env-default:"100"`
		CrudCycles int `yaml:"crudCycles" env-default:"10"`
	} `yaml:"pvcStress"`
	IOSoakTest struct {
		Replicas int    `yaml:"replicas" env-default:"2"`
		Duration string `yaml:"duration" env-default:"60m"`
		// Number of volumes for each mayastor instance
		// volumes for disruptor pods are allocated from within this "pool"
		LoadFactor int      `yaml:"loadFactor" env-default:"10"`
		Protocols  []string `yaml:"protocols" env-default:"nvmf"`
		// FioStartDelay units are seconds
		FioStartDelay int    `yaml:"fioStartDelay" env-default:"90"`
		ReadyTimeout  string `yaml:"readyTimeout" env-default:"600s"`
		Disrupt       struct {
			// Number of disruptor pods.
			PodCount int `yaml:"podCount" env-default:"3"`
			// FaultAfter units are seconds
			FaultAfter   int    `yaml:"faultAfter" env-default:"51"`
			ReadyTimeout string `yaml:"readyTimeout" env-default:"180s"`
		} `yaml:"disrupt"`
		FioDutyCycles []struct {
			// ThinkTime units are microseconds
			ThinkTime       int `yaml:"thinkTime"`
			ThinkTimeBlocks int `yaml:"thinkTimeBlocks"`
		} `yaml:"fioDutyCycles"`
	} `yaml:"ioSoakTest"`
	CSI struct {
		Replicas       int    `yaml:"replicas" env-default:"2"`
		SmallClaimSize string `yaml:"smallClaimSize" env-default:"312Mi"`
		LargeClaimSize string `yaml:"largeClaimSize" env-default:"1Gi"`
	} `yaml:"csi"`
	Uninstall struct {
		Cleanup int `yaml:"cleanup" env:"e2e_uninstall_cleanup" env-default:"1"`
	} `yaml:"uninstall"`
	BasicVolumeIO struct {
		// FioTimeout is in seconds
		FioLoopTimeout int `yaml:"fioLoopTimeout" env-default:"100"`
		// VolSizeMb Units are MiB
		VolSizeMb int `yaml:"volSizeMb" env-default:"1350"`
	} `yaml:"basicVolumeIO"`
	CISmokeTest struct {
		// FioTimeout is in seconds
		FioTimeout int `yaml:"fioTimeout" env-default:"300"`
		// FsVolSizeMb Units are MiB
		FsVolSizeMb int `yaml:"fsVolSizeMb" env-default:"1350"`
		// Replicas to use
		ReplicaCount int `yaml:"replicas" env-default:"2"`
		// VolSizeMb Units are MiB
		VolSizeMb int `yaml:"volSizeMb" env-default:"1500"`
	} `yaml:"ciSmokeTest"`
	MultipleVolumesPodIO struct {
		VolumeSizeMb         int    `yaml:"volumeSizeMb" env-default:"500"`
		VolumeCount          int    `yaml:"volumeCount" env-default:"6"`
		MultipleReplicaCount int    `yaml:"replicas" env-default:"2"`
		FioLoops             int    `yaml:"fioLoops" env-default:"0"`
		Timeout              string `yaml:"timeout" env-default:"1800s"`
	} `yaml:"multiVolumesPodIO"`
	MsPodDisruption struct {
		VolMb                    int `yaml:"volMb" env-default:"1000"`
		RemoveThinkTime          int `yaml:"removeThinkTime" env-default:"10"`
		RepairThinkTime          int `yaml:"repairThinkTime" env-default:"30"`
		ThinkTimeBlocks          int `yaml:"thinkTimeBlocks" env-default:"10"`
		UnscheduleDelay          int `yaml:"unscheduleDelay" env-default:"10"`
		RescheduleDelay          int `yaml:"rescheduleDelay" env-default:"10"`
		PodUnscheduleTimeoutSecs int `yaml:"podUnscheduleTimeoutSecs" env-default:"100"`
		PodRescheduleTimeoutSecs int `yaml:"podRnscheduleTimeoutSecs" env-default:"180"`
		PodRemovalTest           int `yaml:"podRemovalTest" env-default:"0"`
		DeviceRemovalTest        int `yaml:"deviceRemovalTest" env-default:"1"`
	} `yaml:"msPodDisruption"`
	MaximumVolsIO struct {
		// exception to 300Mb min size limit large numbers of volumes
		// and ext4 filesystem
		VolMb             int    `yaml:"volMb" env-default:"64"`
		VolumeCountPerPod int    `yaml:"volumeCountPerPod" env-default:"10"`
		PodCount          int    `yaml:"podCount" env-default:"11"`
		Duration          string `yaml:"duration" env-default:"240s"`
		Timeout           string `yaml:"timeout" env-default:"900s"`
		ThinkTime         string `yaml:"thinkTime" env-default:"10ms"`
		LoopCount         uint   `yaml:"loopCount" env-default:"7"`
	} `yaml:"maximumVolsIO"`
	ControlPlaneRescheduling struct {
		// Count of mayastor volume
		MayastorVolumeCount int `yaml:"mayastorVolumeCount" env-default:"3"`
	} `yaml:"controlPlaneRescheduling"`
	ExpandMspDisk struct {
		// PartitionStartSize is the start size of partitioned disk
		PartitionStartSize string `yaml:"partitionStartSize" env-default:"1GiB"`
		// PartitionEndSize is the end size of partitioned disk
		PartitionEndSize string `yaml:"partitionEndSize" env-default:"3GiB"`
		// ResizePartitionDisk is the end size of partiioned disk to resize the disk
		ResizePartitionDisk string `yaml:"resizePartitionDisk" env-default:"5GiB"`
		// Duration is in seconds
		Duration int `yaml:"duration" env-default:"60"`
		// VolSizeMb Units are MiB
		VolSizeMb int `yaml:"volSizeMb" env-default:"312"`
	}
	ValidateIntegrityTest struct {
		Replicas   int `yaml:"replicas" env-default:"3"`
		FioTimeout int `yaml:"fioTimeout" env-default:"2000"`
		VolMb      int `yaml:"volMb" env-default:"500"`
	} `yaml:"validateIntegrityTest"`
	PvcReadWriteOnce struct {
		// FioTimeout is in seconds
		FioTimeout int `yaml:"fioTimeout" env-default:"120"`
	} `yaml:"pvcReadWriteOnce"`
	PvcDelete struct {
		// VolSizeMb Units are MiB
		VolSizeMb int `yaml:"volSizeMb" env-default:"1024"`
		// FsVolSizeMb Units are MiB
		FsVolSizeMb              int `yaml:"fsVolSizeMb" env-default:"900"`
		PodUnscheduleTimeoutSecs int `yaml:"podUnscheduleTimeoutSecs" env-default:"100"`
		PodRescheduleTimeoutSecs int `yaml:"podRnscheduleTimeoutSecs" env-default:"180"`
	} `yaml:"pvcDelete"`
	PrimitiveMaxVolsInPool struct {
		// exception to 300Mb min size limit large numbers of volumes
		// and ext4 FS volumes filesystem
		VolMb              int `yaml:"volMb" env-default:"32"`
		VolumeCountPerPool int `yaml:"volumeCountPerPool" env-default:"110"`
		Replicas           int `yaml:"replicas" env-default:"2"`
	} `yaml:"primitiveMaxVolsInPool"`
	PrimitiveMspState struct {
		ReplicaSize            int    `yaml:"replicaSize" env-default:"1073741824"`
		PoolDeleteTimeoutSecs  string `yaml:"poolDeleteTimeoutSecs" env-default:"30s"`
		PoolCreateTimeoutSecs  string `yaml:"poolCreateTimeoutSecs" env-default:"20s"`
		PoolUsageTimeoutSecs   string `yaml:"poolUsageTimeoutSecs" env-default:"90s"`
		PoolUsageSleepTimeSecs string `yaml:"poolUsageSleepTimeSecs" env-default:"2s"`
		IterationCount         int    `yaml:"iterationCount" env-default:"100"`
	} `yaml:"primitiveMspState"`
	PrimitiveReplicas struct {
		Iterations  int `yaml:"iterations" env-default:"100"`
		StartSizeMb int `yaml:"startSizeMb" env-default:"128"`
		EndSizeMb   int `yaml:"endSizeMb" env-default:"4096"`
		SizeStepMb  int `yaml:"sizeStepMb" env-default:"310"`
	} `yaml:"primitiveReplicas"`
	PrimitiveMspDelete struct {
		ReplicaSize            int    `yaml:"replicaSize" env-default:"10000000"`
		ReplicasTimeoutSecs    string `yaml:"replicasTimeoutSecs" env-default:"30s"`
		PoolUsageTimeoutSecs   string `yaml:"poolUsageTimeoutSecs" env-default:"30s"`
		PoolDeleteTimeoutSecs  string `yaml:"poolDeleteTimeoutSecs" env-default:"40s"`
		PoolCreateTimeoutSecs  string `yaml:"poolCreateTimeoutSecs" env-default:"20s"`
		MayastorRestartTimeout int    `yaml:"mayastorRestartTimeout" env-default:"240"`
		Iterations             int    `yaml:"iterations" env-default:"30"`
	} `yaml:"primitiveMspDelete"`

	PrimitiveMspStressTest struct {
		PartitionSizeInGiB int `yaml:"partitionSizeInGiB" env-default:"1"`
		PartitionCount     int `yaml:"partitionCount" env-default:"5"`
		Iterations         int `yaml:"iterations" env-default:"10"`
	} `yaml:"PrimitiveMspStressTest"`
	ConcurrentPvcCreate struct {
		Replicas int `yaml:"replicas" env-default:"1"`
		// exception to 300Mb min size limit large numbers of volumes
		// and raw block volumes filesystem
		VolSize         int `yaml:"volMb" env-default:"64"`
		Iterations      int `yaml:"iterations" env-default:"10"`
		VolumeMultipler int `yaml:"volumeMultipler" env-default:"10"`
	} `yaml:"concurrentPvcCreate"`
	PrimitiveFaultInjection struct {
		VolMb     int    `yaml:"volMb" env-default:"512"`
		Replicas  int    `yaml:"replicas" env-default:"3"`
		Duration  string `yaml:"duration" env-default:"240s"`
		Timeout   string `yaml:"timeout" env-default:"420s"`
		ThinkTime string `yaml:"thinkTime" env-default:"10ms"`
	} `yaml:"primitiveFaultInjection"`
	PrimitiveDataIntegrity struct {
		VolMb   int    `yaml:"volMb" env-default:"1024"`
		Timeout string `yaml:"timeout" env-default:"420s"`
	} `yaml:"primitiveDataIntegrity"`
	MsvRebuild struct {
		Replicas       int    `yaml:"replicas" env-default:"1"`
		UpdatedReplica int    `yaml:"updatedreplica" env-default:"2"`
		VolSize        int    `yaml:"volSize" env-default:"312"`
		Timeout        string `yaml:"timeout" env-default:"120s"`
		PollPeriod     string `yaml:"pollPeriod" env-default:"1s"`
		DurationSecs   int    `yaml:"durationSecs" env-default:"180"`
		SleepSecs      int    `yaml:"sleepSecs" env-default:"3"`
	} `yaml:"msvRebuild"`
	PrimitiveMsvFuzz struct {
		VolMb               int    `yaml:"volMb" env-default:"312"`
		VolumeCountPerPool  int    `yaml:"volumeCountPerPool" env-default:"2"`
		Iterations          int    `yaml:"iterations" env-default:"2"`
		Replicas            int    `yaml:"replicas" env-default:"1"`
		InvalidReplicaCount int    `yaml:"invalidReplicaCount" env-default:"-1"`
		UnsupportedProtocol string `yaml:"unsupportedProtocol" env-default:"xyz"`
		UnsupportedFsType   string `yaml:"unsupportedFsType" env-default:"xyz"`
		IncorrectScName     string `yaml:"incorrectScName" env-default:"xyz"`
		LargePvcSize        int    `yaml:"largePvcSize" env-default:"11000000000000"`
		VolCount            int    `yaml:"volCount" env-default:"115"`
	} `yaml:"primitiveMsvFuzz"`
	FsxExt4Stress struct {
		VolMb             int    `yaml:"volMb" env-default:"1024"`
		Replicas          int    `yaml:"replicas" env-default:"3"`
		FileSystemType    string `yaml:"fileSystemType" env-default:"ext4"`
		NumberOfOperation int    `yaml:"numberOfOperation" env-default:"9977777"`
	} `yaml:"fsxExt4Stress"`
	PvcCreateDelete struct {
		Replicas         int `yaml:"replicas" env-default:"3"`
		VolSize          int `yaml:"volMb" env-default:"20"`
		Iterations       int `yaml:"iterations" env-default:"1"`
		VolumeMultiplier int `yaml:"volumeMultiplier" env-default:"110"`
		DelayTime        int `yaml:"delayTime" env-default:"10"`
	} `yaml:"pvcCreateDelete"`
	ScIscsiValidation struct {
		VolMb               int    `yaml:"volMb" env-default:"1024"`
		Replicas            int    `yaml:"replicas" env-default:"1"`
		UnsupportedProtocol string `yaml:"unsupportedProtocol" env-default:"iscsi"`
	} `yaml:"scIscsiValidation"`
	CommunicationDisruption struct {
		SleepTimeInSec int `yaml:"sleepTimeInSec" env-default:"120"`
	} `yaml:"communicationDisruption"`
	XFSTests struct {
		VolMb             int    `yaml:"volMb" env-default:"4608"`
		Replicas          int    `yaml:"replicas" env-default:"3"`
		FileSystemType    string `yaml:"fileSystemType" env-default:"xfs"`
		NumberOfOperation int    `yaml:"numberOfOperation" env-default:"9977777"`
	} `yaml:"xfsTests"`
	CsiMetricsWriteData struct {
		VolMb     int `yaml:"volMb" env-default:"7168"`
		FioSizeMb int `yaml:"fioSizeMb" env-default:"1024"`
	} `yaml:"csiMetricsWriteData"`
	DiskTestMaximumVolsIO struct {
		VolMb             int    `yaml:"volMb" env-default:"312"`
		VolumeCountPerPod int    `yaml:"volumeCountPerPod" env-default:"1"`
		PodCount          int    `yaml:"podCount" env-default:"110"`
		Duration          string `yaml:"duration" env-default:"240s"`
		Timeout           string `yaml:"timeout" env-default:"900s"`
	} `yaml:"DiskTestMaximumVolsIO"`
	Event struct {
		PoolStateChangeEventEnabled int `yaml:"poolStateChangeEventEnabled" env-default:"0"`
		VolStateChangeEventEnabled  int `yaml:"volStateChangeEventEnabled" env-default:"0"`
	} `yaml:"event"`
}

E2EConfig is an application configuration structure

func GetConfig

func GetConfig() E2EConfig

This function is called early from junit and various bits have not been initialised yet so we cannot use logf or Expect instead we use fmt.Print... and panic.

type ProductSpec

type ProductSpec struct {
	AgentCoreContainerName            string            `yaml:"agentCoreContainerName" env-default:"agent-core"`
	AlertManagerPodPrefix             string            `yaml:"alertManagerPodPrefix" env-default:"alertmanager"`
	ControlPlaneAgent                 string            `yaml:"controlPlaneAgent" env-default:"core-agents"`
	ControlPlaneCoreAgent             string            `yaml:"controlPlaneCoreAgent" env-default:"agent-core"`
	ControlPlaneCsiController         string            `yaml:"controlPlaneCsiController" env-default:"csi-controller"`
	ControlPlaneEtcd                  string            `yaml:"controlPlaneEtcd" env-default:"mayastor-etcd"`
	ControlPlanePoolOperator          string            `yaml:"controlPlanePoolOperator" env-default:"msp-operator"`
	ControlPlaneRestServer            string            `yaml:"controlPlaneRestServer" env-default:"rest"`
	ControlPlaneLocalpvProvisioner    string            `yaml:"controlPlaneLocalpvProvisioner" env-default:"mayastor-localpv-provisioner"`
	ControlPlaneObsCallhome           string            `yaml:"controlPlaneObsCallhome" env-default:"mayastor-obs-callhome"`
	CpuCount                          string            `yaml:"cpuCount" env-default:"2"`
	CrdGroupName                      string            `yaml:"crdGroupName" env-default:"openebs.io"`
	CrdPoolsResourceName              string            `yaml:"crdPoolsResourceName" env-default:"mayastorpools"`
	CsiDaemonsetName                  string            `yaml:"csiDaemonsetName" env-default:"mayastor-csi"`
	CsiNodeServiceAppLabel            string            `yaml:"csiNodeServiceAppLabel" env-default:"csi-node"`
	CsiNodeServiceDaemonset           string            `yaml:"csiNodeServiceDaemonset" env-default:"mayastor-csi-node"`
	CsiNodeContainerName              string            `yaml:"csiNodeContainerName" env-default:"csi-node"`
	CsiProvisioner                    string            `yaml:"csiProvisioner" env-default:"io.openebs.csi-mayastor"`
	DaemonsetName                     string            `yaml:"daemonsetName" env-default:"mayastor"`
	DataPlaneNats                     string            `yaml:"dataPlaneNats" env-default:"nats"`
	DockerOrganisation                string            `yaml:"dockerOrganisation" env-default:"openebs"`
	DockerSecretName                  string            `yaml:"dockerSecretName" env-default:""`
	EngineLabel                       string            `yaml:"engineLabel" env-default:"openebs.io/engine"`
	EngineLabelValue                  string            `yaml:"engineLabelValue" env-default:"mayastor"`
	EtcdYaml                          string            `yaml:"etcdYaml" env-default:"etcd"`
	EventBusNatsSts                   string            `yaml:"eventBusNatsSts" env-default:"mayastor-nats"`
	HaNodeAgentDs                     string            `yaml:"haNodeAgentDs" env-default:"mayastor-agent-ha-node"`
	HaNodeAgentPodPrefix              string            `yaml:"haNodeAgentPodPrefix" env-default:"mayastor-agent-ha-node"`
	HelmReleaseName                   string            `yaml:"helmReleaseName" env-default:"mayastor"`
	OpenEBSHelmReleaseName            string            `yaml:"openEBSHelmReleaseName"`
	IOEnginePodLabelValue             string            `yaml:"ioEnginePodLabelValue" env-default:"io-engine"`
	IOEnginePodName                   string            `yaml:"ioEnginePodName"`
	JaegersCrdName                    string            `yaml:"jaegersCrdName" env-default:"jaegers.jaegertracing.io"`
	KubectlPluginName                 string            `yaml:"kubectlPluginName" env-default:"kubectl-mayastor"`
	KubectlPluginPort                 int               `yaml:"kubectlPluginPort" env-default:"30011"`
	LogConfigResources                []string          `yaml:"logConfigResources"`
	LogDumpCsiAttacherName            string            `yaml:"logDumpCsiAttacherName" env-default:"csi-attacher"`
	LogDumpCsiDriverRegistrarName     string            `yaml:"logDumpCsiDriverRegistrarName" env-default:"csi-driver-registrar"`
	LogDumpCsiProvisionerName         string            `yaml:"logDumpCsiProvisionerName" env-default:"csi-provisioner"`
	LogDumpCsiResizerName             string            `yaml:"logDumpCsiResizerName" env-default:"csi-resizer"`
	LogDumpCsiSnapshotControllerName  string            `yaml:"logDumpCsiSnapshotControllerName" env-default:"csi-snapshot-controller"`
	LogDumpCsiSnapshotterName         string            `yaml:"logDumpCsiSnapshotterName" env-default:"csi-snapshotter"`
	LogDumpDirs                       []string          `yaml:"logDumpDirs"`
	LogDumpEngineLabel                string            `yaml:"logDumpEngineLabel"`
	LogDumpHaClusterName              string            `yaml:"logDumpHaClusterName"`
	LogDumpMetricsExporterLabel       string            `yaml:"logDumpMetricsExporterLabel"`
	LoggingLabel                      string            `yaml:"loggingLabel" env-default:"openebs.io/logging"`
	LogLevel                          string            `yaml:"logLevel" env-default:"debug"`
	LokiStatefulset                   string            `yaml:"lokiStatefulset" env-default:"mayastor-loki"`
	MetricsPollingInterval            string            `yaml:"metricsPollingInterval" env-default:"30s"`
	MongoAuthDatabase                 string            `yaml:"mongoAuthDatabase" env-default:"test"`
	MongoAuthPassword                 string            `yaml:"mongoAuthPassword" env-default:"admin123"`
	MongoAuthRootPassword             string            `yaml:"mongoAuthRootPassword" env-default:"r00tAdmin"`
	MongoAuthUsername                 string            `yaml:"mongoAuthUsername" env-default:"admin"`
	MongoDatabasePort                 int               `yaml:"mongoDatabasePort" env-default:"27017"`
	MongoDefaultChartVersion          string            `yaml:"mongoDefaultChartVersion" env-default:"14.5.0"`
	OpenEBSHelmChartName              string            `yaml:"openEBSHelmChartName"`
	OpenEBSHelmRepoName               string            `yaml:"openEBSHelmRepoName"`
	OpenEBSHelmRepoUrl                string            `yaml:"openEBSHelmRepoUrl"`
	MongoHelmRepo                     string            `yaml:"mongoHelmRepo" env-default:"bitnami/mongodb"`
	MongoHelmRepoName                 string            `yaml:"mongoHelmRepoName" env-default:"bitnami"`
	MongoHelmRepoUrl                  string            `yaml:"mongoHelmRepoUrl" env-default:"https://charts.bitnami.com/bitnami"`
	MongoReleaseName                  string            `yaml:"mongoReleaseName" env-default:"ms-mongo"`
	NatsPort                          string            `yaml:"natsPort" env-default:"4222"`
	NvmeControllerModel               string            `yaml:"nvmeControllerModel" env-default:"Mayastor NVMe controller"`
	PartialRebuildCpTimeout           string            `yaml:"partialRebuildCpTimeout" env-default:"600s"`
	PgBenchImage                      string            `yaml:"pgBenchImage" env-default:"postgres:16"`
	PodLabelKey                       string            `yaml:"podLabelKey" env-default:"app"`
	PoolCrdName                       string            `yaml:"poolCrdName" env-default:"mayastorpools.openebs.io"`
	PostgresDatabaseName              string            `yaml:"postgresDatabaseName"`
	PostgresAuthPassword              string            `yaml:"postgresAuthPassword"`
	PostgresAuthRootPassword          string            `yaml:"postgresAuthRootPassword"`
	PostgresAuthUsername              string            `yaml:"postgresAuthUsername"`
	PostgresDatabasePort              int               `yaml:"postgresDatabasePort"`
	PostgresDefaultChartVersion       string            `yaml:"postgresDefaultChartVersion"`
	PostgresHelmRepo                  string            `yaml:"postgresHelmRepo"`
	PostgresHelmRepoName              string            `yaml:"postgresHelmRepoName"`
	PostgresHelmRepoUrl               string            `yaml:"postgresHelmRepoUrl"`
	PostgresReleaseName               string            `yaml:"postgresReleaseName"`
	PostgresK8sLabelName              string            `yaml:"postgresK8sLabelName"`
	PostgresK8sLabelValue             string            `yaml:"postgresK8sLabelValue"`
	ProductName                       string            `yaml:"productName" env-default:"mayastor"`
	ProductNamespace                  string            `yaml:"productNamespace" env-default:"mayastor"`
	OpenEBSProductNamespace           string            `yaml:"openEBSProductNamespace"`
	PrometheusPodPrefix               string            `yaml:"prometheusPodPrefix" env-default:"prometheus"`
	PrometheusPort                    int               `yaml:"prometheusPort" env-default:"30090"`
	PromtailDaemonsetName             string            `yaml:"promtailDaemonsetName" env-default:"mayastor-promtail"`
	RestApiPort                       int               `yaml:"restApiPort" env-default:"30011"`
	RestApiService                    string            `yaml:"restApiService" env-default:"mayastor-api-rest"`
	StatsConfigMapName                string            `yaml:"statsConfigMap" env-default:"mayastor-event-store"`
	StatsDeployment                   string            `yaml:"statsDeployment" env-default:"mayastor-obs-callhome"`
	StatsPort                         string            `yaml:"statsPort" env-default:"9090"`
	StatsService                      string            `yaml:"statsService" env-default:"mayastor-obs-callhome-stats"`
	UpgradePodLabelValue              string            `yaml:"upgradePodLabelValue" env-default:"upgrade"`
	DiskPoolAPIVersionMap             map[string]string `yaml:"diskPoolAPIVersionMap"`
	ChartName                         string            `yaml:"chartName"`
	ChartVersion                      string            `yaml:"chartVersion" env-default:"0.0.0-main"`
	LocalPVContainerName              string            `yaml:"localPVContainerName" env-default:"mayastor-localpv-provisioner"`
	LocalEngineComponentPodLabelKey   string            `yaml:"localEngineComponentPodLabelKey"`
	LvmEngineComponentDsPodLabelValue string            `yaml:"lvmEngineComponentDsPodLabelValue"`
	ZfsEngineComponentDsPodLabelValue string            `yaml:"zfsEngineComponentDsPodLabelValue"`
	LvmEngineDaemonSetName            string            `yaml:"lvmEngineDaemonSetName"`
	ZfsEngineDaemonSetName            string            `yaml:"zfsEngineDaemonSetName"`
	ZfsEngineProvisioner              string            `yaml:"zfsEngineProvisioner"`
	LvmEngineProvisioner              string            `yaml:"lvmEngineProvisioner"`
	HostPathEngineProvisioner         string            `yaml:"hostPathEngineProvisioner"`
	LvmEngineControllerDeploymentName string            `yaml:"lvmEngineControllerDeploymentName"`
	LvmEngineLeaseName                string            `yaml:"lvmEngineLeaseName"`
	LvmEnginePluginContainerName      string            `yaml:"lvmEnginePluginContainerName"`
	LvmEnginePluginDriverName         string            `yaml:"lvmEnginePluginDriverName"`
	UmbrellaOpenebsHelmChartName      string            `yaml:"umbrellaOpenebsHelmChartName"`
	UseUmbrellaOpenEBSChart           bool              `yaml:"useUmbrellaOpenEBSChart" env:"e2e_use_umbrella_openebs_chart" env-default:"false"`
	PrometheusNodeExporterServicePort int               `yaml:"prometheusNodeExporterServicePort" env-default:"10100"`
	ZfsEnginePluginContainerName      string            `yaml:"zfsEnginePluginContainerName"`
	ZfsEnginePluginDriverName         string            `yaml:"zfsEnginePluginDriverName"`
	ZfsEngineControllerDeploymentName string            `yaml:"zfsEngineControllerDeploymentName"`
	ZfsEngineLeaseName                string            `yaml:"zfsEngineLeaseName"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL