Add helm chart for dmaapadapterservice
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
index bc9b179..24f3a8f 100644 (file)
 # Global common setting
 #-------------------------------------------------------------------------
 
-common:
-  releasePrefix: r2-dev-nonrtric
 
-# Change the namespaces using the following options
+# Here you can enable inclusion or exclusion of each component. A not installed component will not be installed.
+nonrtric:
+  installPms: true
+  installA1controller: false
+  installA1simulator: false
+  installControlpanel: true
+  installEnrichmentservice: true
+  installRappcatalogueservice: false
+  installNonrtricgateway: true
+  installKong: false
+  installDmaapAdapterservice: true
+  volume1:
+    # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
+    size: 2Gi
+    storageClassName: pms-storage
+  volume2:
+     # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
+    size: 2Gi
+    storageClassName: ecs-storage
+
+common:
+  releasePrefix: r3-dev-nonrtric
+# Do not change the namespace
   namespace:
     nonrtric: nonrtric
+  ingressClassName: kong
+enrichmentservice:
+  enrichmentservice:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      name: 'nonrtric-enrichment-coordinator-service'
+      tag: 1.2.0
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 9082
+      targetPort1: 8083
+      httpsName: https
+      internalPort2: 9083
+      targetPort2: 8434
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    persistence:
+      # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same. 
+      # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be fon instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
+      size: 2Gi
+      storageClassName: ecs-storage
 
-component: nonrtric
+# Need to check the external port Availability
+policymanagementservice:
+  policymanagementservice:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      name: nonrtric-policy-agent
+      tag: 2.2.1
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 9080
+      targetPort1: 8081
+      httpsName: https
+      internalPort2: 9081
+      targetPort2: 8433
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    persistence:
+      # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same. 
+      # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be fon instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
+      size: 2Gi
+      storageClassName: pms-storage
 
+
+# A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
 a1controller:
-  imagePullPolicy: IfNotPresent
-  image:
-    registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
-    name: nonrtric-a1-controller
-    tag: 1.7.4
-  replicaCount: 1
-  service:
-    internalPort: 8181
-    externalPort: 8282
+  a1controller:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
+      name: nonrtric-a1-controller
+      tag: 2.0.1
+    replicaCount: 1
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 8282
+      targetPort1: 8181
+      httpsName: https
+      internalPort2: 8383
+      targetPort2: 8443
+    liveness:
+      initialDelaySeconds: 300
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 60
+      periodSeconds: 10
 
 a1simulator:
-  name: a1-sim
-  imagePullPolicy: IfNotPresent
-  image:
-    registry: "nexus3.o-ran-sc.org:10004/o-ran-sc"
-    name: a1-simulator
-    tag: 1.0.1
-  service:
-    internalPort: 8085
-  oscVersion:
-    name: a1-sim-osc
-    replicaCount: 2
-  stdVersion:
-    name: a1-sim-std
-    replicaCount: 2
+  a1simulator:
+    name: a1-sim
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
+      name: a1-simulator
+      tag: 2.1.0
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 8085
+      targetPort1: 8085
+      httpsName: https
+      internalPort2: 8185
+      targetPort2: 8185
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    oscVersion:
+      name: a1-sim-osc
+      replicaCount: 2
+    stdVersion:
+      name: a1-sim-std
+      replicaCount: 2
+    stdVersion2:
+      name: a1-sim-std2
+      replicaCount: 2
 
 controlpanel:
-  imagePullPolicy: IfNotPresent
-  # image registry and tag to be changed after first release of controlpanel
-  image:
-    registry: "nexus3.o-ran-sc.org:10004/o-ran-sc"
-    name: nonrtric-controlpanel
-    tag: 1.0.0
-  replicaCount: 1
-  service:
-    internalPort: 8080
-    externalPort: 30090
+  controlpanel:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      name: nonrtric-controlpanel
+      tag: 2.2.0
+    replicaCount: 1
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 8080
+      targetPort1: 8080
+      externalPort1: 30091
+      httpsName: https
+      internalPort2: 8081
+      targetPort2: 8082
+      externalPort2: 30092
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
 
-policymanagementservice:
-  imagePullPolicy: IfNotPresent
-  image:
-    registry: "nexus3.o-ran-sc.org:10004/o-ran-sc"
-    name: nonrtric-policy-agent
-    tag: 1.0.0
-  service:
-    internalPort: 8081
-    #Need to check the external port Availability
-    externalPort: 30091
+    ingress:
+      enabled: false
+    ingress:
+      enabled: false
+rappcatalogueservice:
+  rappcatalogueservice:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
+      name: nonrtric-r-app-catalogue
+      tag: 1.0.0
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 9085
+      targetPort1: 8080
+      httpsName: https
+      internalPort2: 9086
+      targetPort2: 8433
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+
+nonrtricgateway:
+  nonrtricgateway:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      name: nonrtric-gateway
+      tag: 1.0.0
+    service:
+      httpName: http
+      internalPort1: 9090
+      targetPort1: 9090
+      externalPort1: 30093
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
 
+dmaapadapterservice:
+  dmaapadapterservice:
+    imagePullPolicy: IfNotPresent
+    image:
+      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      name: 'nonrtric-dmaap-adaptor'
+      tag: 1.0.0
+    service:
+      allowHttp: true
+      httpName: http
+      internalPort1: 9087
+      targetPort1: 8084
+      httpsName: https
+      internalPort2: 9088
+      targetPort2: 8435
+    liveness:
+      initialDelaySeconds: 20
+      periodSeconds: 10
+    readiness:
+      initialDelaySeconds: 20
+      periodSeconds: 10