Skip to content

Commit a92429e

Browse files
authored
Merge pull request #213629 from Nickomang/release-ignite-aks-container-marketplace-2
Added screenshots, note on SP creation to transactable containers
2 parents 01d5068 + ca15f31 commit a92429e

7 files changed

+29
-5
lines changed

articles/marketplace/azure-container-plan-technical-configuration-kubernetes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For more, see [Prepare Azure Kubernetes technical assets](azure-container-techni
1717

1818
## Setting cluster extension type name
1919

20-
Cluster extensions enable an Azure Resource Manager driven experience for your application. The following limitations apply when setting the cluster extension type name value:
20+
[Cluster extensions][cluster-extensions] enable an Azure Resource Manager driven experience for your application. The following limitations apply when setting the cluster extension type name value:
2121

2222
- You must provide the cluster extension type name in the format of 'PublisherName.ApplicationName'.
2323

@@ -41,4 +41,7 @@ Select *Add CNAB Bundle* to select the payload reference like so:
4141
## Next steps
4242

4343
- To **Co-sell with Microsoft** (optional), select it in the left-nav menu. For details, see [Co-sell partner engagement](/partner-center/co-sell-overview?context=/azure/marketplace/context/context).
44-
- If you're not setting up either of these or you've finished, it's time to [Review and publish your offer](review-publish-offer.md).
44+
- If you're not setting up either of these or you've finished, it's time to [Review and publish your offer](review-publish-offer.md).
45+
46+
<!-- LINKS -->
47+
[cluster-extensions]: ../aks/cluster-extensions.md

articles/marketplace/azure-container-technical-assets-kubernetes.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ In addition to your solution domain, your engineering team should have knowledge
2727
- Working knowledge of [JSON](https://www.json.org/)
2828
- Working knowledge of [Helm](https://www.helm.sh)
2929
- Working knowledge of [createUiDefinition][createuidefinition]
30+
- Working knowledge of [Azure Resource Manager (ARM) templates][arm-template-overview]
3031

3132
## Prerequisites
3233

@@ -66,8 +67,13 @@ As part of the publishing process, Microsoft will deep copy your CNAB from your
6667

6768
Microsoft has created a first-party application responsible for handling this process with an `id` of `32597670-3e15-4def-8851-614ff48c1efa`. To begin, create a service principal based off of the application:
6869

70+
6971
# [Linux](#tab/linux)
7072

73+
> [!NOTE]
74+
> If your account doesn't have permission to create a service principal, `az ad sp create` will return an error message containing "Insufficient privileges to complete the operation". Contact your Azure Active Directory admin to create a service principal.
75+
76+
7177
```azurecli-interactive
7278
az login
7379
az ad sp create --id 32597670-3e15-4def-8851-614ff48c1efa
@@ -90,7 +96,9 @@ Your output should look similar to the following:
9096
...
9197
```
9298

93-
Finally, create a role assignment to grant the service principal the ability to pull from your registry using the values you obtained earlier:
99+
Next, create a role assignment to grant the service principal the ability to pull from your registry using the values you obtained earlier:
100+
101+
[!INCLUDE [Azure role assignment prerequisites](../../includes/role-based-access-control/prerequisites-role-assignments.md)]
94102

95103
```azurecli-interactive
96104
az role assignment create --assignee <sp-id> --scope <registry-id> --role acrpull
@@ -110,6 +118,9 @@ az provider show -n Microsoft.PartnerCenterIngestion --subscription <subscriptio
110118

111119
# [Windows](#tab/windows)
112120

121+
> [!NOTE]
122+
> If your account doesn't have permission to create a service principal, `New-AzADServicePrincipal` will return an error message containing "Insufficient privileges to complete the operation". Contact your Azure Active Directory admin to create a service principal.
123+
113124
```powershell-interactive
114125
Connect-AzAccount
115126
New-AzADServicePrincipal -ApplicationId 32597670-3e15-4def-8851-614ff48c1efa
@@ -140,6 +151,8 @@ Your output should look similar to the following:
140151

141152
Next, create a role assignment to grant the service principal the ability to pull from your registry:
142153

154+
[!INCLUDE [Azure role assignment prerequisites](../../includes/role-based-access-control/prerequisites-role-assignments.md)]
155+
143156
```powershell-interactive
144157
New-AzRoleAssignment -ObjectId <sp-id> -Role acrpull -Scope <registry-id>
145158
```
@@ -178,20 +191,28 @@ Ensure the Helm chart adheres to the following rules:
178191

179192
- All image names and references are parameterized and represented in `values.yaml` as global.azure.images references. Update `deployment.yaml` to point these images. This ensures the image block can be updated and referenced by Azure Marketplace's ACR.
180193

181-
:::image type="content" source="./media/azure-container/billing-identifier.png" alt-text="A screenshot of a properly formatted values.yaml file is shown. It resembles the sample values.yaml file linked from this article.":::
194+
:::image type="content" source="./media/azure-container/image-references.png" alt-text="A screenshot of a properly formatted deployment.yaml file is shown. The parameterized image references are shown, resembling the content in the sample deployment.yaml file linked in this article.":::
182195

183196
- If you have any subcharts, extract the content under charts and update each of your dependent image references to point to the images included in the main chart's `values.yaml`.
184197

185198
- Images must use digests instead of tags. This ensures CNAB building is deterministic.
199+
200+
:::image type="content" source="./media/azure-container/billing-identifier.png" alt-text="A screenshot of a properly formatted values.yaml file is shown. The images are using digests. The content resembles the sample values.yaml file linked in this article.":::
186201

187202
### Make updates based on your billing model
188203

189204
After reviewing the billing models available, select one appropriate for your use case and complete the following steps:
190205

191206
- Add a billing identifier label and cpu cores request to your `deployment.yaml` file.
192207

208+
:::image type="content" source="./media/azure-container/billing-identifier-label.png" alt-text="A screenshot of a properly formatted billing identifier label in a deployment.yaml file. The content resembles the sample depoyment.yaml file linked in this article":::
209+
210+
:::image type="content" source="./media/azure-container/resources.png" alt-text="A screenshot of CPU resource requests in a deployment.yaml file. The content resembles the sample depoyment.yaml file linked in this article.":::
211+
193212
- Add a billing identifier value for `global.azure.billingidentifier` in `values.yaml`.
194213

214+
:::image type="content" source="./media/azure-container/billing-identifier-value.png" alt-text="A screenshot of a properly formatted values.yaml file, showing the global > azure > billingIdentifier field.":::
215+
195216
Note that at deployment time, the cluster extensions feature will replace the billing identifier value with the extension type name you provide while setting up plan details.
196217

197218
For examples configured to deploy the [Azure Voting App][azure-voting-app], see the following:
@@ -316,7 +337,7 @@ For an example of how to integrate `container-package-app` into an Azure Pipelin
316337

317338
[cnab]: https://cnab.io/
318339
[cluster-extensions]: ../aks/cluster-extensions.md
319-
[azure-voting-app]: https://github.com/Azure-Samples/azure-voting-app-redis
340+
[azure-voting-app]: https://github.com/Azure-Samples/kubernetes-offer-samples/tree/main/samples/k8s-offer-azure-vote/azure-vote
320341
[createuidefinition]: ../azure-resource-manager/managed-applications/create-uidefinition-overview.md
321342
[sandbox-environment]: https://ms.portal.azure.com/#view/Microsoft_Azure_CreateUIDef/SandboxBlade
322343
[arm-template-overview]: ../azure-resource-manager/templates/overview.md
73 KB
Loading
33.8 KB
Loading
7.17 KB
Loading
12.6 KB
Loading
29.2 KB
Loading

0 commit comments

Comments
 (0)