manageiq
manageiq copied to clipboard
[WIP] Touch a worker.started file after worker initialization
Currently when workers are running under Systemd we use SD_NOTIFY to signal that a worker has started, Kubernetes also has a "startup probe" which waits for an indication that the worker is started before starting the readiness probe.
We can touch a startup file that a k8s startup probe can check when we mark the worker as "STARTED"
@jrafanie where are you eager loading the API constants? Want to ensure it is before this
lib/container_orchestrator/object_definition.rb
- [ ] :exclamation: - Line 113, Col 56 - Rails/FilePath - Prefer
Rails.root.join('path/to')
.
Going to close this as we don't currently have a requirement for it