D.1.11.2 Common Service 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.jazz     
      port: 80  
    - id: Cluster2
      role: Cluster2
      ip: 10.xx.xx.xx
      port: 80
  instances:
    - id: Cluster1-grafana
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /jazz/grafana
    - id: Cluster1-kibana
      type: CS
      owner: Cluster1
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /jazz/kibana    
    - id: Cluster1-jaeger
      type: CS
      owner: Cluster1
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /jazz/jaeger
    - id: Cluster1-prometheus
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /jazz/prometheus
    - id: Cluster1-alertmanager
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /jazz/alertmanager
    - id: Cluster1-promxy
      type: CS
      owner: Cluster1
      fqdn: occne-promxy-apigw-nginx.occne-infra.svc
      apiPrefix: /jazz/promxy  
    - id: Cluster1-opensearch
      type: CS
      owner: Cluster1
      fqdn: occne-opensearch-dashboards.occne-infra.svc
      apiPrefix: /jazz/dashboard
    - id: Cluster1-jaegeres
      type: CS
      owner: Cluster1
      fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
      apiPrefix: /jazz/esjaeger        
    - id: Cluster2-grafana
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /rivendell-2210/grafana
    - id: Cluster2-kibana
      type: CS
      owner: Cluster2
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /rivendell-2210/kibana    
    - id: Cluster2-jaeger
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/jaeger
    - id: Cluster2-prometheus
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /rivendell-2210/prometheus
    - id: Cluster2-alertmanager
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /rivendell-2210/alertmanager  
    - id: Cluster2-promxy
      type: CS
      owner: Cluster2
      fqdn: occne-promxy-apigw-nginx.occne-infra.svc
      apiPrefix: /rivendell-2210/promxy 
    - id: Cluster2-opensearch
      type: CS
      owner: Cluster2
      fqdn: occne-opensearch-dashboards.occne-infra.svc
      apiPrefix: /rivendell-2210/dashboard
    - id: Cluster2-jaegeres
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/esjaeger

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.jazz    
      port: 443 
    - id: Cluster2
      role: Cluster2
      scheme: https
      ip: 10.xx.xx.xx
      port: 443
  instances:
    - id: Cluster1-grafana
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /jazz/grafana
    - id: Cluster1-kibana
      type: CS
      owner: Cluster1
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /jazz/kibana    
    - id: Cluster1-jaeger
      type: CS
      owner: Cluster1
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /jazz/jaeger
    - id: Cluster1-prometheus
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /jazz/prometheus
    - id: Cluster1-alertmanager
      type: CS
      owner: Cluster1
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /jazz/alertmanager
    - id: Cluster1-promxy
      type: CS
      owner: Cluster1
      fqdn: occne-promxy-apigw-nginx.occne-infra.svc
      apiPrefix: /jazz/promxy
    - id: Cluster1-opensearch
      type: CS
      owner: Cluster1
      fqdn: occne-opensearch-dashboards.occne-infra.svc
      apiPrefix: /jazz/dashboard
    - id: Cluster1-jaegeres
      type: CS
      owner: Cluster1
      fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
      apiPrefix: /jazz/esjaeger           
    - id: Cluster2-grafana
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /rivendell-2210/grafana
    - id: Cluster2-kibana
      type: CS
      owner: Cluster2
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /rivendell-2210/kibana    
    - id: Cluster2-jaeger
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/jaeger
    - id: Cluster2-prometheus
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /rivendell-2210/prometheus
    - id: Cluster2-alertmanager
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /rivendell-2210/alertmanager
   - id: Cluster2-promxy
     type: CS
     owner: Cluster2
     fqdn: occne-promxy-apigw-nginx.occne-infra.svc
     apiPrefix: /rivendell-2210/promxy
   - id: Cluster2-opensearch
     type: CS
     owner: Cluster2
     fqdn: occne-opensearch-dashboards.occne-infra.svc
     apiPrefix: /rivendell-2210/dashboard
   - id: Cluster2-jaegeres
     type: CS
     owner: Cluster2
     fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
     apiPrefix: /rivendell-2210/esjaeger    

Note:

In this example, local NF and A-CNCC Core are considered to be deployed in Manager Cluster, it is 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-grafana
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /rivendell-2210/grafana
    - id: Cluster2-kibana
      type: CS
      owner: Cluster2
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /rivendell-2210/kibana    
    - id: Cluster2-jaeger
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/jaeger
    - id: Cluster2-prometheus
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /rivendell-2210/prometheus
    - id: Cluster2-alertmanager
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /rivendell-2210/alertmanager
    - id: Cluster2-promxy
      type: CS
      owner: Cluster2
      fqdn: occne-promxy-apigw-nginx.occne-infra.svc
      apiPrefix: /rivendell-2210/promxy  
    - id: Cluster2-opensearch
      type: CS
      owner: Cluster2
      fqdn: occne-opensearch-dashboards.occne-infra.svc
      apiPrefix: /rivendell-2210/dashboard
    - id: Cluster2-jaegeres
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/esjaeger

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-grafana
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-grafana.occne-infra.svc
      apiPrefix: /rivendell-2210/grafana
    - id: Cluster2-kibana
      type: CS
      owner: Cluster2
      fqdn: occne-kibana.occne-infra.svc
      apiPrefix: /rivendell-2210/kibana    
    - id: Cluster2-jaeger
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/jaeger
    - id: Cluster2-prometheus
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-prometheus.occne-infra.svc
      apiPrefix: /rivendell-2210/prometheus
    - id: Cluster2-alertmanager
      type: CS
      owner: Cluster2
      fqdn: occne-kube-prom-stack-kube-alertmanager.occne-infra.svc
      apiPrefix: /rivendell-2210/alertmanager
    - id: Cluster2-promxy
      type: CS
      owner: Cluster2
      fqdn: occne-promxy-apigw-nginx.occne-infra.svc
      apiPrefix: /rivendell-2210/promxy  
    - id: Cluster2-opensearch
      type: CS
      owner: Cluster2
      fqdn: occne-opensearch-dashboards.occne-infra.svc
      apiPrefix: /rivendell-2210/dashboard
    - id: Cluster2-jaegeres
      type: CS
      owner: Cluster2
      fqdn: occne-tracer-elasticsearch-jaeger-query.occne-infra.svc
      apiPrefix: /rivendell-2210/esjaeger