Skip to content

Commit a67df14

Browse files
committed
Merge remote-tracking branch 'upstream/main' into 2024/add/k8s/portainer
2 parents 1779c5b + fc22ebf commit a67df14

File tree

8 files changed

+30
-3
lines changed

8 files changed

+30
-3
lines changed

charts/adminer/values.yaml.gotmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ volumeMounts: []
102102
# mountPath: "/etc/foo"
103103
# readOnly: true
104104

105-
nodeSelector: {}
105+
nodeSelector:
106+
ops: "true"
106107

107108
tolerations: []
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
crds:
22
enabled: true
33
keep: true
4+
5+
nodeSelector:
6+
ops: "true"

charts/simcore-charts/resource-usage-tracker/values.yaml.gotmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ volumeMounts: []
9191
# mountPath: "/etc/foo"
9292
# readOnly: true
9393

94-
nodeSelector: {}
94+
nodeSelector:
95+
simcore: "true"
9596

9697
tolerations: []
9798

charts/traefik/values.common.yaml.gotmpl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
additionalArguments:
22
- "--api.insecure=true"
33

4+
deployment:
5+
kind: DaemonSet
6+
47
ingressRoute:
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

services/jaeger/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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}
5859
networks:
5960
public:
6061
external: true

services/jaeger/opentelemetry-collector-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}
2121
processors:
2222
batch:
2323
timeout: 5s

services/jaeger/template.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ MONITORED_NETWORK=${MONITORED_NETWORK}
44
TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE=${TRACING_OPENTELEMETRY_COLLECTOR_BATCH_SIZE}
55
TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE=${TRACING_OPENTELEMETRY_COLLECTOR_SAMPLING_PERCENTAGE}
66
TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT=${TRACING_OPENTELEMETRY_COLLECTOR_EXPORTER_ENDPOINT}
7+
TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL=${TRACING_OPENTELEMETRY_COLLECTOR_SERVICE_TELEMETRY_LOG_LEVEL}

services/simcore/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)