Skip to content

Commit 1e663bc

Browse files
Merge pull request #252350 from tejaswikolli-web/cache
Cache
2 parents ff95fb6 + 15aada4 commit 1e663bc

File tree

7 files changed

+34
-34
lines changed

7 files changed

+34
-34
lines changed
-31.1 KB
Loading
-293 KB
Loading

articles/container-registry/tutorial-artifact-cache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ Artifact Cache currently supports the following upstream registries:
6161

6262
| Upstream registries | Support | Availability |
6363
| --------------------------- | ------------------------------------------------------------ | ----------------------- |
64-
| Docker | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
64+
| Docker Hub | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
6565
| Microsoft Artifact Registry | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
6666
| ECR Public | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
6767
| GitHub Container Registry | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
68-
| Nivida | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
68+
| Nvidia | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
6969
| Quay | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
7070
| registry.k8s.io | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
7171

articles/container-registry/tutorial-enable-artifact-cache-auth-cli.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ ms.author: tejaswikolli
1111

1212
This article is part five of a six-part tutorial series. [Part one](tutorial-artifact-cache.md) provides an overview of Artifact Cache, its features, benefits, and limitations. In [part two](tutorial-enable-artifact-cache.md), you learn how to enable Artifact Cache feature by using the Azure portal. In [part three](tutorial-enable-artifact-cache-cli.md), you learn how to enable Artifact Cache feature by using the Azure CLI. In [part four](tutorial-enable-artifact-cache-auth.md), you learn how to enable Artifact Cache feature with authentication by using Azure portal.
1313

14-
This article walks you through the steps of enabling Artifact Cache with authentication by using the Azure CLI. You have to use the Credential set to make an authenticated pull or to access a private repository.
14+
This article walks you through the steps of enabling Artifact Cache with authentication by using the Azure CLI. You have to use the Credentials to make an authenticated pull or to access a private repository.
1515

1616
## Prerequisites
1717

1818
* You can use the [Azure Cloud Shell][Azure Cloud Shell] or a local installation of the Azure CLI to run the command examples in this article. If you'd like to use it locally, version 2.46.0 or later is required. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI][Install Azure CLI].
19-
* You have an existing Key Vault to store credentials. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials]
19+
* You have an existing Key Vault to store the credentials. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials]
2020
* You can set and retrieve secrets from your Key Vault. Learn more about [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret]
2121

2222
## Configure Artifact Cache with authentication - Azure CLI
2323

24-
### Create a Credential Set - Azure CLI
24+
### Create Credentials - Azure CLI
2525

26-
Before configuring a Credential Set, you have to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
26+
Before configuring the Credentials, you have to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
2727

28-
1. Run [az acr credential set create][az-acr-credential-set-create] command to create a credential set.
28+
1. Run [az acr credential set create][az-acr-credential-set-create] command to create the credentials.
2929

30-
- For example, To create a credential set for a given `MyRegistry` Azure Container Registry.
30+
- For example, To create the credentials for a given `MyRegistry` Azure Container Registry.
3131

