mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
68 lines
1.9 KiB
YAML
68 lines
1.9 KiB
YAML
alloy:
|
|
alloy:
|
|
envFrom:
|
|
- secretRef:
|
|
name: cloud
|
|
configMap:
|
|
create: false
|
|
name: alloy-config
|
|
key: config.alloy
|
|
# enhances alloy perms for reading directly from nodes dirs
|
|
securityContext:
|
|
privileged: true
|
|
runAsUser: 0
|
|
# mount docker container dir for reading logs
|
|
mounts:
|
|
# built in support for var/log and docker/containers dirs
|
|
dockercontainers: true
|
|
varlog: true
|
|
# adding support for proc and sys dirs
|
|
extra:
|
|
- name: proc
|
|
mountPath: /proc
|
|
readOnly: true
|
|
- name: sys
|
|
mountPath: /sys
|
|
readOnly: true
|
|
resources:
|
|
limits:
|
|
memory: 750Mi
|
|
requests:
|
|
cpu: 500m
|
|
controller:
|
|
type: "daemonset"
|
|
priorityClassName: "node-monitoring-critical"
|
|
# extra volumes to read system logs and node stats
|
|
volumes:
|
|
extra:
|
|
- name: proc
|
|
hostPath:
|
|
path: /proc
|
|
type: ''
|
|
- name: sys
|
|
hostPath:
|
|
path: /sys
|
|
type: ''
|
|
# adding tolerations for daemonset to deploy on all nodes
|
|
# even control-plane nodes
|
|
tolerations:
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|
|
- key: "nvidia.com/gpu"
|
|
operator: "Equal"
|
|
value: "present"
|
|
effect: "NoSchedule"
|
|
|
|
environment:
|
|
name: unknown # not to be used for hard checks but to display to user
|
|
hardware: metal # to be used to enable on-prem specific features like ceph, cilium, etc
|
|
mode: production # to be used to configure backup movement and additional debugging features
|
|
revision: main # to be used to pull from different git branches
|
|
baseDomain: deepcypher.me # to be used to override default chart domains to configure environments
|
|
location:
|
|
name: unknown # not to be used for hard checks purely informational
|
|
contact:
|
|
name: George Onoufriou
|
|
email: noreply@deepcypher.me
|