Custom configuration references
You can customize your dedicated runtime pods.
In addition to the resources and the number of replicas, the dedicated runtime pod feature supports custom configurations:
- webConfigRef: References a ConfigMap that contains properties to customize the Decision Server Runtime behavior. For more information, see Customizing new Decision Server components.
- xuConfigRef: References a ConfigMap that contains properties to optimize the execution unit (XU). For more information, see Optimizing the execution unit (XU).
If either webConfigRef or xuConfigRef is specified at the decisionServerRuntime level but not in a specific runtime configuration, the dedicated runtime pod automatically inherits and uses the configuration specified at the decisionServerRuntime level. This inheritance behavior allows for consistent configuration across all the pods while still enabling customization for specific dedicated runtime pods when needed.
Example of configuration inheritance:
decisionServerRuntime:
webConfigRef: "GlobalWebConfig" # Applied to main runtime and inherited by dedicated runtimes
xuConfigRef: "GlobalXUConfig" # Applied to main runtime and inherited by dedicated runtimes
dedicated:
- name: miniloan
paths:
- /miniloan
# No webConfigRef specified, will use "GlobalWebConfig" from parent
xuConfigRef: "MiniloanXUConfig" # Override global XU config for this runtime only
- name: loan-validation
paths:
- /loan-validation
webConfigRef: "LoanWebConfig" # Override global web config for this runtime only
# No xuConfigRef specified, will use "GlobalXUConfig" from parent