D.1.7.2 PROVGW Multicluster Deployment Instances Configuration Examples

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

CNC 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-provgw-instance1
      type: PROVGW
      owner: Cluster1
      fqdn: provgw1-provgw-config.provgw.svc.cluster.local
      port: 80
    - id : Cluster2-provgw-instance1
      type: PROVGW
      owner: Cluster2
     fqdn: provgw1-provgw-config.provgw.svc.cluster.local
      port: 80
    - id : Cluster2-provgw-instance2
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw2.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-provgw-instance1
      type: PROVGW
      owner: Cluster1
      fqdn: provgw1-provgw-config.provgw.svc.cluster.local
      port: 80
    - id : Cluster2-provgw-instance1
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw.svc.cluster.local
      port: 80
    - id : Cluster2-provgw-instance2
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw2.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-provgw-instance1
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw.svc.cluster.local 
      port: 80
    - id : Cluster2-provgw-instance2
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw2.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-provgw-instance1
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw.svc.cluster.local
      port: 80
    - id : Cluster2-provgw-instance2
      type: PROVGW
      owner: Cluster2
      fqdn: provgw1-provgw-config.provgw2.svc.cluster.local 
      port: 80