IVServiceGroup custom resource manifest
Use
IVServiceGroup to manage number of deployments, replica
counts, thread counts and more, for Inventory Visibility service resources.
To create an
IVServiceGroup, you can use any of the following methods:- Method 1: Specify the
nameproperty, which is the environment to which you want to deploy your service group. The service properties such asappServers,backendServers, and other properties, are automatically populated when the service group is created. You can customize it by configuring as needed. For more information, see Configuring IVServiceGroup custom resource (independent mode). - Method 2: Copy and paste an already tested
IVServiceGroupschema from one environment to another. This method saves you time from creating a service group from scratch.
You can run the following YAML to populate the spec based on the
kind and
name of the environment. The value of <name> can be
dev, production, or any value for the flexible mode.apiVersion: apps.sip.ibm.com/v1beta1
kind: IVServiceGroup
metadata:
name: <name>
namespace: <sip_installation_namespace>
spec: {}
The following examples illustrates schemas for IVServiceGroup custom
resource in a development and production modes.
apiVersion: apps.sip.ibm.com/v1beta1
kind: IVServiceGroup
metadata:
name: dev
namespace: <sip_installation_namespace>
spec:
active: true
# property:
# envVars: iv_properties
# jvmArgs: iv_jvmargs
# pod:
# podAnnotations:
# podLabels:
# logLevel: INFO ##Allowed values are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
# image:
# imagePullSecrets:
- name: ibm-entitlement-key
- name: my-private-registry-key1
# repository: <container_registry>
# tag: <release_tag>
# affinityAndTolerations: ""
# horizontalPodAutoscaler: ""
# topology: {}
appServers:
- active: true
names:
- ApiOperations
replicaCount: 1
pod:
podAnnotations: {}
podLabels: {}
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
- active: true
groupName: appserver
names:
- ApiSupplies
- ApiDemands
- ApiAvailability
- ApiReservation
- ApiBuc
- ApiConfig
replicaCount: 1
pod:
podAnnotations: {}
podLabels: {}
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
backendServers:
- active: true
names:
- 'Upgrade:1'
replicaCount: 1
pod:
podAnnotations: {}
podLabels: {}
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
- active: true
groupName: backend
names:
- 'ComputeProdAvl:1'
- 'DemandAuditPublisher:1'
- 'InvActivityPrcs:1'
- 'InvDemandSync:1'
- 'InvSupplySync:1'
- 'PromisingDistributionGroupSync:1'
- 'SupplyTransactionUpdater:1'
- 'ManageDgAvlBreakup:1'
- 'ManageInvDemand:1'
- 'ManageBundleItemDgAvlBreakup:1'
- 'ManageBundleItemNodeAvlBreakup:1'
- 'ManageInvSupply:1'
- 'ManageNodeAvlBreakup:1'
- 'ManageParentItemNodeAvlBreakup:1'
- 'SortDgAvlBreakupNodes:1'
- 'SupplyAuditPublisher:1'
- 'PromisingShipNodeSync:1'
- 'SyncAll:1'
- 'RulesTriggerConsumer:1'
- 'UpdateReservation:1'
- 'pubShipNodeAvailBreakup:1'
- 'PubDgAvailBreakup:1'
- 'PubSupply:1'
- 'PubDemand:1'
- 'PubSupplySnapshot:1'
- 'PubDemandSnapshot:1'
- 'PubShipNodeAvlBreakupSnapshot:1'
- 'Migration:1'
- 'PubAvailableSupplySnapshot:1'
- 'SegmentReallocation:1'
- 'PromisingNodeCapacitySync:1'
- 'PubDgAvlBreakupSnapshot:1'
- 'ReservationExpiryTrigger:1'
- 'Scheduler:1'
replicaCount: 1
pod:
podAnnotations: {}
podLabels: {}
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
defaultresources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 100m
memory: 1Gi
jobs:
- name: onboarding-job
pod:
podAnnotations: {}
podLabels: {}
affinityAndTolerations: ""
topology: {}
jobBackoffLimit: ""
logLevel: INFO
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
apiVersion: apps.sip.ibm.com/v1beta1
kind: IVServiceGroup
metadata:
name: production
namespace: <sip_installation_namespace>
spec:
active: false
# property:
# envVars: iv_properties
# jvmArgs: iv_jvmargs
# pod:
# podAnnotations:
# podLabels:
# logLevel: INFO ##Allowed values are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
# image:
# imagePullSecrets:
- name: ibm-entitlement-key
- name: my-private-registry-key1
# repository: <container_registry>
# tag: <release_tag>
# affinityAndTolerations: ""
# horizontalPodAutoscaler: ""
# topology: {}
appServers:
- active: true
names:
- ApiSupplies
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- ApiDemands
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- ApiAvailability
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- ApiReservation
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- ApiBuc
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- ApiConfig
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
backendServers:
- active: true
names:
- 'ComputeProdAvl:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'DemandAuditPublisher:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'InvActivityPrcs:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'InvDemandSync:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'InvSupplySync:1'
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'Migration:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PromisingDistributionGroupSync:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PromisingNodeCapacitySync:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubAvailableSupplySnapshot:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ReservationExpiryTrigger:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'RulesTriggerConsumer:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'Scheduler:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'SegmentReallocation:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'SupplyTransactionUpdater:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageDgAvlBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageInvDemand:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageBundleItemDgAvlBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageBundleItemNodeAvlBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageInvSupply:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageNodeAvlBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'ManageParentItemNodeAvlBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'SortDgAvlBreakupNodes:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'SupplyAuditPublisher:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PromisingShipNodeSync:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'SyncAll:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'UpdateReservation:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'pubShipNodeAvailBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubDgAvailBreakup:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubSupply:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubDemand:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubSupplySnapshot:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubDemandSnapshot:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubDgAvlBreakupSnapshot:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
- active: true
names:
- 'PubShipNodeAvlBreakupSnapshot:1'
replicaCount: 2
affinityAndTolerations: ""
horizontalPodAutoscaler: ""
topology: {}
pod:
podAnnotations:
podLabels:
logLevel: INFO
image:
tag: <release_tag>
pullPolicy: IfNotPresent
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
defaultresources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 100m
memory: 1Gi
jobs:
- name: onboarding-job
affinityAndTolerations: ""
topology: {}
jobBackofflimit: ""
pod:
podAnnotations:
podLabels:
logLevel: INFO
resources:
limits:
cpu: '1'
memory: 1536Mi
requests:
cpu: 250m
memory: 512Mi
status: