Shipping an operator that supports Multiple Architectures

An operator’s target OS and architecture can be specified by labelling its respective ClusterServiceVersion.

Supported Labels

The following label convention defines the target OSes and architectures supported by an operator:

labels:<GOARCH>: supported<GOOS>: supported

Where <GOARCH> and <GOOS> are one of the values listed here.

Multiple Architectures

Some operators may support multiple node architectures or OSes. In this case, multiple labels can be added. For example, an operator that support both windows and linux workloads will sport the following labels:

labels: supported supported


If a ClusterServiceVersion does not include an os label, a target OS is assumed to be linux.

labels: supported

If a ClusterServiceVersion does not include an arch label, a target architecture is assumed to be amd64.

labels: supported

Filtering available operators by os or arch

Only windows:

kubectl get packagemanifests -l


Only the labels on the HEAD of the default channel are considered for filtering PackageManifests by label.

This means, for example, that providing an alternate architecture for an operator in the non-default channel is possible, but will not be available for filtering in the PackageManifest API.