Node Configuration
For a node to pull images from Spegel it requires the correct mirror configuration with Spegel as a mirror. A new node does not have this configuration when it starts. Any pod created before Spegel has properly started will therefor not benefit from any of the improvements.
Optik ensures that mirror configuration is written and Spegel is ready before any other pods can be scheduled on the node. It does this by tainting new nodes that have not been configured. Once the Spegel pod is started and ready the taint is removed from node allowing pending pods to be scheduled. This solution removes any external image pulls during node provisioning while also ensuring stability by functioning even in airgapped environments.
Node readiness is enabled by default and can be configured in the Optik Helm chart.
optik:
nodeReadiness:
enabled: true