Order Management Configuration Parameters
When installing or updating Order Management using the common CloudBlue Commerce component deployment procedure, use the parameters below in config.yaml.
Component Name
ordermanagement
Common Parameters
| Parameter | Default value |
|---|---|
| javaopts | -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -XX:InitialRAMPercentage=30.0 -XX:MaxRAMPercentage=70.0 |
| jdbcconnectionparams | ?sslmode=require&ApplicationName=order-management |
| db_secret | bss-db |
| mindbpoolsize | 1 |
| maxdbpoolsize | 16 |
| resources.requests.cpu | 1000m |
| resources.requests.memory | 1280Mi |
| resources.limits.cpu | 1000m |
| resources.limits.memory | 1280Mi |
Specific Parameters
None.
Sample config.yaml
Default config.yaml:
---
components:
ordermanagement: {}
Full config.yaml:
components:
ordermanagement:
oauthkey: 220d73c9-384e-4efc-99f2-28d42d259e7c
oauthsecret: 8570131c-4d12-4878-819c-16e950986770
javaopts: -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -XX:InitialRAMPercentage=30.0 -XX:MaxRAMPercentage=70.0
devmode:
enabled: false
# Load DB credentials from precreated secret
db_secret: bss-db
dsport: 5432
mindbpoolsize: 1
maxdbpoolsize: 16
jdbcconnectionparams: ?sslmode=require&ApplicationName=order-management
resources:
requests:
cpu: 1000m
memory: 1280Mi
limits:
cpu: 1000m
memory: 1280Mi
How to Obtain the Current config.yaml from CloudBlue Commerce
When updating CloudBlue Commerce components, you may need to obtain the current config.yaml.
To obtain the current config.yaml from CloudBlue Commerce, on a machine with kubectl, execute the following request:
kubectl -n NAMESPACE get secret config-yaml-backup -o "jsonpath={.data['config\.yaml']}" | base64 -d
Note: NAMESPACE is the namespace of your CloudBlue Commerce installation.
To find it, execute the following command:
kubectl describe svc oss-proxy | grep namespace
How to View the Deployment Parameters with Default Values for the Component Version You Want to Install (values.yaml)
To view the deployment parameters with default values (values.yaml) for the component version you want to install, run the following command from the machine with kubectl:
helm show values <component_name_for_config.yaml> --version <component_version> --username <username_for_deployment_repository> --password <username_for_deployment_repository> --repo <a_link_to_repository_with_CloudBlue Commerce_components>
For username and password to the deployment repository, please contact your Technical Account Manager.