D.1.13.2 OCCM Multicluster Configuration
(M-CNCC Core on Cluster1 , A-CNCC Core on Cluster1, and A-CNCC Core on Cluster2)
CNC Console 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-occm-instance1
type: OCCM
owner: Cluster1
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-occm-instance1
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-occm-instance2
type: OCCM
owner: Cluster2
fqdn: occm.occm.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-occm-instance1
type: OCCM
owner: Cluster1
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-ocm-instance1
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-occm-instance2
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80
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-occm-instance1
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-occm-instance2
type: OCCM
owner: Cluster2
fqdn: occm.occm.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-occm-instance1
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80
- id : Cluster2-occm-instance2
type: OCCM
owner: Cluster2
fqdn: occm.occm.svc.cluster.local
port: 80