3232
```azurecli-interactive
3333
az acr credential-set create
@@ -40,39 +40,39 @@ Before configuring a Credential Set, you have to create and store secrets in the
4040
4141
2. Run [az acr credential set update][az-acr-credential-set-update] to update the username or password KV secret ID on a credential set.
4242
43-
- For example, to update the username or password KV secret ID on a credential set a given `MyRegistry` Azure Container Registry.
43+
- For example, to update the username or password KV secret ID on the credentials for a given `MyRegistry` Azure Container Registry.
4444
4545
```azurecli-interactive
4646
az acr credential-set update -r MyRegistry -n MyRule -p https://MyKeyvault.vault.azure.net/secrets/newsecretname
4747
```
4848
49-
3. Run [az-acr-credential-set-show][az-acr-credential-set-show] to show a credential set.
49+
3. Run [az-acr-credential-set-show][az-acr-credential-set-show] to show the credentials.
5050
51-
- For example, to show a credential set for a given `MyRegistry` Azure Container Registry.
51+
- For example, to show the credentials for a given `MyRegistry` Azure Container Registry.
5252
5353
```azurecli-interactive
5454
az acr credential-set show -r MyRegistry -n MyCredSet
5555
```
5656
57-
### Create a cache rule with a Credential Set - Azure CLI
57+
### Create a cache rule with the Credentials - Azure CLI
5858
5959
1. Run [az acr cache create][az-acr-cache-create] command to create a cache rule.
6060
61-
- For example, to create a cache rule with a credential set for a given `MyRegistry` Azure Container Registry.
61+
- For example, to create a cache rule with the credentials for a given `MyRegistry` Azure Container Registry.
6262
6363
```azurecli-interactive
6464
az acr cache create -r MyRegistry -n MyRule -s docker.io/library/ubuntu -t ubuntu -c MyCredSet
6565
```
6666
67-
2. Run [az acr cache update][az-acr-cache-update] command to update the credential set on a cache rule.
67+
2. Run [az acr cache update][az-acr-cache-update] command to update the credentials on a cache rule.
6868
69-
- For example, to update the credential set on a cache rule for a given `MyRegistry` Azure Container Registry.
69+
- For example, to update the credentials on a cache rule for a given `MyRegistry` Azure Container Registry.
7070
7171
```azurecli-interactive
7272
az acr cache update -r MyRegistry -n MyRule -c NewCredSet
7373
```
7474
75-
- For example, to remove a credential set from an existing cache rule for a given `MyRegistry` Azure Container Registry.
75+
- For example, to remove the credentials from an existing cache rule for a given `MyRegistry` Azure Container Registry.
7676
7777
```azurecli-interactive
7878
az acr cache update -r MyRegistry -n MyRule --remove-cred-set
@@ -100,7 +100,7 @@ Before configuring a Credential Set, you have to create and store secrets in the
100100
101101
2. Run the [az keyvault set-policy][az-keyvault-set-policy] command to assign access to the Key Vault, before pulling the image.
102102
103-
- For example, to assign permissions for the credential set access the KeyVault secret
103+
- For example, to assign permissions for the credentials access the KeyVault secret
104104
105105
```azurecli-interactive
106106
az keyvault set-policy --name MyKeyVault \
@@ -136,17 +136,17 @@ Before configuring a Credential Set, you have to create and store secrets in the
136136
az acr cache delete -r MyRegistry -n MyRule
137137
```
138138
139-
3. Run[az acr credential set list][az-acr-credential-set-list] to list the credential sets in an Azure Container Registry.
139+
3. Run[az acr credential set list][az-acr-credential-set-list] to list the credential in an Azure Container Registry.
140140
141-
- For example, to list the credential sets for a given `MyRegistry` Azure Container Registry.
141+
- For example, to list the credentials for a given `MyRegistry` Azure Container Registry.
142142
143143
```azurecli-interactive
144144
az acr credential-set list -r MyRegistry
145145
```
146146
147-
4. Run [az-acr-credential-set-delete][az-acr-credential-set-delete] to delete a credential set.
147+
4. Run [az-acr-credential-set-delete][az-acr-credential-set-delete] to delete the credentials.
148148
149-
- For example, to delete a credential set for a given `MyRegistry` Azure Container Registry.
149+
- For example, to delete the credentials for a given `MyRegistry` Azure Container Registry.
150150
151151
```azurecli-interactive
152152
az acr credential-set delete -r MyRegistry -n MyCredSet

articles/container-registry/tutorial-enable-artifact-cache-auth.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ Follow the steps to create cache rule in the [Azure portal](https://portal.azure
7070
docker pull myregistry.azurecr.io/hello-world:latest
7171
```
7272
73-
### Create new credentials
73+
### Create new Credentials
7474
75-
Before configuring a Credential Set, you require to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
75+
Before configuring the Credentials, you require to create and store secrets in the Azure KeyVault and retrieve the secrets from the Key Vault. Learn more about [creating and storing credentials in a Key Vault.][create-and-store-keyvault-credentials] and to [set and retrieve a secret from Key Vault.][set-and-retrieve-a-secret].
7676
77-
1. Navigate to **Credentials** > **Add credential set** > **Create new credentials**.
77+
1. Navigate to **Credentials** > **Create credentials**.
7878
7979
80-
:::image type="content" source="./media/container-registry-artifact-cache/add-credential-set-05.png" alt-text="Screenshot for adding credential set.":::
80+
:::image type="content" source="./media/container-registry-artifact-cache/add-credential-set-05.png" alt-text="Screenshot for adding credentials.":::
8181
8282
83-
:::image type="content" source="./media/container-registry-artifact-cache/create-credential-set-06.png" alt-text="Screenshot for create new credential set.":::
83+
:::image type="content" source="./media/container-registry-artifact-cache/create-credential-set-06.png" alt-text="Screenshot for create new credentials.":::
8484
8585
8686
1. Enter **Name** for the new credentials for your source registry.

