-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathaci_template.yaml
55 lines (54 loc) · 2.27 KB
/
aci_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apiVersion: '2021-10-01'
identity:
type: UserAssigned
userAssignedIdentities:
{'/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<identity-name>':{}}
location: <location>
name: <image-name>
properties:
containers:
- name: <image-name>
properties:
image: <acr-name>.azurecr.io/<image-name>:<image-tag>
resources:
requests:
cpu: 2.0
memoryInGb: 2.5
environmentVariables:
- name: Ta4hOptions__Endpoint
value: https://<location>.api.cognitive.microsoft.com/
- name: Ta4hOptions__ApiKey
secureValue: <language-resource-api-key>
- name: InputStorage__StorageType
value: AzureBlob
- name: InputStorage__AzureBlobSettings__AuthenticationMethod
value: AAD
- name: InputStorage__AzureBlobSettings__ContainerName
value: <input-blob-container-name>
- name: OutputStorage__StorageType
value: AzureBlob
- name: OutputStorage__AzureBlobSettings__AuthenticationMethod
value: AAD
- name: OutputStorage__AzureBlobSettings__ContainerName
value: <output-blob-container-name>
- name: MetadataStorage__StorageType
value: AzureTable
- name: MetadataStorage__AzureTableSettings__AuthenticationMethod
value: AAD
- name: MetadataStorage__AzureTableSettings__TableName
value: <metadata-storage-table-name>
- name: ApplicationInsights__ConnectionString
secureValue: <appinsights-connection-string>
- name: InputStorage__AzureBlobSettings__ConnectionString
secureValue: https://<storage-account-name>.blob.core.windows.net/
- name: OutputStorage__AzureBlobSettings__ConnectionString
secureValue: https://<storage-account-name>.blob.core.windows.net/
- name: MetadataStorage__AzureTableSettings__ConnectionString
secureValue: https://<storage-account-name>.table.core.windows.net/
imageRegistryCredentials:
- server: <acr-name>.azurecr.io
identity: '/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<identity-name>'
restartPolicy: Never
osType: Linux
tags: {}
type: Microsoft.ContainerInstance/containerGroups