OMServer custom resource manifest
Configure the OMServer custom resource by setting up the parameters as needed.
Remember: The commented parameters with # are optional for creating OMServer. The values in example 2 are provided for demonstration purpose only and must
me modified as required.
Example 1: OMServer configuration with the supported parameters and default values
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
name: ""
spec:
name: ""
# upgradeStrategy:""
replicaCount: 1
# podLabels: {}
# podAnnotations: {}
# profile: balanced
# property:
# customerOverrides: ""
# envVars: ""
# jvmArgs: ""
# image:
# name: ""
# variant: ""
# appServer:
# serverName: DefaultAppServer
# dataSource:
# minPoolSize: 10
# maxPoolSize: 50
# threads:
# min: 20
# max: 100
# libertyServerXml: default-server-xml
# livenessCheckBeginAfterSeconds: 900
# livenessFailRestartAfterMinutes: 10
# terminationGracePeriodSeconds: 60
# ingress:
# contextRoots: [smcfs, sbc, sma, isccs, wsc, adminCenter]
# customDomains:
# - host: ""
# className: ""
# annotations: ""
# labels: ""
# ssl:
# enabled: ""
# identitySecretName: ""
# annotations: {}
# labels: {}
# service:
# annotations: {}
# labels: {}
# vendor: websphere
# vendorFile: servers.properties
# agentServer:
# names: []
# allowTermination
# schedule
# readinessFailRestartAfterMinutes: 10
# terminationGracePeriodSeconds: 60
# integration:
# names: []
# allowTermination
# schedule
# readinessFailRestartAfterMinutes: 10
# terminationGracePeriodSeconds: 60
# affinityAndTolerations: ""
# horizontalPodAutoscaler: HPA1
Example 2: OMServer configuration with sample values for quick setup
# AppServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
name: oms-smcfs
spec:
name: smcfs
replicaCount: 1
upgradeStrategy: RollingUpdate
profile: huge
property:
customerOverrides: AppServerProperties
envVars: Liberty
jvmArgs: BaseJVMArgs
appServer:
ingress:
contextRoots: [smcfs, sbc, sma]
customDomains:
- host: ""
className: ""
annotations:
ingress.kubernetes.io/affinity: "cookie"
labels: {}
ssl:
enabled: ""
identitySecretName: mydomain_secret
---
# AgentServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
name: oms-agents-orderservice
spec:
name: agents-orderservice
profile: medium
property:
customerOverrides: AgentProperties
envVars: CommonEnvVars
jvmArgs: BaseJVMArgs
replicaCount: 1
agentServer:
names: [OrderArchiveServer, SSIDelayedSyncOSServer, PurgeSalesOrderDefaultSmartServer]
allowTermination:
schedule: 'none' # A Job will be created.
---
# IntegrationServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
name: oms-integration
spec:
name: oms-integration
profile: medium
property:
customerOverrides: AgentProperties
envVars: CommonEnvVars
jvmArgs: BaseJVMArgs
replicaCount: 1
integrationServer:
names: [Integration_Server1, Integration_Server2]
allowTermination:
schedule: '*/5 * * * *' # A CronJob will be created.