Step 2: Set up the primary and replica clusters on AKS
The second step of the disaster recovery setup for the Data Center Edition (DCE) on Kubernetes consists in setting up the primary and replica clusters.
Last updated
Was this helpful?
Was this helpful?
az aks approuting enable --resource-group <ResourceGroupName> --name <ClusterName>az aks get-credentials --resource-group <ResourceGroupName> --name <ClusterName>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sonarqube-dce
namespace: sonarqube-dce
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 120m
spec:
ingressClassName: webapprouting.kubernetes.azure.com
rules:
- http:
paths:
- backend:
service:
name: sonarqube-dce-sonarqube-dce
port:
number: 9000
path: /
pathType: Prefixkubectl apply -f ingress.yaml -n <yourNameSpace>kubectl get ingress -n <yourNameSpace>