Skip to content

Commit 273f28f

Browse files
Merge pull request #279788 from zioproto/fix/deploy-edw-workload
Fix deploy instructions
2 parents 1b7c082 + 1473c5c commit 273f28f

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

articles/aks/eks-edw-deploy.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ In this article, you will deploy an [AWS EDW workload][eks-edw-overview] to Azur
3333
3434
## EDW workload deployment script
3535
36-
You use the `deploy.sh` script in the `deployment` directory of the [GitHub repository][github-repo] to deploy the application to Azure.
36+
Review the environment variables in the file `deployment/environmentVariables.sh` and then you use the
37+
`deploy.sh` script in the `deployment/infra/` directory of the [GitHub repository][github-repo] to deploy
38+
the application to Azure.
3739
3840
The script first checks that all of the [prerequisite tools][prerequisites] are installed. If not, the script terminates and displays an error message letting you know which prerequisites are missing. If this happens, review the prerequisites, install any missing tools, and then run the script again. The [Node autoprovisioning (NAP) for AKS][nap-aks] feature flag must be registered on your Azure subscription. If it isn't already registered, the script executes an Azure CLI command to register the feature flag.
3941
@@ -68,15 +70,6 @@ The deployment script creates the following Azure resources:
6870
- **Workload identity**: The script assigns the **Storage Queue Data Contributor** and **Storage Table Data Contributor** roles to provide role-based access control (RBAC) access to this managed identity, which is associated with the Kubernetes service account used as the identity for pods on which the consumer app containers are deployed.
6971
- **Two federated credentials**: One credential enables the managed identity to implement pod identity, and the other credential is used for the KEDA operator service account to provide access to the KEDA scaler to gather the metrics needed to control pod autoscaling.
7072

71-
## Deploy the EDW workload to Azure
72-
73-
- Make sure you're in the `deployment` directory of the project and deploy the workload using the following commands:
74-
75-
```bash
76-
cd deployment
77-
./deploy.sh
78-
```
79-
8073
## Validate deployment and run the workload
8174

8275
Once the deployment script completes, you can deploy the workload on the AKS cluster.
@@ -239,7 +232,7 @@ You can use various tools to verify the operation of apps deployed to AKS, inclu
239232
minReplicaCount: 0 # We don't want pods if the queue is empty nginx-deployment
240233
maxReplicaCount: 15 # We don't want to have more than 15 replicas
241234
pollingInterval: 30 # How frequently we should go for metrics (in seconds)
242-
cooldownPeriod: 10 # How many seconds should we wait for downscale
235+
cooldownPeriod: 10 # How many seconds should we wait for downscale
243236
triggers:
244237
- type: azure-queue
245238
authenticationRef:

0 commit comments

Comments
 (0)