Files
2026-08-26 03:39:42 +05:30

86 lines
1.7 KiB
YAML

# Default values for node-thp-config
global:
imageRegistry: ""
imagePullSecrets: []
# Image settings
image:
repository: alpine
tag: "3.6"
pullPolicy: IfNotPresent
# DaemonSet configuration
daemonSet:
name: node-thp-config
namespace: kube-system
labels: {}
annotations: {}
# Container configuration
container:
name: thp-config
command: ["sh", "-c"]
args:
- "while true; do echo madvise > /sys/kernel/mm/transparent_hugepage/enabled; echo defer > /sys/kernel/mm/transparent_hugepage/defrag; echo 1 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag; echo advise > /sys/kernel/mm/transparent_hugepage/shmem_enabled; sleep 30; done;"
# Security context
securityContext:
privileged: true
# Resource limits and requests
resources:
requests:
cpu: "10m"
memory: "16Mi"
limits:
cpu: "50m"
memory: "32Mi"
# Pod configuration
pod:
hostNetwork: true
hostPID: true
hostIPC: true
# Pod labels
labels: {}
# Pod annotations
annotations: {}
# Pod tolerations
tolerations:
- operator: "Exists"
effect: "NoSchedule"
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "PreferNoSchedule"
# Volume configuration
volumes:
- name: sys
hostPath:
path: /sys
# Volume mounts
volumeMounts:
- name: sys
mountPath: /sys
# Node affinity configuration
# Base matchExpressions (always included)
baseMatchExpressions:
- key: dedicated
operator: In
values:
- "azul"
# Flag to control adding extra matchExpressions
addExtraMatchExpressions: false
# Additional matchExpressions to append when addExtraMatchExpressions is true
additionalMatchExpressions: []