Deploying or Updating OSS
To deploy or update OSS:
- Ensure OSS Installation Prerequisites.
- Follow Deploying CloudBlue Commerce Components.
Dependencies
The latest OSS component version, requires the following components to be installed:
-
BSS 21.9
-
UI and Branding 21.9
-
Payment Management 21.9
OSS Deployment Parameters
When installing or updating OSS using the common CloudBlue Commerce component deployment procedure, use the parameters below in config.yaml.
Component Name
oss
Common Parameters
None.
Specific Parameters
Parameter | Default value | Description |
---|---|---|
jboss.transactionTimeout | 300 | Transaction timeout in seconds |
replicaCount | 1 | The number of OSS pods |
adminPswd | The CloudBlue Commerce admin password (autogenerated by default) | |
resources.requests. cpu | 500m | Kubernetes resource requirements per OSS pod |
resources.requests.memory | 1Gi | Kubernetes resource requirements per OSS pod |
resources.limits.cpu | 8 | Kubernetes resource requirements per OSS pod |
resources.limits.memory | 8Gi | Kubernetes resource requirements per OSS pod |
oss.db.secret | OSS database access credentials | |
bss.db.secret | BSS database access credentials | |
flatCatalog.maximumPlansCacheSize | 1000 | Flat catalog cache size. Adjusting these parameters may be helpful if there is a memory leak in OSS pod. However, we recommend to get recommendation for your specific case before adjusting these parameters. |
flatCatalog.maximumItemsCacheSize | 1000 |
Sample config.yaml
--- components: oss: {} db: {} bss: {}
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.