-
Notifications
You must be signed in to change notification settings - Fork 291
/
Copy pathvalues.yaml
91 lines (79 loc) · 2.04 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
80
81
82
83
84
85
86
87
88
89
90
91
## How many kube-downscaler pods should run in deployment
replicaCount: 1
debug:
enable: false
events:
enable: true
## Namespace where kube-downscaler is going to be deployed.
# namespace:
## Deployment will query all namespaces if left empty:
# active_in:
# inactive_in:
## How frequently kube-downscaler should query applications uptime, unit is in seconds.
## Default is 60 seconds
interval: 60
rbac:
## If true, create & use RBAC resources
create: true
## Ignored if rbac.create is true
serviceAccountName: default
extraRules: []
# - apiGroups:
# - argoproj.io
# resources:
# - rollouts
# verbs:
# - get
# - watch
# - list
# - update
# - patch
image:
repository: hjacobs/kube-downscaler
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullPolicy: IfNotPresent
args: []
# - --include-resources=deployments,cronjobs
resources:
limits:
cpu: 50m
memory: 200Mi
requests:
cpu: 50m
memory: 200Mi
securityContext: {}
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
extraLabels: {}
# Set environment variables to override the default configuration
# By default the uptime is "always"
# More information here: https://codeberg.org/hjacobs/kube-downscaler#configuration
deployment:
environment: {}
# DEFAULT_UPTIME: "Mon-Fri 07:00-20:00 Europe/Berlin"
# This will periodically remove all annotations preventing downscaling
# Sometimes people forget to remove the annotations and this can incur costs
resetAnnotationsCronjob:
enabled: false
image: bitnami/kubectl:latest
# Cron schedule for when to reset the annotations
schedule: 0 7 * * *
# A kubectl selector to identify what deployments to remove the annotation from
labelSelectors:
- environment=staging
resources:
limits:
cpu: 50m
memory: 50Mi
requests:
cpu: 50m
memory: 50Mi
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
nodeSelector: {}
tolerations: []
affinity: {}
priorityClassName: ""