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 # Locality of SCP where its deployed. mediation_status: DISABLED customInfo: mateScpInfo: capacity: 500 priority: 1 mateSCPLocalities: - Loc10 servingLocalities: - Loc7 - Loc8 - Loc9 - USEast remainingLocalities: - Loc1 - Loc2 - Loc3 - Loc4 - Loc5 - Loc6 nfInstanceId: 6faf1bbc-6e4a-4454-a507-a14ef8e1bc5e # Sample value. User needs to update this nfInstanceId per his network # NRF details for primary(Priority=0) and secondry(Priority=1) NRF. Note that these NRFs needs to be backend DB Synced. # For Secondary NRF details always make it priority lesser than First priority NRF, currently we set secondary NRF priority to 1. # In case of no secondry NRF user can comment the secondary NRF details nrfDetails: - nfType: [] nrfManagement: fqdn: ocnrf-endpoint.ocnrf.svc.cluster.local port: '80' scheme: HTTP2 priority: 0 # Default value is 0 capacity: 100 # Default value is 100 apiPrefix: USEast ipEndPoints: - ipv4Address: 10.104.121.231 transport: TCP # Default value is TCP port: 80 # Default value is 80 nrfDiscovery: fqdn: ocnrf-endpoint.ocnrf.svc.cluster.local port: '80' scheme: HTTP2 priority: 0 # Default value is 0 capacity: 100 # Default value is 100 apiPrefix: USEast 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 # Its value should be other than 0 since its lower priority nrf capacity: 100 # Default value is 100 apiPrefix: USEast 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: 1 # Default value is 0 capacity: 100 # Default value is 100 apiPrefix: USEast ipEndPoints: - ipv4Address: 10.106.232.232 transport: TCP # Default value is TCP port: 80 # Default value is 80 # Audit NF List for which audit discovery needs to be triggered. If list is not provided or empty all valid NFs will be considered. # NFs not part of nrfDetails will be ignored with warning. auditNFList: [] scpc-soothsayer: # registerScpWithNrf flag allows to specify whether user wants to start SCP registration with NRF. # subscriptionInterval flag is now renamed to retryInterval. subscription: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-subscription tag: 1.2.0 pullPolicy: Always resources: memory: 1Gi cpu: 0.5 serviceName: scpc-subscription # Configure time interval in seconds to run Subscription and registration process. Value should be valid integer retryInterval: 120 logLevel: INFO registerScpWithNrf: false notification: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-notification tag: 1.2.0 pullPolicy: Always resources: memory: 4Gi cpu: 3 serviceName: scpc-notification logLevel: INFO audit: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-audit tag: 1.2.0 pullPolicy: Always resources: memory: 1Gi cpu: 1 serviceName: scpc-audit # Configure time interval in seconds to run Audit. Value should be valid integer auditInterval: 120 logLevel: INFO configuration: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/soothsayer-configuration tag: 1.2.0 pullPolicy: Always resources: memory: 1Gi cpu: 0.5 serviceName: scpc-configuration logLevel: INFO # This flag when set to True will consider NFs in SCP's locality if no locality information is present during their NF registration. defaultLocalityToScp: true # Configure Serviceto get profile from NRF. Possible values are 1. nnrf-nfm 2. nnrf-disc . User must have to use nnrf-nfm if interplmnfqdn is part of profile nrfServiceForAudit: nnrf-nfm # Configure reverseProxyEnabled at soothsayer level. Possible values can be either true or false. reverseProxyEnabled: 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" nfServiceGroup: - nfType: CHF serviceName: nchf-spendinglimitcontrol primaryLocalities: - Loc7 - USEast secondaryLocalities: - Loc8 - Loc9 subsequentRequestRoutePolicy: routePolicy: Forward_Proxy reroutePolicy: rerouteOptions: RerouteWithinRegion - nfType: CHF serviceName: nchf-convergedcharging primaryRegionLocalities: - Loc7 - USEast secondaryRegionLocalities: - Loc8 - Loc9 subsequentRequestRoutePolicy: routePolicy: Forward_Proxy reroutePolicy: rerouteOptions: RerouteWithinRegion scp-worker: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/scp-worker tag: sprint_21_iteration_1 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: signaling" 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: imageDetails: image: ocspf-registry.us.oracle.com:5000/ocscp/scpc-pilot tag: sprint_21_iteration_1 pullPolicy: Always enableTracing: true minreplicas: 1 maxreplicas: 10 targetcpuutilpercent: 50 # To set Pilot Log level, by default it is set to info logOutputLevel: "default:info" # To set Pilot Log Stack Trace Level,by default is set to none logStacktraceLevel: "default:none" resources: memory: 6Gi cpu: 4