-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment_spec.yaml
42 lines (42 loc) · 1.03 KB
/
deployment_spec.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: validator
spec:
replicas: 1
selector:
matchLabels:
app: validator
template:
metadata:
labels:
app: validator
spec:
containers:
- name: validator
image: 072245134533.dkr.ecr.us-east-2.amazonaws.com/fake-validator:latest
command: ["/home/run.sh"]
ports:
- containerPort: 8085
protocol: TCP
resources:
limits:
aws.ec2.nitro/nitro_enclaves: "1"
hugepages-1Gi: 24576Mi
cpu: 250m
requests:
aws.ec2.nitro/nitro_enclaves: "1"
hugepages-1Gi: 24576Mi
volumeMounts:
- mountPath: /dev/hugepages
name: hugepage
readOnly: false
volumes:
- name: hugepage
emptyDir:
medium: HugePages-1Gi
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists