Deploying or Upgrading Payment Management
Installation Prerequisites
Kubernetes Resource Requirements
Container | CPU cores | RAM in GiB |
---|---|---|
paymentmanagement | 1.0 | 1.0 |
Persistent Storage Requirements
0.125 GiB
How to Deploy Payment Management
To deploy Payment Management:
- Ensure the prerequisites above.
- Follow the common CloudBlue Commerce component deployment procedure using the Payment Management deployment parameters below in the config.yaml.
How to Upgrade Payment Management
To update Payment Management, follow the common CloudBlue Commerce component update procedure using the Payment Management deployment parameters below in the config.yaml.
Payment Management Deployment Parameters
When installing or updating Payment Management, use the parameters below in the config.yaml.
Component Name
paymentmanagement
Common Parameters
Parameter | Default value |
---|---|
javaopts | -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -XX:InitialRAMPercentage=30.0 -XX:MaxRAMPercentage=70.0 -Djdk.tls.client.protocols=TLSv1.2 |
jdbcconnectionparams | ?sslmode=prefer&ApplicationName=paymentmanagement |
resources.requests.cpu | 1000m |
resources.requests.memory | 768Mi |
resources.limits.cpu | 4000m |
resources.limits.memory | 1280Mi |
Specific Parameters
Parameter | Default value | Description |
---|---|---|
oss.db.secret | oss-db | K8s secret that contains OSS DB credentials |
bss.db.secret | bss-db | K8s secret that contains BSS DB credentials |
bss.secret | bss | K8s secret that contains BSS XLM RPC API credentials |
Sample config.yaml
Default config.yaml:
--- components: paymentmanagement: {}
Full config.yaml:
--- components: paymentmanagement: javaopts: -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m -XX:InitialRAMPercentage=30.0 -XX:MaxRAMPercentage=70.0 -Djdk.tls.client.protocols=TLSv1.2 resources: requests: cpu: 1000m memory: 768Mi limits: cpu: 4000m memory: 1280Mi oss: db: secret: oss-db bss: secret: bss db: secret: bss-db jdbcconnectionparams: ?sslmode=prefer&ApplicationName=paymentmanagement
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.