-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig.yaml
62 lines (57 loc) · 1.36 KB
/
config.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
56
57
58
59
60
61
62
# Log level defined by sirupsen/logrus.
# Optional (default: info)
logLevel: debug
# Interval duration for scheduling and updating the cluster, in seconds.
# Optional (default: 10)
tick: 10
# Start time at which the simulation starts, in RFC3339 format.
# Optional (default: now)
startClock: 2019-01-01T00:00:00+09:00
# Interval duration for logging metrics of the cluster, in seconds.
# Optional (default: same as tick)
metricsTick: 60
# Metrics of simulated kubernetes cluster is written
# to standard out, standard error or files at given paths.
# The metrics is formatted with the given formatter.
# Optional (default: not writing metrics)
metricsLogger:
- dest: stdout
formatter: table
- dest: kubesim.log
formatter: JSON
- dest: kubesim-hr.log
formatter: humanReadable
# Write configuration of each node.
cluster:
- metadata:
name: node-0
labels:
beta.kubernetes.io/os: simulated
annotations:
foo: bar
spec:
unschedulable: false
# taints:
# - key: k
# value: v
# effect: NoSchedule
status:
allocatable:
cpu: 4
memory: 8Gi
nvidia.com/gpu: 1
pods: 2
- metadata:
name: node-1
labels:
beta.kubernetes.io/os: simulated
# annotations:
spec:
unschedulable: false
# taints:
status:
allocatable:
cpu: 8
memory: 16Gi
nvidia.com/gpu: 2
pods: 4