D.1.1.2 BSF 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-bsf-instance1
      type: BSF
      owner: Cluster1
      fqdn: bsf-ocbsf-config-mgmt.bsf.svc.cluster.local  
      port: 80
    - id : Cluster2-bsf-instance1
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf1.svc.cluster.local  
      port: 80
    - id : Cluster2-bsf-instance2
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf2.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-bsf-instance1
      type: BSF
      owner: Cluster1
      fqdn: bsf-ocbsf-config-mgmt.bsf.svc.cluster.local
      port: 80
    - id : Cluster2-bsf-instance1
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf1.svc.cluster.local
      port: 80
    - id : Cluster2-bsf-instance2
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf2.svc.cluster.local
      port: 80

Note:

In this example, local NF and A-CNCC Core is considered to be deployed in Manager Cluster, its an 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-bsf-instance1
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf1.svc.cluster.local  
      port: 80
    - id : Cluster2-bsf-instance2
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf2.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-bsf-instance1
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf1.svc.cluster.local 
      port: 80
    - id : Cluster2-bsf-instance2
      type: BSF
      owner: Cluster2
      fqdn: bsf-ocbsf-config-mgmt.bsf2.svc.cluster.local 
      port: 80