Skip to content

Conversation

@SeanLatimer
Copy link

Add ServerUUID label to both server and installer containers for improved container identification and filtering using Docker's native label filtering capabilities.

This enables querying containers by server ID independently of container names and supports multi-dimensional filtering by combining with existing Service and ContainerType labels.

Add ServerUUID label to both server and installer containers for
improved container identification and filtering using Docker's
native label filtering capabilities.

This enables querying containers by server ID independently of
container names and supports multi-dimensional filtering by
combining with existing Service and ContainerType labels.
Labels: map[string]string{
"Service": "Pterodactyl",
"ContainerType": "server_installer",
"ServerUUID": ip.Server.ID(),
Copy link
Member

Choose a reason for hiding this comment

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

Should we use something like PdtlId just to make it much more clear with the associated service labeling? ServerUUID is probably a little vague, all things considered.

I'd be open to also adding PdtlContainerTable as a label and deprecating ContainerType. Could also do Pterodactyl as the prefix, but that might get long and unweildly. End goal just being that these labels are tightly coupled to Pterodactyl itself and obvious at a glance without digging through this code to find what we set.

@DaneEveritt DaneEveritt self-assigned this Dec 25, 2025
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.

2 participants