articles/container-registry/tutorial-enable-artifact-cache-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ This article is part three of a six-part tutorial series. [Part one](tutorial-ar
1717

1818
## Configure Artifact Cache - Azure CLI
1919

20-
Follow the steps to create a Cache rule without using a Credential set.
20+
Follow the steps to create a Cache rule without using the Credentials.
2121

2222
### Create a Cache rule
2323

2424
1. Run [az acr Cache create][az-acr-cache-create] command to create a Cache rule.
2525

26-
- For example, to create a Cache rule without a credential set for a given `MyRegistry` Azure Container Registry.
26+
- For example, to create a Cache rule without the credentials for a given `MyRegistry` Azure Container Registry.
2727

2828
```azurecli-interactive
2929
az acr Cache create -r MyRegistry -n MyRule -s docker.io/library/ubuntu -t ubuntu-

articles/container-registry/tutorial-troubleshoot-artifact-cache.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ May include one or more of the following issues:
1919
- Cached images don't appear in a real repository
2020
- [Cached images don't appear in a live repository](tutorial-troubleshoot-artifact-cache.md#cached-images-dont-appear-in-a-live-repository)
2121

22-
- Credential set has an unhealthy status
23-
- [Unhealthy Credential Set](tutorial-troubleshoot-artifact-cache.md#unhealthy-credential-set)
22+
- Credentials has an unhealthy status
23+
- [Unhealthy Credentials](tutorial-troubleshoot-artifact-cache.md#unhealthy-credentials)
2424

2525
- Unable to create a cache rule
2626
- [Cache rule Limit](tutorial-troubleshoot-artifact-cache.md#cache-rule-limit)
@@ -36,9 +36,9 @@ If you're having an issue with cached images not showing up in your repository i
3636

3737
The Azure portal autofills these fields for you. However, many Docker repositories begin with `library/` in their path. For example, in-order to cache the `hello-world` repository, the correct Repository Path is `docker.io/library/hello-world`.
3838

39-
## Unhealthy Credential Set
39+
## Unhealthy Credentials
4040

41-
Credential sets are a set of Key Vault secrets that operate as a Username and Password for private repositories. Unhealthy Credential sets are often a result of these secrets no longer being valid. In the Azure portal, you can select the credential set, to edit and apply changes.
41+
Credentials are a set of Key Vault secrets that operate as a Username and Password for private repositories. Unhealthy Credentials are often a result of these secrets no longer being valid. In the Azure portal, you can select the credentials, to edit and apply changes.
4242

4343
- Verify the secrets in Azure Key Vault haven't expired.
4444
- Verify the secrets in Azure Key Vault are valid.
@@ -69,11 +69,11 @@ Artifact Cache currently supports the following upstream registries:
6969

7070
| Upstream registries | Support | Availability |
7171
| --------------------------- | ------------------------------------------------------------ | ----------------------- |
72-
| Docker | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
72+
| Docker Hub | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
7373
| Microsoft Artifact Registry | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
7474
| ECR Public | Supports unauthenticated pulls only. | Azure CLI, Azure portal |
7575
| GitHub Container Registry | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
76-
| Nivida | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
76+
| Nvidia | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
7777
| Quay | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI, Azure portal |
7878
| registry.k8s.io | Supports both authenticated pulls and unauthenticated pulls. | Azure CLI |
7979

0 commit comments

Comments
 (0)