Skip to content

Commit db93bb4

Browse files
committed
moving script install to include file
1 parent 15f207a commit db93bb4

File tree

2 files changed

+50
-38
lines changed

2 files changed

+50
-38
lines changed

articles/storage/container-storage/container-storage-aks-quickstart.md

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to install Azure Container Storage Preview on an Azure Ku
44
author: khdownie
55
ms.service: azure-container-storage
66
ms.topic: quickstart
7-
ms.date: 09/12/2023
7+
ms.date: 09/13/2023
88
ms.author: kendownie
99
---
1010

@@ -19,43 +19,7 @@ ms.author: kendownie
1919

2020
## Install Azure Container Storage
2121

22-
Follow these instructions to install Azure Container Storage on your AKS cluster using an installation script.
23-
24-
1. Run the `az login` command to sign in to Azure.
25-
26-
1. Download and save [this shell script](https://github.com/Azure-Samples/azure-container-storage-samples/blob/main/acstor-install.sh).
27-
28-
1. Navigate to the directory where the file is saved using the `cd` command. For example, `cd C:\Users\Username\Downloads`.
29-
30-
1. Run the following command to change the file permissions:
31-
32-
```bash
33-
chmod +x acstor-install.sh
34-
```
35-
36-
1. Run the installation script and specify the parameters.
37-
38-
| **Flag** | **Parameter** | **Description** |
39-
|----------|----------------|-------------|
40-
| -s  | --subscription | The subscription identifier. Defaults to the current subscription.|
41-
| -g | --resource-group | The resource group name.|
42-
| -c  | --cluster-name | The name of the cluster where Azure Container Storage is to be installed.|
43-
| -n  | --nodepool-name | The name of the nodepool. Defaults to the first nodepool in the cluster.|
44-
| -r  | --release-train | The release train for the installation. Defaults to stable.|
45-
46-
For example:
47-
48-
```bash
49-
bash ./acstor-install.sh -g <resource-group-name> -s <subscription-id> -c <cluster-name> -n <nodepool-name> -r <release-train-name>
50-
```
51-
52-
Installation takes 10-15 minutes to complete. You can check if the installation completed correctly by running the following command and ensuring that `provisioningState` says **Succeeded**:
53-
54-
```azurecli-interactive
55-
az k8s-extension list --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type managedClusters
56-
```
57-
58-
Congratulations, you've successfully installed Azure Container Storage. You now have new storage classes that you can use for your Kubernetes workloads.
22+
[!INCLUDE [container-storage-script-install](../../../includes/container-storage-script-install.md)]
5923

6024
## Choose a data storage option
6125

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: khdownie
5+
ms.service: azure-container-storage
6+
ms.topic: include
7+
ms.date: 09/13/2023
8+
ms.author: kendownie
9+
ms.custom: include file
10+
---
11+
12+
Follow these instructions to install Azure Container Storage on your AKS cluster using an installation script.
13+
14+
1. Run the `az login` command to sign in to Azure.
15+
16+
1. Download and save [this shell script](https://github.com/Azure-Samples/azure-container-storage-samples/blob/main/acstor-install.sh).
17+
18+
1. Navigate to the directory where the file is saved using the `cd` command. For example, `cd C:\Users\Username\Downloads`.
19+
20+
1. Run the following command to change the file permissions:
21+
22+
```bash
23+
chmod +x acstor-install.sh
24+
```
25+
26+
1. Run the installation script and specify the parameters.
27+
28+
| **Flag** | **Parameter** | **Description** |
29+
|----------|----------------|-------------|
30+
| -s  | --subscription | The subscription identifier. Defaults to the current subscription.|
31+
| -g | --resource-group | The resource group name.|
32+
| -c  | --cluster-name | The name of the cluster where Azure Container Storage is to be installed.|
33+
| -n  | --nodepool-name | The name of the nodepool. Defaults to the first nodepool in the cluster.|
34+
| -r  | --release-train | The release train for the installation. Defaults to stable.|
35+
36+
For example:
37+
38+
```bash
39+
bash ./acstor-install.sh -g <resource-group-name> -s <subscription-id> -c <cluster-name> -n <nodepool-name> -r <release-train-name>
40+
```
41+
42+
Installation takes 10-15 minutes to complete. You can check if the installation completed correctly by running the following command and ensuring that `provisioningState` says **Succeeded**:
43+
44+
```azurecli-interactive
45+
az k8s-extension list --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type managedClusters
46+
```
47+
48+
Congratulations, you've successfully installed Azure Container Storage. You now have new storage classes that you can use for your Kubernetes workloads.

0 commit comments

Comments
 (0)