1
0
forked from k-space/kube

camtiler: Fix scheduling issues

This commit is contained in:
Lauri Võsandi 2022-12-23 23:32:18 +02:00
parent 75df3e2a41
commit 222fca8b8f
2 changed files with 5 additions and 4 deletions

View File

@ -113,12 +113,12 @@ spec:
revisionHistoryLimit: 0 revisionHistoryLimit: 0
replicas: 1 replicas: 1
# Make sure we do not congest the network during rollout
strategy: strategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate: rollingUpdate:
maxSurge: 0 # Swap following two with replicas: 2
maxUnavailable: 1 maxSurge: 1
maxUnavailable: 0
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: foobar app.kubernetes.io/name: foobar
@ -196,7 +196,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - labelSelector:
matchExpressions: matchExpressions:
- key: app - key: app.kubernetes.io/name
operator: In operator: In
values: values:
- foobar - foobar

View File

@ -90,6 +90,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: camtiler app.kubernetes.io/name: camtiler
component: camera-tiler
podMetricsEndpoints: podMetricsEndpoints:
- port: http - port: http
podTargetLabels: podTargetLabels: