mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
refactor: tolerations
This commit is contained in:
@@ -248,7 +248,7 @@ spec:
|
|||||||
scrape_interval: 60s
|
scrape_interval: 60s
|
||||||
metrics_path: "/metrics"
|
metrics_path: "/metrics"
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["opnsense.${SECRET_CLUSTER_DOMAIN_ROOT}:9273"]
|
- targets: ["opnsense.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
|
||||||
labels:
|
labels:
|
||||||
app: "opnsense"
|
app: "opnsense"
|
||||||
- job_name: "hass"
|
- job_name: "hass"
|
||||||
|
@@ -26,12 +26,9 @@ spec:
|
|||||||
- "amd64"
|
- "amd64"
|
||||||
serviceAccountName: system-upgrade
|
serviceAccountName: system-upgrade
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
- effect: NoExecute
|
effect: "NoSchedule"
|
||||||
operator: Exists
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
upgrade:
|
upgrade:
|
||||||
image: rancher/k3s-upgrade
|
image: rancher/k3s-upgrade
|
||||||
channel: https://update.k3s.io/v1-release/channels/v1.21
|
channel: https://update.k3s.io/v1-release/channels/v1.21
|
||||||
|
@@ -25,7 +25,7 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
- key: k3os.io/mode
|
- key: k3os.io/mode
|
||||||
operator: DoesNotExist
|
operator: DoesNotExist
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: NotIn
|
operator: NotIn
|
||||||
values:
|
values:
|
||||||
- "true"
|
- "true"
|
||||||
|
@@ -25,7 +25,8 @@ spec:
|
|||||||
endTime: "5:00"
|
endTime: "5:00"
|
||||||
timeZone: "Europe/Paris"
|
timeZone: "Europe/Paris"
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
|
effect: "NoSchedule"
|
||||||
metrics:
|
metrics:
|
||||||
create: true
|
create: true
|
||||||
|
@@ -19,10 +19,9 @@ spec:
|
|||||||
values:
|
values:
|
||||||
master:
|
master:
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoExecute
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: Exists
|
operator: "Exists"
|
||||||
- effect: NoSchedule
|
effect: "NoSchedule"
|
||||||
operator: Exists
|
|
||||||
affinity:
|
affinity:
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
@@ -83,7 +82,6 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
configmap.reloader.stakater.com/reload: "nfd-worker-conf"
|
configmap.reloader.stakater.com/reload: "nfd-worker-conf"
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: "NoExecute"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
|
||||||
- effect: "NoSchedule"
|
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
|
effect: "NoSchedule"
|
||||||
|
@@ -21,12 +21,9 @@ spec:
|
|||||||
csi:
|
csi:
|
||||||
kubeletDirPath: /var/lib/kubelet
|
kubeletDirPath: /var/lib/kubelet
|
||||||
pluginTolerations:
|
pluginTolerations:
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
- effect: NoExecute
|
effect: "NoSchedule"
|
||||||
operator: Exists
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
@@ -53,7 +53,7 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- "true"
|
- "true"
|
||||||
@@ -61,13 +61,9 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
- key: "CriticalAddonsOnly"
|
- key: "CriticalAddonsOnly"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
- key: "node-role.kubernetes.io/master"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
effect: "NoSchedule"
|
effect: "NoSchedule"
|
||||||
- effect: NoExecute
|
|
||||||
operator: Exists
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
containers:
|
containers:
|
||||||
- name: system-upgrade-controller
|
- name: system-upgrade-controller
|
||||||
image: rancher/system-upgrade-controller:v0.7.3
|
image: rancher/system-upgrade-controller:v0.7.3
|
||||||
|
Reference in New Issue
Block a user