Deploying the FACT-R Helm Chart
Preparing for Deployment
FACT-R deployment requires:
- A configured Kubernetes or Deckhouse cluster.
- Cluster management tools: kubectl and the Helm package manager.
- A configured Ingress, such as NGINX, or Gateway API, such as Traefik, for external access.
- Access to the public image registry:
registry.dppm.pro.
Deployment Procedure
- Download the chart:
helm pull oci://registry.dppm.pro/charts/factr --version 6.5.0
- Prepare the factr-values.yaml configuration file. Two routing options are available:
Option 1: Using Ingress
env:
PLANR_URL: "https://plan-r.local" # URL for accessing PLAN-R
ingress:
enabled: true
hostname: "fact-r.local" # Domain for the FACT-R module
Option 2: Using Gateway API
env:
PLANR_URL: "https://plan-r.local" # URL for accessing PLAN-R
httpRoute:
enabled: true
hostnames:
- "fact-r.local" # Domain for the FACT-R module
parentRefs:
- name: gateway
- Install the chart:
helm upgrade --install factr oci://registry.dppm.pro/charts/factr --version 6.5.0 -f factr-values.yaml
Updating the FACT-R Module
To update FACT-R, run:
helm upgrade factr oci://registry.dppm.pro/charts/factr --version <NEW_VERSION> -f factr-values.yaml
Uninstalling the FACT-R Module
To completely remove a separately deployed FACT-R module, run:
helm uninstall factr
Reverse Proxy Mode
Use this scenario when the FACT-R frontend runs in an isolated environment, such as a DMZ, while the PLAN-R backend runs within a protected internal network.
In this scenario, configure the Ingress controller in the FACT-R cluster as a reverse proxy.
- Prepare factr-values.yaml, adding the proxy configuration through extraDeploy. Use reverse-proxy.yaml from the chart's examples/ directory as a starting point:
env:
PLANR_URL: "https://fact-r.local" # Same domain, without the /planr prefix
HIDE_URL_FIELD: "true" # Hide the server address selection field
ingress:
enabled: true
hostname: "fact-r.local" # Domain for the FACT-R module
# Add the extraDeploy block from examples/reverse-proxy.yaml
# Specify the actual PLAN-R server IP address and PLAN-R FQDN in the annotations
extraDeploy: []
- Install the FACT-R chart:
helm upgrade --install factr oci://registry.dppm.pro/charts/factr --version 6.5.0 -f factr-values.yaml
Attention: The example Ingress manifest in extraDeploy may require adjustments for your Ingress controller, such as Traefik or HAProxy.