Go to primary content
Oracle® Communications Unified Data Repository Cloud Native Installation and Upgrade Guide
Release 1.0
F17617-01
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

3 Customizing User Data Repository

The User Data Repository deployment could be customized by overriding the default values of various configurable parameters.

In Deploying Cloud Native User Data Repository, the MySQL host is customized.

A ocudr_values.yaml file could be prepared by hand to customize the parameters.

Following is an example of User Data Repository customization file.

# Copyright 2018 (C), Oracle and/or its affiliates. All rights reserved.
 
ocudr:
  image:
    repository: reg-1:5000/ocudr/nudr_datarepository_service
    tag: 1.0.0
    pullPolicy: Always
 
  service:
    http2enabled: "true"
    type: ClusterIP   #Note: Suggested to be set as ClusterIP (default value) always
    port:
      http: 80
      https: 443
      management: 9000
 
  deployment:
    replicaCount: 2
 
  mysql:
    primaryhost: "ocudr-mysql"
    primaryport: "3306"
    secondaryhost: "ocudr-mysql"
    secondaryport: "3306"
    dbname: "udrdb"
    dsusername: "udruser"
    dspassword: "udrDbPasswd"
 
  hikari:
    poolsize: "25"
 
  logging:
    level:
      root: "WARN"
 
  nrfClient:
    host:
      baseurl: "http://ocnrf-endpoint.mynrf.svc.cluster.local/nnrf-nfm/v1/nf-instances"
      proxy:
    ssl: "false"
    logging:
      level:
        root: "WARN"
    image:
      repository: reg-1:5000/ocudr/nrf_client_service
      tag: 1.0.0
      pullPolicy: Always
    capacityMultiplier: "500"
    supirange: "[{\"start\": \"10000000000\", \"end\": \"20000000000\"}]"
    priority: "10"
    livenessProbeUrl: "http://nudr-drservice.myudr.svc.cluster.local:9000/actuator/health,http://ocudr-ambassador-admin.myudr.svc.cluster.local:8877/ambassador/v0/check_ready"
    fqdn: "ocudr-ambassador.myudr.svc.cluster.local"
 
  ambassador:
    id: ambassador-ocudr
 
  jaeger:
    service:
      name: "udr-jaeger-collector.default.svc.cluster.local"
      port: 9411
 
  resources:
    requests:
      cpu: 3
    target:
      averageCpuUtil: 80
 
  minReplicas: 1
  maxReplicas: 4
 
ambassador:
  ambassador:
    id: ambassador-ocudr
  service:
    type: LoadBalancer
    annotations:
      metallb.universe.tf/address-pool: signaling
  adminService:
    type: LoadBalancer
    annotations:
      metallb.universe.tf/address-pool: signaling
  image:
    repository: quay.io/datawire/ambassador
    tag: 0.40.2
    pullPolicy: IfNotPresent
  resources:
    requests:
      cpu: 3