Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions modules/ROOT/pages/kubernetes/multi-dc-cluster/aks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[[multi-dc-cluster-aks]]
= Deploy a single Neo4j cluster across AKS clusters

With the Neo4j Helm chart, you can deploy a Neo4j cluster on multiple AKS clusters using load balancers and an Azure application gateway.
With the Neo4j Helm chart, you can deploy a Neo4j cluster on multiple Azure Kubernetes Service (AKS) clusters using load balancers and an Azure application gateway.

The following diagram is a schematic representation of a Neo4j cluster with three primary servers running on three different AKS clusters.

Expand Down Expand Up @@ -224,7 +224,7 @@ az network vnet subnet create -g my-RG --vnet-name my-VNet -n subnet4 \
}
--
. Now you are ready to create the AKS clusters.
Get the subscription ID of `subnet1` by either running the following command (it uses the `jq` command) or copying it from the subnet creation output.
Get the subscription ID of subnets by either running the following command (it uses the `jq` command) or copying it from the subnet creation output.
+
[source, shell]
--
Expand All @@ -236,15 +236,15 @@ az network vnet subnet show -g my-RG --vnet-name my-VNet -n subnet1 --output jso
--
"/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/
--
. Create the first AKS cluster named `my-aks-cluster-a` with 5 nodes in your resource group using the subscription ID.
. Create three AKS clusters named `my-aks-cluster-a`, `my-aks-cluster-b`, and `my-aks-cluster-c` with 5 nodes each in your resource group using the subscription ID.
+
[source, shell]
--
az aks create --name my-aks-cluster-a --node-count=5 --zones 1 --vnet-subnet-id "/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/subnet1" -g my-RG

az aks create --name my-aks-cluster-b --node-count=5 --zones 1 --vnet-subnet-id "/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/subnet2" -g my-RG
az aks create --name my-aks-cluster-b --node-count=5 --zones 2 --vnet-subnet-id "/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/subnet2" -g my-RG

az aks create --name my-aks-cluster-c --node-count=5 --zones 1 --vnet-subnet-id "/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/subnet3" -g my-RG
az aks create --name my-aks-cluster-c --node-count=5 --zones 3 --vnet-subnet-id "/subscriptions/5b9ae547-ce82-4834-b276-b72904ceaa84/resourceGroups/my-RG/providers/Microsoft.Network/virtualNetworks/my-VNet/subnets/subnet3" -g my-RG
--
+
.Example output
Expand Down Expand Up @@ -427,7 +427,7 @@ Waiting for AAD role to propagate[################################ ] 90.0000
"windowsProfile": null
}
--
. Repeat the previous two steps to create two more AKS clusters, named `my-aks-cluster-b` and `my-aks-cluster-c`.

. Configure `kubectl` to use your AKS clusters using:
+
[source, shell]
Expand Down Expand Up @@ -526,6 +526,8 @@ volumes:
mode: defaultStorageClass
services:
neo4j:
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
loadBalancerIP: 10.30.2.101
multiCluster: true
Expand Down Expand Up @@ -554,6 +556,8 @@ volumes:
mode: defaultStorageClass
services:
neo4j:
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
loadBalancerIP: 10.30.3.101
multiCluster: true
Expand Down