|
| 1 | += Azure Kubernetes Service (AKS) |
| 2 | + |
| 3 | +Automatic Kubernetes clusters are not supported, as the xref:secret-operator:index.adoc[secret-operator] requires special privileges that are not granted in automatic Kubernetes clusters. |
| 4 | + |
| 5 | +https://azure.microsoft.com/en-us/products/kubernetes-service |
| 6 | + |
| 7 | +. Create Kubernetes cluster |
| 8 | ++ |
| 9 | +Choose an arbitrary name, the default configurations should be fine. |
| 10 | ++ |
| 11 | +image::managed-k8s/aks/1.png[] |
| 12 | + |
| 13 | +. Update NodePool settings |
| 14 | ++ |
| 15 | +It is recommended to check `Enable public IP per node`, so that the Stackable demos work out of the box as they are using NodePorts for maximum portability. |
| 16 | ++ |
| 17 | +image::managed-k8s/aks/2.png[] |
| 18 | ++ |
| 19 | +In case you don't want to spend more money by having dedicated control-plane nodes, remove the `CriticalAddonsOnly` taint with the trash-button to the right, so that this nodes can also run workloads and not only the dataplane. |
| 20 | ++ |
| 21 | +image::managed-k8s/aks/3.png[] |
| 22 | + |
| 23 | +. Enable public access |
| 24 | ++ |
| 25 | +You also need set `Network policy` to `None`, so that your deployed demos are reachable from the internet. |
| 26 | ++ |
| 27 | +image::managed-k8s/aks/4.png[] |
| 28 | + |
| 29 | +. Create Kubernetes cluster |
| 30 | ++ |
| 31 | +Click on `Review + Create` to finish the creation |
| 32 | + |
| 33 | +. Allow incoming traffic |
| 34 | ++ |
| 35 | +Even though the Kubernetes nodes were configured to be public and have no traffic policy, incoming connections will still be blocked by default. |
| 36 | ++ |
| 37 | +image::managed-k8s/aks/8.png[] |
| 38 | +You need to go to `Network security group`s and modify the one created for your Kubernetes cluster. |
| 39 | ++ |
| 40 | +image::managed-k8s/aks/5.png[] |
| 41 | +Add a new inbound security rule, which allows all incoming connections. |
| 42 | ++ |
| 43 | +image::managed-k8s/aks/6.png[] |
| 44 | + |
| 45 | +. Access Kubernetes |
| 46 | ++ |
| 47 | +Access your Kubernetes by clicking on the `Connect` button and following the instructions. |
| 48 | ++ |
| 49 | +image::managed-k8s/aks/7.png[] |
| 50 | + |
0 commit comments