D.1.4.2 NSSF Multicluster Deployment Instance Configuration Examples

(M-CNCC Core on Cluster1, A-CNCC Core on Cluster1, and A-CNCC Core on Cluster2)

CNCC Configuration (Manager Cluster)

global:
   
  cncc-iam:
    enabled: true
  mcncc-core:
    enabled: true
  acncc-core:
    enabled: true
 
  isMultiClusterDeployment: true  
  # Automatic route generation for CNCC Manager Deployment
  self:
    cnccId: Cluster1
  mCnccIams:
    - id: Cluster1
      ip: 10.xx.xx.xx
  mCnccCores:
    - id: Cluster1
  aCnccs:
    - id: Cluster1    
      role: Cluster1  
      fqdn: cncc-acore-ingress-gateway.cncc.svc.cluster.local       
      port: 80
    - id: Cluster2
      role: Cluster2
      ip: 10.xx.xx.xx
      port: 80
  instances:    
    - id : Cluster1-nssf-instance1
      type: NSSF
      owner: Cluster1
      fqdn: ocnssf-nsconfig.ocnssf-nssf1.svc.cluster.local   
      port: 80    
    - id : Cluster2-nssf-instance1
      type: NSSF
      owner: Cluster2
      fqdn: ocnssf-nsconfig.ocnssf-nssf2.svc.cluster.local
      port: 80

Sample Configuration for HTTPS enabled deployment

  • Scheme should be updated to "https" in mCnccIams and aCnccs
  • Https port should be updated in mCnccIams and aCnccs

CNCC Configuration (Manager Cluster)

global:
   
  cncc-iam:
    enabled: true
  mcncc-core:
    enabled: true
  acncc-core:
    enabled: true
 
  isMultiClusterDeployment: true  
  # Automatic route generation for CNCC Manager Deployment
  self:
    cnccId: Cluster1
  mCnccIams:
    - id: Cluster1
      scheme: https
      ip: 10.xx.xx.xx  
  mCnccCores:
    - id: Cluster1
  aCnccs:
    - id: Cluster1    
      role: Cluster1  
      scheme: https
      fqdn: cncc-acore-ingress-gateway.cncc.svc.cluster.local       
      port: 443
    - id: Cluster2
      role: Cluster2
      scheme: https
      ip: 10.xx.xx.xx
      port: 443
  instances:          
    - id : Cluster1-nssf-instance1
      type: NSSF
      owner: Cluster1
      fqdn: ocnssf-nsconfig.ocnssf-nssf1.svc.cluster.local
      port: 80   
    - id : Cluster2-nssf-instance1
      type: NSSF
      owner: Cluster2
      fqdn: ocnssf-nsconfig.ocnssf-nssf2.svc.cluster.local
      port: 80

Note:

In this example local NF and A-CNCC Core is considered to be deployed in Manager Cluster, its a optional configuration.

CNCC Configuration (Agent Cluster)

global:
 
  cncc-iam:
    enabled: false
  mcncc-core:
    enabled: false
  acncc-core:
    enabled: true
 
  isMultiClusterDeployment: true 
  # Automatic route generation for CNCC Agent Deployment
  self:
    cnccId: Cluster2
  mCnccIams:
    - id: Cluster1
      ip: 10.xx.xx.xx   
  mCnccCores:
    - id: Cluster1
  aCnccs:
    - id: Cluster2
      role: Cluster2
  instances:    
    - id : Cluster2-nssf-instance1
      type: NSSF
      owner: Cluster2
      fqdn: ocnssf-nsconfig.ocnssf-nssf2.svc.cluster.local
      port: 80

Sample Configuration for HTTPS enabled deployment

  • Scheme should be updated to "https" in mCnccIams and aCnccs
  • Https port should be updated in mCnccIams and aCnccs

CNCC Configuration (Agent Cluster)

global:
 
  cncc-iam:
    enabled: false
  mcncc-core:
    enabled: false
  acncc-core:
    enabled: true
 
  isMultiClusterDeployment: true 
  # Automatic route generation for CNCC Agent Deployment
  self:
    cnccId: Cluster2
  mCnccIams:
    - id: Cluster1
      scheme: https
      ip: 10.xx.xx.xx  
  mCnccCores:
    - id: Cluster1
  aCnccs:
    - id: Cluster2
      role: Cluster2
  instances:    
    - id : Cluster2-nssf-instance1
      type: NSSF
      owner: Cluster2
      fqdn: ocnssf-nsconfig.ocnssf-nssf2.svc.cluster.local
      port: 80