-
Notifications
You must be signed in to change notification settings - Fork 3
/
values.yaml
80 lines (68 loc) · 1.59 KB
/
values.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## the params for app
app:
spec:
replicas: 1
resource: x-small
envs: []
horizon:
application:
cluster:
priority:
env:
environment: ""
region:
namespace:
# artifacts image
image: ""
# tags
tags: {}
resources:
tiny:
cpu: 500
memory: 1024
x-small:
cpu: 1000
memory: 2048
small:
cpu: 2000
memory: 4096
middle:
cpu: 4000
memory: 8192
large:
cpu: 8000
memory: 16384
flexible:
cpu: "{{ .Values.app.spec.cpu | default 500 }}"
memory: "{{ .Values.app.spec.memory | default 1024 }}"
oversale:
cpu:
online: 30
others: 40
# affinity, Ref: https://kubernetes.io/zh/docs/concepts/scheduling-eviction/assign-pod-node/
affinity:
# podAntiAffinity
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: horizoncd.github.io/cluster
operator: In
values:
- "{{ .Values.horizon.cluster }}"
topologyKey: "kubernetes.io/hostname"
# dnsPolicy. the kubernetes' default value is "ClusterFirst".
# In order to not use core-dns or kube-dns, we set this value to "Default".
# Ref: https://kubernetes.io/zh/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: Default
# podExtra, podSpec extra field, you can define fields which is not exactly defined. For example:
# podExtra:
# nodeSelector:
# nodeKey: nodeValue
podExtra: {}
# containerExtra, container extra field
containerExtra: {}
# restart time, used to restart this application
restartTime: