5 ms·
The same problems any imperative management within declarative config causes -- drift. If the tool you're using supports declarative configuration, all changes
by ryapric 4y ago
The same problems any imperative management within declarative config causes -- drift. If the tool you're using supports declarative configuration, all changes should be made exclusively via the declarative interface to prevent that drift. In this example, the new image should be added to the original manifest itself, not via a CLI update.
- throwaway894345 4y agoIt depends on how you manage your changes. A lot of people don't have their infra-as-code manage the deployment's image field--rather, that's updated by the application's CD pipeline. There's no drift to worry about.
- xbar 4y agoSo upon deploy the CD pipeline calls kubectl with the proper deployment image and that's ok?
- throwaway894345 4y agoYes.