Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Label is used to select system tests for vCore deployment. Label = "vcore" // LabelVCoreDeployment is used to select all basic vCore deployment tests. LabelVCoreDeployment = "vcoredeployment" // LabelVCoreOperators is used to select all vCore initial-deployment deployment and configuration tests // excluding odf part. LabelVCoreOperators = "vcoreoperators" // LabelVCoreLSO is used to select lso configuration tests. LabelVCoreLSO = "vcorelso" // LabelVCoreODF is used to select odf configuration tests. LabelVCoreODF = "vcoreodf" // LabelUserCases is used to select all vCore user-cases tests. LabelUserCases = "vcoreusercases" // LabelVCoreRequirements is used to select all vCore requirements tests. LabelVCoreRequirements = "vcorerequirements" // VCoreLogLevel configures logging level for vCore related tests. VCoreLogLevel = 90 // MasterNodeRole master node role. MasterNodeRole = "master" // WorkerNodeRole master node role. WorkerNodeRole = "worker" // HugePagesSize hugepages size. HugePagesSize = "2M" // ExpectedHugePagesResource hugepages resource size. ExpectedHugePagesResource = "64Gi" // TopologyConfig performanceprofile topology config. TopologyConfig = "single-numa-node" // OpenshiftMachineAPINamespace openshift machine-api namespace. OpenshiftMachineAPINamespace = "openshift-machine-api" // MonitoringNetworkPolicyName monitoring networkpolicy name. MonitoringNetworkPolicyName = "allow-from-openshift-monitoring-ingress" // AllowAllNetworkPolicyName networkpolicy name. AllowAllNetworkPolicyName = "allow-all-ingress" // SctpModuleName sctp module name. SctpModuleName = "load-sctp-module" // TemplateFilesFolder path to the template files folder. TemplateFilesFolder = "./internal/config-files/" // ConfigurationFolderPath path to the folder dedicated to the saving all initial-deployment configuration. ConfigurationFolderPath = "/tmp/vcore-configfiles" // RegistryRepository local registry repository to mirror images to. RegistryRepository = "openshift" // OperatorsNamespace is a operator's deployment namespace. OperatorsNamespace = "openshift-marketplace" // SccName scc name. SccName = "vcore-control-plane-worker-scc" // SystemReservedCPU systemreserved cpu value. SystemReservedCPU = "500m" // SystemReservedMemory systemreserved memory value. SystemReservedMemory = "27Gi" // NMStateInstanceName is a name of the NMState instance. NMStateInstanceName = "nmstate" // NMStateOperatorName is a name of the NMState operator. NMStateOperatorName = "kubernetes-nmstate-operator" // NMStateDeploymentName is the NMState operator deployment name. NMStateDeploymentName = "nmstate-operator" // MetalLBOperatorNamespace is a metallb operator namespace. MetalLBOperatorNamespace = "metallb-system" // MetalLBOperatorName is a metallb operator name. MetalLBOperatorName = "metallb-operator" // MetalLBDaemonSetName default metalLb speaker daemonset names. MetalLBDaemonSetName = "speaker" // MetalLBSubscriptionName is a metallb operator subscription name. MetalLBSubscriptionName = "metallb-operator-subscription" // MetalLBOperatorDeploymentName is a metallb operator deployment name. MetalLBOperatorDeploymentName = "metallb-operator-controller-manager" // MetalLBInstanceName is a metallb operator namespace. MetalLBInstanceName = "metallb" // LSONamespace is a local storage operator namespace. LSONamespace = "openshift-local-storage" // LSOName is a local storage operator instance name. LSOName = "local-storage-operator" // ODFNamespace is an odf namespace. ODFNamespace = "openshift-storage" // StorageClassName is an ODF storage class name. StorageClassName = "ocs-storagecluster-ceph-rbd" // StorageClusterName is a storageCluster name. StorageClusterName = "ocs-storagecluster" // ODFStorageSystemName is an ODF storageSystem name. ODFStorageSystemName = "ocs-storagecluster-storagesystem" // RookCephConfigMapName is a rook ceph configmap name. RookCephConfigMapName = "rook-ceph-operator-config" // ODFLocalVolumeSetName is an ODF localVolumeSetName name. ODFLocalVolumeSetName = "ocs-deviceset" // LokiOperatorSubscriptionName is a loki operator subscription name. LokiOperatorSubscriptionName = "loki-operator" // LokiOperatorDeploymentName is a loki operator deployment name. LokiOperatorDeploymentName = "loki-operator-controller-manager" // LokiNamespace is a loki operator namespace. LokiNamespace = "openshift-operators-redhat" // LokiStackName is a lokiStack instance name. LokiStackName = "logging-loki" // LokiSecretName is a loki serviceAccount name. LokiSecretName = "logging-loki-s3" // ObjectBucketClaimName is an objectBucketClaim name. ObjectBucketClaimName = "loki-bucket-odf" // CLOName is a clusterlogging operator name. CLOName = "cluster-logging" // CLONamespace is a clusterlogging operator namespace. CLONamespace = "openshift-logging" // CLODeploymentName is a clusterlogging operator deployment name. CLODeploymentName = "cluster-logging-operator" // CLOInstanceName is a clusterlogging instance name. CLOInstanceName = "instance" // RedisLocalVolumeSetName is a redis localVolumeSetName name. RedisLocalVolumeSetName = "redis-deviceset" // DTPONamespace is a distributed tracing platform operator namespace. DTPONamespace = "openshift-distributed-tracing" // DTPOperatorSubscriptionName is a distributed tracing platform operator subscription name. DTPOperatorSubscriptionName = "jaeger-product" // DTPOperatorDeploymentName is a distributed tracing platform operator deployment name. DTPOperatorDeploymentName = "jaeger-operator" // KialiNamespace is a kiali operator namespace. KialiNamespace = "openshift-operators" // KialiOperatorSubscriptionName is a kiali operator subscription name. KialiOperatorSubscriptionName = "kiali-ossm" // KialiOperatorDeploymentName is a kiali operator deployment name. KialiOperatorDeploymentName = "kiali-operator" // SMONamespace is a service mesh operator namespace. SMONamespace = "openshift-operators" // SMOSubscriptionName is a service mesh operator subscription name. SMOSubscriptionName = "servicemeshoperator" // SMODeploymentName is a service mesh operator deployment name. SMODeploymentName = "istio-operator" // IstioNamespace is an istio operator namespace. IstioNamespace = "istio-system" // NTONamespace is a node tuning operator namespace. NTONamespace = "openshift-cluster-node-tuning-operator" // NTODeploymentName is a node tuning operator deployment name. NTODeploymentName = "cluster-node-tuning-operator" // SRIOVNamespace is a SR-IOV operator namespace. SRIOVNamespace = "openshift-sriov-network-operator" // SRIOVSubscriptionName is a SR-IOV operator subscription name. SRIOVSubscriptionName = "sriov-network-operator-subscription" // SRIOVDeploymentName is a SR-IOV operator deployment name. SRIOVDeploymentName = "sriov-network-operator" // SRIOVInjectorDaemonsetName is a SR-IOV operator injector daemonset name. SRIOVInjectorDaemonsetName = "network-resources-injector" // SRIOVWebhookDaemonsetName is a SR-IOV operator webhook daemonset name. SRIOVWebhookDaemonsetName = "operator-webhook" // KedaNamespace is a keda operator namespace. KedaNamespace = "openshift-keda" // KedaWatchAppName is a keda watch application name. KedaWatchAppName = "test-app" // KedaWatchNamespace is a keda watch namespace name. KedaWatchNamespace = "test-appspace" // KedaSubscriptionName is a keda operator subscription name. KedaSubscriptionName = "openshift-custom-metrics-autoscaler-operator" // KedaDeploymentName is a keda operator deployment name. KedaDeploymentName = "custom-metrics-autoscaler-operator" // KedaControllerName is a kedaController name. KedaControllerName = "keda" // NROPNamespace is a numa resources operator namespace. NROPNamespace = "openshift-numaresources" // NROPSubscriptionName is a numa resources operator subscription name. NROPSubscriptionName = "openshift-numaresources-operator" // NROPDeploymentName is a numa resources operator deployment name. NROPDeploymentName = "numaresources-controller-manager" // NROPInstanceName is a numa resources operator instance name. NROPInstanceName = "numaresourcesoperator" // NumaAwareSecondarySchedulerName is a numa-aware secondary pod scheduler name. NumaAwareSecondarySchedulerName = "numaresourcesscheduler" // NumaAwareSchedulerName is a numa-aware scheduler name. NumaAwareSchedulerName = "topo-aware-scheduler" // NumaWorkloadName is a numa workload name. NumaWorkloadName = "numa-workload-1" )
Variables ¶
View Source
var ( // Labels represents the range of labels that can be used for test cases selection. Labels = []string{systemtestsparams.Label, Label} // ReporterNamespacesToDump tells to the reporter from where to collect logs. ReporterNamespacesToDump = map[string]string{"vcore-test": "vcore-test"} // ReporterCRDsToDump tells to the reporter what CRs to dump. ReporterCRDsToDump = []k8sreporter.CRData{ {Cr: &corev1.PodList{}}, } // LocalImageRegistry represents the local registry. LocalImageRegistry = "image-registry.openshift-image-registry.svc:5000" // PossibleWorkerNodeRoles list of the possible worker roles. PossibleWorkerNodeRoles = []string{"odf", "control-plane-worker", "user-plane-worker"} // CpMCSelector the control-plane-worker nodes selector value. CpMCSelector = "machineconfiguration.openshift.io/role: control-plane-worker" // PpMCSelectorKey the user-plane-worker mc selector key. PpMCSelectorKey = "machineconfiguration.openshift.io/role: user-plane-worker" // OdfMCSelector the odf nodes selector value. OdfMCSelector = map[string]string{"machineconfiguration.openshift.io/role": "odf"} // CpNodesSelector the cp nodes selector value. CpNodesSelector = map[string]string{"node-role.kubernetes.io/control-plane-worker": ""} // PpNodesSelector the user-plane-worker nodes selector value. PpNodesSelector = map[string]string{"node-role.kubernetes.io/user-plane-worker": ""} // OdfNodesSelector the odf nodes selector value. OdfNodesSelector = map[string]string{"node-role.kubernetes.io/odf": ""} // NetworkPoliciesNamespaces list of the possible worker roles. NetworkPoliciesNamespaces = []string{"amfmme1", "nrf1", "nssf1", "smf1", "upf1"} // NetworkPolicyType the policyType value. NetworkPolicyType = netv1.PolicyTypeIngress // NetworkPolicyMonitoringNamespaceSelectorMatchLabels the namespaceSelector value. NetworkPolicyMonitoringNamespaceSelectorMatchLabels = map[string]string{ "network.openshift.io/policy-group": "monitoring", } // CpSccAllowCapabilities control-plane-worker scc AllowCapabilites value. CpSccAllowCapabilities = []corev1.Capability{"SYS_PTRACE", "SYS_ADMIN", "NET_ADMIN", "NET_RAW", "NET_BIND_SERVICE"} // CpSccGroups control-plane-worker scc Groups value. CpSccGroups = []string{"system:authenticated"} // CpSccDropCapabilities control-plane-worker scc DropCapabilites value. CpSccDropCapabilities = []corev1.Capability{"KILL", "MKNOD"} // CpSccVolumes control-plane-worker scc Volumes value. CpSccVolumes = []securityv1.FSType{"configMap", "downwardAPI", "emptyDir", "persistentVolumeClaim", "projected", "secret"} )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.