You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/use-flyte.md
+114-4Lines changed: 114 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: schaffererin
8
8
ms.author: schaffererin
9
9
---
10
10
11
-
# Build and deploy data and machine learning pipelines with Flyte on Azure Kubernetes Service
11
+
# Build and deploy data and machine learning pipelines with Flyte on Azure Kubernetes Service (AKS)
12
12
13
13
This article shows you how to use Flyte, an open-source platform for building and deploying data and machine learning pipelines on Azure Kubernetes Service (AKS).
14
14
@@ -18,9 +18,119 @@ For more information, see [Introduction to Flyte](https://docs.flyte.org/en/late
18
18
19
19
## Prerequisites
20
20
21
-
* Helm
22
-
* Azure subscription
23
-
* Etc.
21
+
* An Azure subscription. If you don't have an Azure subscription, you can create a [free account](https://azure.microsoft.com/free).
22
+
* The Azure CLI installed and configured. Run `az --version` to check the version. If you need to install or upgrade, see [Install the Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli).
23
+
* The Helm CLI installed and updated. Run `helm version` to check the version. If you need to install or upgrade, see [Install Helm](https://helm.sh/docs/intro/install/).
24
+
* The `kubectl` CLI installed and updated. Run `az aks install-cli` to install it locally or see [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
25
+
26
+
> [!NOTE]
27
+
> If you're using the Azure Cloud Shell, the Azure CLI, Helm, and kubectl are already installed.
28
+
29
+
### Set environment variables
30
+
31
+
* Set environment variables for use throughout the article. Replace the placeholder values with your own values.
32
+
33
+
```bash
34
+
export RESOURCE_GROUP="<resource-group-name>"
35
+
export LOCATION="<location>"
36
+
export CLUSTER_NAME="<cluster-name>"
37
+
export DNS_NAME_PREFIX="<dns-name-prefix>"
38
+
```
24
39
25
40
## Create an AKS cluster
26
41
42
+
1. Create an Azure resource group for the AKS cluster using the [`az group create`][az-group-create] command.
43
+
44
+
```azurecli-interactive
45
+
az group create --name $RESOURCE_GROUP --location $LOCATION
46
+
```
47
+
48
+
2. Create an AKS cluster using the [`az aks create`][az-aks-create] command with the `--enable-azure-rbac`, `--enable-managed-identity`, `--enable-aad`, and `--dns-name-prefix` parameters.
49
+
50
+
```azurecli-interactive
51
+
az aks create --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME --enable-azure-rbac --enable-managed-identity --enable-aad --dns-name-prefix $DNS_NAME_PREFIX --generate-ssh-keys
52
+
```
53
+
54
+
## Connect to your AKS cluster
55
+
56
+
* Configure `kubectl` to connect to your AKS cluster using the [`az aks get-credentials`][az-aks-get-credentials] command.
57
+
58
+
```azurecli-interactive
59
+
az aks get-credentials --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME
60
+
```
61
+
62
+
## Add the Flyte Helm repository
63
+
64
+
* Add the Flyte Helm repository using the `helm repo add` command.
0 commit comments