Annotation Interface KubernetesNamespace


@Retention(RUNTIME) @Target(FIELD) public @interface KubernetesNamespace
Kubernetes Namespace
Annotation:
Description:
The @KubernetesNamespace annotation requests the Kubernetes Manager to allocate a namespace on the infrastructure Kubernetes clusters. The test can request as many namespaces as required so long as they can be supported simultaneously by the Kubernetes Manager configuration.
Examples:
@KubernetesNamespace
public IKubernetesNamesapce namespace;
Extra:
The IKubernetesNamespace interface gives the test access to create and manage resources on the Kubernetes cluster. See KubernetesNamespace and IKubernetesNamespace to find out more.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The kubernetesNamespaceTag identifies the Kubernetes names to other Managers or Shared Environments.
  • Element Details

    • kubernetesNamespaceTag

      String kubernetesNamespaceTag
      The kubernetesNamespaceTag identifies the Kubernetes names to other Managers or Shared Environments. If a test is using multiple Kubernetes namespace, each separate Kubernetes namespace must have a unique tag. If more than one Kubernetes namespace use the same tag, they will refer to the same Kubernetes namespace.
      Default:
      "PRIMARY"