Skip to content

Commit 15bce31

Browse files
authored
Update AKS.md
1 parent 06d4af4 commit 15bce31

File tree

1 file changed

+37
-24
lines changed
  • docs/Manual/Tutorials/Kubernetes

1 file changed

+37
-24
lines changed

docs/Manual/Tutorials/Kubernetes/AKS.md

Lines changed: 37 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,27 @@
77
* [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest)
88

99
## Deploy cluster
10+
1011
* In Azure dashboard choose **Create a resource**
1112
* Choose **Kubernetes Service**
1213

1314
## Cluster basics (version >=1.10)
15+
1416
![basics](./aks-create-basics.png)
1517

1618
## Cluster authentication (Enable RBAC)
19+
1720
![basics](./aks-create-auth.png)
1821

1922
## Wait for cluster to be created
23+
2024
![basics](./aks-create-valid.png)
2125

2226
## Move to control using `kubectl`
2327

24-
* Login to Azure using CLI
25-
```
28+
- Login to Azure using CLI
29+
30+
```
2631
$ az login
2732
[
2833
{
@@ -38,42 +43,49 @@
3843
}
3944
}
4045
]
41-
```
46+
```
47+
48+
- Get AKS credentials to merge with local config, using resource group and
49+
cluster names used for above deployment
4250

43-
* Get AKS credentials to merge with local config, using resource group and cluster names used for above deployment
44-
```
45-
$ az aks get-credentials --resource-group clifton --name ArangoDB
46-
```
51+
```
52+
$ az aks get-credentials --resource-group clifton --name ArangoDB
53+
```
4754

48-
* Verify successful merge
49-
```
55+
- Verify successful merge
56+
57+
```
5058
$ kubectl get svc
5159
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
5260
kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 38m
53-
```
61+
```
62+
63+
- Initialize `helm`
5464

55-
* Initialise `helm`
56-
```
65+
```
5766
$ kubectl create serviceaccount --namespace kube-system tiller
5867
serviceaccount/tiller created
59-
```
60-
```
68+
```
69+
70+
```
6171
$ kubectl create clusterrolebinding tiller-cluster-rule \
6272
--clusterrole=cluster-admin --serviceaccount=kube-system:tiller
6373
clusterrolebinding.rbac.authorization.k8s.io/tiller-cluster-rule created
64-
```
65-
```
74+
```
75+
76+
```
6677
$ helm init --service-account tiller
67-
$HELM_HOME has been configured at /home/kaveh/.helm.
78+
$HELM_HOME has been configured at /home/xxx/.helm.
6879
...
6980
Happy Helming!
7081
7182
Tiller (the Helm server-side component) has been
7283
installed into your Kubernetes Cluster.
73-
```
84+
```
85+
86+
- Deploy ArangoDB operator
7487

75-
* Deploy ArabgoDB operator
76-
```
88+
```
7789
$ helm install \
7890
github.com/arangodb/kube-arangodb/releases/download/X.X.X/kube-arangodb.tgz
7991
NAME: orderly-hydra
@@ -83,9 +95,10 @@
8395
...
8496
See https://docs.arangodb.com/devel/Manual/Tutorials/Kubernetes/
8597
for how to get started.
86-
```
98+
```
99+
100+
- Deploy ArangoDB cluster
87101

88-
* Deploy ArangoDB cluster
89-
```
102+
```
90103
$ kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/master/examples/simple-cluster.yaml
91-
```
104+
```

0 commit comments

Comments
 (0)