camtiler: Updates
This commit is contained in:
parent
7abac4db0a
commit
8b0719234c
@ -3,7 +3,7 @@ To apply changes:
|
|||||||
```
|
```
|
||||||
kubectl apply -n camtiler \
|
kubectl apply -n camtiler \
|
||||||
-f application.yml \
|
-f application.yml \
|
||||||
-f persistence.yml \
|
-f minio.yml \
|
||||||
-f mongoexpress.yml \
|
-f mongoexpress.yml \
|
||||||
-f mongodb-support.yml \
|
-f mongodb-support.yml \
|
||||||
-f camera-tiler.yml \
|
-f camera-tiler.yml \
|
||||||
|
@ -200,12 +200,12 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- foobar
|
- foobar
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: topology.kubernetes.io/zone
|
||||||
|
|
||||||
# Make sure camera deployments are spread over workers
|
# Make sure camera deployments are spread over workers
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: topology.kubernetes.io/zone
|
||||||
whenUnsatisfiable: DoNotSchedule
|
whenUnsatisfiable: DoNotSchedule
|
||||||
labelSelector:
|
labelSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
@ -14,6 +14,27 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels: *selectorLabels
|
labels: *selectorLabels
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- camtiler
|
||||||
|
- key: component
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- logmower-eventsource
|
||||||
|
topologyKey: topology.kubernetes.io/zone
|
||||||
|
nodeSelector:
|
||||||
|
dedicated: storage
|
||||||
|
tolerations:
|
||||||
|
- key: dedicated
|
||||||
|
operator: Equal
|
||||||
|
value: storage
|
||||||
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- name: logmower-eventsource
|
- name: logmower-eventsource
|
||||||
image: harbor.k-space.ee/k-space/logmower-eventsource
|
image: harbor.k-space.ee/k-space/logmower-eventsource
|
||||||
@ -39,7 +60,7 @@ metadata:
|
|||||||
name: logmower-event-broker
|
name: logmower-event-broker
|
||||||
spec:
|
spec:
|
||||||
revisionHistoryLimit: 0
|
revisionHistoryLimit: 0
|
||||||
replicas: 5
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels: &selectorLabels
|
matchLabels: &selectorLabels
|
||||||
app.kubernetes.io/name: camtiler
|
app.kubernetes.io/name: camtiler
|
||||||
@ -48,6 +69,27 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels: *selectorLabels
|
labels: *selectorLabels
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- camtiler
|
||||||
|
- key: component
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- logmower-event-broker
|
||||||
|
topologyKey: topology.kubernetes.io/zone
|
||||||
|
nodeSelector:
|
||||||
|
dedicated: storage
|
||||||
|
tolerations:
|
||||||
|
- key: dedicated
|
||||||
|
operator: Equal
|
||||||
|
value: storage
|
||||||
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- name: logmower-event-broker
|
- name: logmower-event-broker
|
||||||
image: harbor.k-space.ee/k-space/camera-event-broker
|
image: harbor.k-space.ee/k-space/camera-event-broker
|
||||||
|
@ -22,11 +22,11 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
- labelSelector:
|
- labelSelector:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: app
|
- key: app.kubernetes.io/name
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- minio
|
- minio
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: topology.kubernetes.io/zone
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
dedicated: storage
|
dedicated: storage
|
||||||
tolerations:
|
tolerations:
|
||||||
|
@ -63,7 +63,7 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- mongodb-svc
|
- mongodb-svc
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: topology.kubernetes.io/zone
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
dedicated: storage
|
dedicated: storage
|
||||||
tolerations:
|
tolerations:
|
||||||
|
Loading…
Reference in New Issue
Block a user