Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions clusters/unraid-lab/apps/external-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,42 @@
# into the secret this subchart mounts by default.
bitwarden-sdk-server:
enabled: true
tolerations: &control_plane_toleration
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
affinity: &non_imp_affinity
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: imp.dev/runner
operator: DoesNotExist
resources:
requests:
cpu: 50m
memory: 64Mi

global:
tolerations: *control_plane_toleration
affinity: *non_imp_affinity

resources:
requests:
cpu: 50m
memory: 64Mi

webhook:
resources:
requests:
cpu: 50m
memory: 64Mi

certController:
resources:
requests:
cpu: 50m
memory: 64Mi

serviceMonitor:
enabled: false # no Prometheus Operator CRDs on this cluster
30 changes: 29 additions & 1 deletion values/clusters/unraid-lab/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,42 @@
# Keep cert-manager off the Imp runner. It may use a control-plane node.
# Keep cert-manager on the two non-IMP control-plane nodes.
tolerations: &control_plane_toleration
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule

affinity: &non_imp_affinity
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: imp.dev/runner
operator: DoesNotExist

resources: &controller_resources
requests:
cpu: 100m
memory: 128Mi

webhook:
tolerations: *control_plane_toleration
affinity: *non_imp_affinity
resources:
requests:
cpu: 50m
memory: 64Mi

cainjector:
tolerations: *control_plane_toleration
affinity: *non_imp_affinity
resources:
requests:
cpu: 50m
memory: 64Mi

startupapicheck:
tolerations: *control_plane_toleration
affinity: *non_imp_affinity
resources:
requests:
cpu: 10m
memory: 32Mi
19 changes: 19 additions & 0 deletions values/clusters/unraid-lab/radar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ ingress:
tls:
- hosts:
- radar-unraid-lab.wind-bearded.ts.net

# Radar may use general control-plane nodes, never the IMP runner.
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: imp.dev/runner
operator: DoesNotExist

resources:
requests:
cpu: 50m
memory: 64Mi
18 changes: 18 additions & 0 deletions values/clusters/unraid-lab/tailscale-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Unraid Talos cluster identity.
proxyConfig:
defaultTags: "tag:k8s-operator"

# The operator may use general control-plane nodes, never the IMP runner.
operatorConfig:
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: imp.dev/runner
operator: DoesNotExist
resources:
requests:
cpu: 50m
memory: 64Mi
18 changes: 18 additions & 0 deletions values/types/homelab-kvm/metrics-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Metrics Server may use general control-plane nodes, never the IMP runner.
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: imp.dev/runner
operator: DoesNotExist

resources:
requests:
cpu: 100m
memory: 200Mi
Loading