Skip to content

feat: set default log driver for service containers to 'local'#83

Merged
psviderski merged 2 commits intopsviderski:mainfrom
zasdaym:default-docker-log-driver
Jun 27, 2025
Merged

feat: set default log driver for service containers to 'local'#83
psviderski merged 2 commits intopsviderski:mainfrom
zasdaym:default-docker-log-driver

Conversation

@zasdaym
Copy link
Contributor

@zasdaym zasdaym commented Jun 26, 2025

Fix #49

Copy link
Owner

@psviderski psviderski left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! Please see a couple comments regarding using a global default for uncloud.

@zasdaym zasdaym force-pushed the default-docker-log-driver branch from 1eb15d8 to 773f9ab Compare June 26, 2025 12:28
@zasdaym
Copy link
Contributor Author

zasdaym commented Jun 26, 2025

I think it's better to set it on ContainerSpec.SetDefaults, so the default config is not scattered.

@psviderski
Copy link
Owner

I think it's better to set it on ContainerSpec.SetDefaults, so the default config is not scattered.

Ah yeah agreed, this is even better!

@psviderski
Copy link
Owner

psviderski commented Jun 27, 2025

Please see the failed tests, looks like we need to fix the nil vs empty map comparison in assertContainerMatchesSpec
https://github.com/psviderski/uncloud/actions/runs/15901842657/job/44896081108?pr=83

@psviderski psviderski merged commit 1abadae into psviderski:main Jun 27, 2025
3 checks passed
@psviderski psviderski changed the title fix: improve default docker log driver on init feat: set default log driver for service containers to 'local' (#83) Jun 27, 2025
@psviderski psviderski changed the title feat: set default log driver for service containers to 'local' (#83) feat: set default log driver for service containers to 'local' Jun 27, 2025
@zasdaym zasdaym deleted the default-docker-log-driver branch June 27, 2025 08:52
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.

Set a reasonable logging driver default for a cluster

2 participants