forked from k-space/kube
camtiler: Fix scheduling issues
This commit is contained in:
parent
75df3e2a41
commit
222fca8b8f
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user