Oracle® Communications Network Repository Function (NRF) Cloud Native Installation and Upgrade Guide Release 1.0 F16981-02 |
|
![]() Previous |
![]() Next |
This section describes about the NRF customization.
The NRF deployment is customized by overriding the default values of various configurable parameters.
Customize the yaml file
ocnrf-custom-values-1.0.0.yaml
as per the required parameters.
The
ocnrf-custom-values-1.0.0.yaml
template can be downloaded from OHC.
Download the package
Network Repository
Function (NRF) Custom Template
and Unzip to get
ocnrf-custom-values-1.0.0.yaml
file.
Sample content of ocnrf-custom-values-1.0.0.yaml
Note:
ocnrf-custom-values-1.0.0.yaml
file, refer section,
NRF Installation.
# Copyright 2018 (C), Oracle and/or its affiliates. All rights reserved. ############## # This yaml file could be supplied in helm install command when deploying OCNRF v1.0.0 # # helm install ocnrf/ --name ocnrf --namespace <namespace> -f <this file> # # Compatible with OCNRF CHART VERSION 1.0.0 # # I. # AND # set the hostname and port number of the primary sql node in # nfregistration.mysql.primary.host # nfregistration.mysql.secondary.host # nfregistration.mysql.port # nfsubscription.mysql.primary.host # nfsubscription.mysql.secondary.host # nfsubscription.mysql.port # nrfauditor.mysql.primary.host # nrfauditor.mysql.secondary.host # nrfauditor.mysql.port # nfdiscovery.mysql.primary.host # nfdiscovery.mysql.secondary.host # nfdiscovery.mysql.port # # II. # - To configure SPF as outbound proxy in NRF, # set the SPF worker's k8s service name (<servicename>.<namespace> or <complete fqdn> and port in # nfsubscription.http.proxy.host # nfsubscription.http.proxy.port # # III. # - To increase NF heartbeat timer # (when working with NFs/Simulators that are not capable of sending heartbeat), # set the duration following the convention (s)econds, (m)inutes, (h)ours, d(ays) # e.g. 10m, 2h, 1d, etc. in # nfregistration.nf.heartbeat.duration # nrfauditor.nf.heartbeat.duration ############# nfregistration: image: repository: ocnrf/ocnrf-nfregistration pullPolicy: IfNotPresent mysql: primary: host: "ocnrf-mysql" secondary: host: "ocnrf-mysql" port: 3306 nfsubscription: image: repository: ocnrf/ocnrf-nfsubscription pullPolicy: IfNotPresent mysql: primary: host: "ocnrf-mysql" secondary: host: "ocnrf-mysql" port: 3306 http: proxy: host: port: 80 nrfauditor: image: repository: ocnrf/ocnrf-nrfauditor pullPolicy: IfNotPresent mysql: primary: host: "ocnrf-mysql" secondary: host: "ocnrf-mysql" port: 3306 nf: heartbeat: duration: "90s" missAllowed: 3 suspend: duration: "7d" nfdiscovery: image: repository: ocnrf/ocnrf-nfdiscovery pullPolicy: IfNotPresent mysql: primary: host: "ocnrf-mysql" secondary: host: "ocnrf-mysql" port: 3306 disc: result: profiles: loadThreshold: ambassador: fullnameOverride: ocnrf-endpoint image: repository: ocnrf/ocnrf-ambassador tag: 0.50.3 pullPolicy: IfNotPresent ambassador: id: ambassador-ocnrf service: type: LoadBalancer annotations : metallb.universe.tf/address-pool: signaling getambassador.io/config: | --- apiVersion: ambassador/v1 kind: Module name: ambassador ambassador_id: ambassador-ocnrf config: service_port: 8080