Before installing Fortanix Armor, define the Kubernetes namespace where the operator and Armor platform components will be deployed.
Fortanix Armor uses two namespaces for deployment:
Operator namespace (
OPERATOR_NAMESPACE): The namespace where the Fortanix Armor Kubernetes Operator and the associated K8ssandra and Cassandra operators are installed.Armor deployment namespace (
ARMOR_NAMESPACE): The namespace where a specificArmorPlatformcustom resource and its associated Fortanix Armor components are deployed.
Only one instance of the Fortanix Armor Kubernetes Operator can be deployed per Kubernetes cluster. The operator operates with cluster-wide scope and can manage multiple ArmorPlatform resources across different namespaces.
Fortanix recommends deploying the operator and the Armor platform components in separate namespaces. Each Armor deployment must have its own namespace.
Define and Configure Operator Namespace
Set the OPERATOR_NAMESPACE environment variable to the Kubernetes namespace where you want to install the operator.
For example:
export OPERATOR_NAMESPACE="armor-operator"Create the operator namespace:
kubectl create namespace "$OPERATOR_NAMESPACE"Where:
OPERATOR_NAMESPACE: The namespace where the Fortanix Armor Kubernetes Operator and associated operators are installed.armor-operator: An example namespace name. Replace it with a namespace name appropriate for your environment.
Define and Configure the Armor Deployment Namespace
Set the ARMOR_NAMESPACE environment variable to the Kubernetes namespace you want to deploy the Armor platform.
For example:
export ARMOR_NAMESPACE="armor-operator"Create the Armor deployment namespace:
kubectl create namespace "$ARMOR_NAMESPACE"Where:
ARMOR_NAMESPACE: The namespace where theArmorPlatformcustom resource and its associated Armor components are deployed.armor-service: An example namespace name. Replace it with a namespace name appropriate for your environment.
NOTE
Use the same
ARMOR_NAMESPACEvalue throughout the installation procedure when creating resources associated with this Armor deployment.