Skip to content

Commit

Permalink
Setting priorityclassname to base services
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryGF committed Dec 9, 2023
1 parent a2ec6c5 commit b8725fc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# adguard-home.yaml
priorityClassName: system-node-critical

image:
tag: v0.108.0-b.51
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ global:
nodeSelector:
priority: critical

priorityClassName: system-node-critical
env: []

## Argo Configs
Expand Down
4 changes: 4 additions & 0 deletions terraform/modules/base/submodules/cert-manager/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ resource "helm_release" "cert-manager" {
name = "startupapicheck.nodeSelector.kubernetes\\.io/hostname"
value = var.master_hostname
}
set {
name = "global.priorityClassName"
value = "system-node-critical"
}
}

resource "kubectl_manifest" "letsencrypt-issuer" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ defaultSettings:
createDefaultDiskLabeledNodes: true
defaultReplicaCount: 1
defaultDataPath: ${default_data_path}
priorityClass: system-node-critical

longhornUI:
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ image:
tag: ""
pullPolicy: IfNotPresent

priorityClassName: system-node-critical

hub:
enabled: false
Expand Down

0 comments on commit b8725fc

Please sign in to comment.