kpt icon indicating copy to clipboard operation
kpt copied to clipboard

kpt function to analyze OS/Arch info of an image and configure nodeSelector

Open droot opened this issue 2 years ago • 0 comments

Users have kubernetes clusters with different types of nodes (OS, Arch) but the container images they run may only support a subset of OS, Arch. So, package authors usenodeSelector field to appropriate select nodes that support the shipped image, but this can be automated where a kpt function can analyze the OS/Arch info of a container image and customize the nodeSelector.

This highlights the capability of out-of-band bulk automation that is cross-cutting can be done at the platform engineering level.

Linking to the comment for more context: https://github.com/GoogleContainerTools/kpt/pull/3380/files#r923899911

droot avatar Jul 18 '22 23:07 droot