File tree Expand file tree Collapse file tree 8 files changed +30
-3
lines changed
simcore-charts/resource-usage-tracker Expand file tree Collapse file tree 8 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ volumeMounts: []
102102# mountPath: "/etc/foo"
103103# readOnly: true
104104
105- nodeSelector: {}
105+ nodeSelector:
106+ ops: "true"
106107
107108tolerations: []
Original file line number Diff line number Diff line change 11crds:
22 enabled: true
33 keep: true
4+
5+ nodeSelector:
6+ ops: "true"
Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ volumeMounts: []
9191# mountPath: "/etc/foo"
9292# readOnly: true
9393
94- nodeSelector: {}
94+ nodeSelector:
95+ simcore: "true"
9596
9697tolerations: []
9798
Original file line number Diff line number Diff line change 11additionalArguments:
22 - "--api.insecure=true"
33
4+ deployment:
5+ kind: DaemonSet
6+
47ingressRoute:
58 dashboard:
69 enabled: false
@@ -19,3 +22,16 @@ ports:
1922 nodePort: 32080
2023 websecure:
2124 nodePort: 32443
25+
26+ nodeSelector:
27+ node-role.kubernetes.io/control-plane: "" # in some cases may require tolerations
28+
29+ affinity: # https://github.com/traefik/traefik-helm-chart/blob/v28.2.0/traefik/values.yaml#L838
30+ podAntiAffinity:
31+ requiredDuringSchedulingIgnoredDuringExecution:
32+ - labelSelector:
33+ matchLabels:
34+ # https://stackoverflow.com/a/51326166/12124525
35+ app.kubernetes.io/name: '{{`{{ template "traefik.name" . }}`}}'
36+ app.kubernetes.io/instance: '{{ .Release.Name }}'
37+ topologyKey: kubernetes.io/hostname
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ services:
5555 TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE : ${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
5656 TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE : ${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
5757 TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT : ${TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT}
58+ TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL : ${TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL}
5859networks :
5960 public :
6061 external : true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ service:
1717 exporters : [otlphttp,debug]
1818 telemetry :
1919 logs :
20- level : " debug "
20+ level : ${TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL}
2121processors :
2222 batch :
2323 timeout : 5s
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ MONITORED_NETWORK=${MONITORED_NETWORK}
44TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE = ${ TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE }
55TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE = ${ TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE }
66TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT = ${ TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT }
7+ TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL = ${ TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL }
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ services:
277277 - WEBSERVER_LOGLEVEL=${WEBSERVER_LOGLEVEL}
278278 networks :
279279 - default
280+ - monitored
280281 deploy :
281282 # NOTE: https://github.com/ITISFoundation/osparc-simcore/pull/4286
282283 # NOTE: this MUSTN'T change, or weird things might happen
@@ -309,6 +310,7 @@ services:
309310 networks :
310311 - default
311312 - interactive_services_subnet
313+ - monitored
312314 hostname : " {{.Service.Name}}"
313315 deploy :
314316 update_config :
@@ -510,6 +512,8 @@ services:
510512 cpus : ' 0.1'
511513
512514 datcore-adapter :
515+ networks :
516+ - monitored
513517 deploy :
514518 replicas : ${SIMCORE_DATCORE_ADAPTER_REPLICAS}
515519 update_config :
You can’t perform that action at this time.
0 commit comments