-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamd64-deployment.yaml
More file actions
41 lines (41 loc) · 875 Bytes
/
amd64-deployment.yaml
File metadata and controls
41 lines (41 loc) · 875 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: amd-deployment
labels:
app: hello
spec:
replicas: 1
selector:
matchLabels:
app: hello
tier: web
template:
metadata:
labels:
app: hello
tier: web
spec:
containers:
- name: hello
image: <your deployed ACR name>.azurecr.io/multi-arch:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
resources:
requests:
cpu: 300m
limits:
cpu: 1000m
memory: 512Mi
nodeSelector:
kubernetes.io/arch: amd64