forked from k-cloud-labs/scheduler-stress-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpod.yaml
More file actions
32 lines (32 loc) · 695 Bytes
/
Copy pathpod.yaml
File metadata and controls
32 lines (32 loc) · 695 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
apiVersion: v1
kind: Pod
metadata:
labels:
app: fake-pod
name: fake-pod-
namespace: scheduler-stress-test
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: type
operator: In
values:
- kwok
containers:
- image: fake-image
imagePullPolicy: Always
name: fake-container
resources:
requests:
cpu: "8"
memory: 10Gi
limits:
cpu: "8"
memory: 10Gi
schedulerName: default-scheduler
tolerations:
- effect: NoSchedule
operator: Exists