Scale down Kubernetes deployments after work hours
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

53 lines
1.4 KiB

## Default values for kube-downscaler.
## This is a YAML-formatted file.
## Declare variables to be passed into your templates.
## How many kube-downscaler pods should run in deployment
replicaCount: 1
name: kube-downscaler
debug:
enable: True
## Namespace where kube-downscaler is going to be deployed.
# namespace:
## Deployment will query all namespaces if left empty:
# active_in:
## Deployment exclude these namespaces:
# inactive_in:
## How frequently kube-downscaler should query applications uptime, unit is in seconds.
## Default is 1 minute.
interval: 60
rbac:
## If true, create & use RBAC resources
create: false
## Ignored if rbac.create is true
serviceAccountName: default
image:
repository: hjacobs/kube-downscaler
tag: 19.10.1
pullPolicy: IfNotPresent
args: []
# --default-uptime="Mon-Fri 07:30-20:30 Europe/Berlin"
resources:
limits:
cpu: 50m
memory: 200Mi
requests:
cpu: 50m
memory: 200Mi
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
## Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
# tolerations: []
## Allow the DaemonSet to schedule on selected nodes
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
# nodeSelector: {}
## Allow the DaemonSet to schedule ussing affinity rules
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
# affinity: {}