refactor: tolerations

This commit is contained in:
auricom
2021-07-30 09:43:09 +02:00
parent 0b9fedd63b
commit c920236777
7 changed files with 15 additions and 26 deletions

View File

@@ -248,7 +248,7 @@ spec:
scrape_interval: 60s
metrics_path: "/metrics"
static_configs:
- targets: ["opnsense.${SECRET_CLUSTER_DOMAIN_ROOT}:9273"]
- targets: ["opnsense.${SECRET_CLUSTER_DOMAIN_ROOT}.:9273"]
labels:
app: "opnsense"
- job_name: "hass"

View File

@@ -26,12 +26,9 @@ spec:
- "amd64"
serviceAccountName: system-upgrade
tolerations:
- key: "node-role.kubernetes.io/master"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
effect: "NoSchedule"
upgrade:
image: rancher/k3s-upgrade
channel: https://update.k3s.io/v1-release/channels/v1.21

View File

@@ -25,7 +25,7 @@ spec:
operator: Exists
- key: k3os.io/mode
operator: DoesNotExist
- key: node-role.kubernetes.io/master
- key: node-role.kubernetes.io/control-plane
operator: NotIn
values:
- "true"