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

View File

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