Go to primary content
Oracle® Communications Service Communication Proxy (SCP) Cloud Native Installation Guide
Release 1.0
F12352-01
Go To Table Of Contents
Contents

Previous
Previous

B OCSCP Yaml File

Following is the sample OCSCP Yaml file:

The OCSCP Yaml file can also be downloaded from OHC.

global:
  domain: svc.cluster.local
  clusterDomain: cluster.local
  # If you want to assign a load balancer IP,set loadbalanceripenbled flag to true and
  # provide value for flag loadbalancerip
  # else a random IP will be assigned if loadbalanceripenbled is false
  # and it will not use loadbalancerip flag
  publicSignalingIPSpecified: false
  publicSignalingIP: 10.75.212.88
  publicSignalingPort: 8000
  adminport: 8001
  scpInfo:
     fqdn: scp-worker.scpsvc.svc.cluster.local
     nfType: CUSTOM_ORACLE_SCP
     nfStatus: REGISTERED
     locality: Loc7
     customInfo:
       mateScpInfo:
         capacity: 500
         priority: 1
         mateSCPLocalities:
         - Loc10
       servingLocalities:
       - Loc7
       - Loc8
       - Loc9
       - US East
       remainingLocalities:
       - Loc1
       - Loc2
       - Loc3
       - Loc4
       - Loc5
       - Loc6
     nfInstanceId: 6faf1bbc-6e4a-4454-a507-a14ef8e1bc5e
  nrfDetails:
    - nfType: []
      nrfManagement:
        fqdn: ocnrf1-ambassador.k1-nrf.svc.cluster.local
        port: '80'
        scheme: HTTP2
        priority: 0 # Default value is 0
        capacity: 100 # Default value is 100
        ipEndPoints:
          - ipv4Address: 10.104.121.231
            transport: TCP # Default value is TCP
            port: 80 # Default value is 80
      nrfDiscovery:
        fqdn: ocnrf1-ambassador.k1-nrf.svc.cluster.local
        port: '80'
        scheme: HTTP2
        priority: 0 # Default value is 0
        capacity: 100 # Default value is 100
        ipEndPoints:
          - ipv4Address: 10.104.121.231
            transport: TCP # Default value is TCP
            port: 80 # Default value is 80
    - nfType: []
      nrfManagement:
        fqdn: ocnrf2-ambassador.k1-nrf.svc.cluster.local
        port: '80'
        scheme: HTTP2
        priority: 1 # Default value is 0
        capacity: 100 # Default value is 100
        ipEndPoints:
          - ipv4Address: 10.106.232.232
            transport: TCP # Default value is TCP
            port: 80 # Default value is 80
      nrfDiscovery:
        fqdn: ocnrf2-ambassador.k1-nrf.svc.cluster.local
        port: '80'
        scheme: HTTP2
        priority: 0 # Default value is 0
        capacity: 100 # Default value is 100
        ipEndPoints:
          - ipv4Address: 10.106.232.232
            transport: TCP # Default value is TCP
            port: 80 # Default value is 80
scpc-soothsayer:
  init:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-init
      tag: 1.0.0
      pullPolicy: Always
  configuration:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-configuration
      tag: 1.0.0
      pullPolicy: Always
    resources:
      memory: 1Gi
      cpu: 0.5
     reconfiguration:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-reconfiguration
      tag: 1.0.0
      pullPolicy: Always
    resources:
      memory: 1Gi
      cpu: 0.5
     subscription:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-subscription
      tag: 1.0.0
      pullPolicy: Always
    resources:
      memory: 1Gi
      cpu: 1
     notification:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-notification
      tag: 1.0.0
      pullPolicy: Always
    resources:
      memory: 4Gi
      cpu: 3
     audit:
    image:
      repository: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-audit
      tag: 1.0.0
      pullPolicy: Always
    resources:
      memory: 1Gi
      cpu: 1
  defaultLocalityToScp: true
  configService:
    # If you want to assign a load balancer IP,set loadbalanceripenbled flag to true and
    # provide value for flag loadbalancerip
    # else a random IP will be assigned if loadbalanceripenbled is false
    # and it will not use loadbalancerip flag
    publicConfigIPSpecified: false
    publicConfigIP: 10.75.212.88
            # If you want to provide a static nodePort, make staticnodeportenabled flag to true and
    # provide value for flag nodeport ,
    # else a random nodePort will be assigned if staticnodeportenabled is false
    # and it will not use nodeport flag
    staticnodeportenabled: false
    # Port value should lie in between 30000-32767.
    nodeport: 30002
        # IP Address Pool from which should K8s config Service pick the IP Address
    configServiceNetworkNameEnabled: false
    configServiceNetworkName: "{metallb.universe.tf/address-pool: oam}"
scp-worker:
  image:
    repository: ocspf-registry.us.oracle.com:5000/ocscp/scp-worker
    tag: 1.0.0
    pullPolicy: Always
  jaeger:
    address: jaeger-collector.cne-infra.svc.cluster.local
    port_value: 9411
  # This flag tracingenable is used to enable or disable jaeger tracing
  tracingenable: true
  admin:
    enablejaegerbody: false
    retrytimeoutvalue: 5
  service:
    port:
#     If you want to provide a static nodePort, make staticnodeportenabled flag to true and
#     provide value for flag nodeport ,
#     else a random nodePort will be assigned if staticnodeportenabled is false
#     and it will not use nodeport flag
      staticnodeportenabled: false
      nodeport: 30001
        # IP Address Pool from which should K8s scp-worker Service pick the IP Address
    networkNameEnabled: false
    networkName: "{metallb.universe.tf/address-pool: signalling}"
       loglevel: warning
  prometheus:
    scrape: true
  resources:
    memory: 4Gi # also update 'heapoverloadcontrol.resource_monitors.max_heap_size_bytes'
    cpu: 4
  minreplicas: 2
  maxreplicas: 32
  heapoverloadcontrol:
    refresh_interval:
      seconds: 0
      nanos: 250000000
    resource_monitors:
      max_heap_size_bytes: 4294967296 #4096Mi
      #Max heap size is 4GB. The values below are expressed as a fraction of the Max Heap Size
    actions:
      stop_accepting_requests: 0.70 #as fraction of max heap size
      stop_accepting_connections: 0.75 #as fraction of max heap size
      shrink_heap: 0.70 # as fraction of max heap size (min of all other threshold values)
scpc-pilot:
  image:
    repository: ocspf-registry.us.oracle.com:5000/ocscp/scpc-pilot
    tag: 1.0.0
    pullPolicy: Always
  enableTracing: true
  minreplicas: 1
  maxreplicas: 10
  targetcpuutilpercent: 50
  resources:
    memory: 6Gi
    cpu: 4
  logOutputLevel: "default:info"
  logStacktraceLevel: "default:none"