Skip to content

Conversation

@vishalm0509
Copy link
Collaborator

This PR refactors the worker setup by combining the OLake UI and OLake HELM workers into a single unified worker entity.

Key Changes

  • Consolidated both worker implementations into one worker process.
  • Introduced an environment variable EXECUTOR_ENVIRONMENT to determine which worker logic (UI or HELM) should execute at runtime.
  • Simplified deployment and maintenance by reducing duplication in worker code and infra setup.
  • Ensured compatibility with existing task queues and execution flows by routing logic based on the provided env.

chore: staging to master (helm chart version v0.0.1)
fix: add write permissions for gh token (#11)
feat: add release workflows (#17)
- Add nfsServer.external.storageClass and size parameters in values.yaml
- Modify shared-storage-pvc.yaml to always create PVC with conditional storage class
- Simplify _helpers.tpl sharedStoragePVC function to use consistent naming
- Add validation error when storageClass is empty and NFS is disabled
- Support RWX storage classes like EFS, Azure Files, GCP Filestore, etc.
- Remove PodAntiAffinity that prevented sync pods from running on same node
- Allow multiple sync operations to run concurrently for better resource utilization
- Keep JobID-based node affinity for resource mapping
- Fix tautological condition in affinity assignment
- Add ConfigMapWatcher using client-go informers for live updates
- Integrate watcher into K8sPodManager with graceful shutdown
- Update pod scheduling to use live mapping instead of static config
- Support debouncing (2s) for rapid ConfigMap changes
- Maintain backward compatibility with existing Helm charts
Copy link
Collaborator

@hash-data hash-data left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Nice work @vishalm0509

Copy link
Collaborator

@schitizsharma schitizsharma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hash-data hash-data merged commit 20937e0 into staging Nov 6, 2025
5 checks passed
@hash-data hash-data deleted the refactor/olake-worker branch November 6, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants