SIENTIAPDE-1478

Update environment variables in values.yaml and refactor worker.py for improved worker preparation

- Removed KAFKA_BOOTSTRAP_SERVERS from environment variables in values.yaml.
- Added PYPI_SERVER environment variable for library distribution.
- Refactored worker.py to replace resource tuner and poller behavior with a new prepare_worker function, streamlining worker initialization and enhancing code clarity.
This commit is contained in:
vitor-aignosi
2026-01-09 14:57:37 -03:00
parent 7891a7ca6e
commit 8adb7151ee
3 changed files with 103 additions and 103 deletions

View File

@@ -187,8 +187,6 @@ env:
- name: OPC_URL
value: "opc.tcp://sientia-opc-simulator-opc.sientia.svc.cluster.local:4840"
- name: KAFKA_BOOTSTRAP_SERVERS
value: "kafka.kafka.svc.cluster.local:9092"
- name: LOG_LEVEL
value: "DEBUG"
@@ -226,6 +224,9 @@ env:
- name: MINIO_DEFAULT_BUCKET
value: "sientia"
- name: PYPI_SERVER
value: "http://library-distribution-server.library.svc.cluster.local:5000"
ssh:
enabled: true
secretName: git-ssh-key-sientia-laborious-worker