forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_containerapp_create_with_workloadprofile_yaml_containerapp.yml
40 lines (38 loc) · 1.46 KB
/
test_containerapp_create_with_workloadprofile_yaml_containerapp.yml
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
location: northcentralus
type: Microsoft.App/containerApps
tags:
tagname: value
properties:
managedEnvironmentId: /subscriptions/8785504e-5157-426d-84f4-7bd35958cd63/resourceGroups/clitest.rgeiy52m3cwiravfthe34vv3gyt5jcia2pcufbgdwz5wid63a22kkok5sn3pikksujs/providers/Microsoft.App/managedEnvironments/enviuo24itriec32fn4e6r7g
workloadProfileName: my-e16
configuration:
activeRevisionsMode: Multiple
ingress:
external: true
allowInsecure: false
targetPort: 80
traffic:
- latestRevision: true
weight: 100
transport: Auto
ipSecurityRestrictions:
- name: name
ipAddressRange: "1.1.1.1/10"
action: "Allow"
template:
revisionSuffix: myrevision
containers:
- image: nginx
name: nginx
env:
- name: HTTP_PORT
value: 80
command:
- npm
- start
resources:
cpu: 3
memory: 5Gi
scale:
minReplicas: 1
maxReplicas: 3