ImageSyncConfig structure describes how the Supervisor Cluster and Kubernetes retrieves VM and container images that will run on the cluster.


kubernetes_content_library Optional

ImageSyncConfig.kubernetes-content-library is the UUID of the Content Library which holds the VM Images for Tanzu Kubernetes Service for vSphere.

This Content Library should be subscribed to VMware’s hosted vSphere Kubernetes Service Repository. Optionally, you can configure your own local content library and host images locally.

If the Content Library identifier is unset, you will not be able to deploy Tanzu Kubernetes Clusters. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.Library. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.Library.

registry Optional

The ImageSyncConfig.registry structure contains the specification required to configure container image registry endpoint. Defaults to Docker Hub if unset.

repository Optional

The ImageSyncConfig.repository specifies the default container image repository to use when the Kubernetes Pod specification does not specify it. For example, is the image repository for a Pod whose image specification is

If unset, and if docker hub is the configured ImageSyncConfig.registry, then ImageSyncConfig.repository defaults to Docker Hub. If Docker Hub is not the configured image registry, ImageSyncConfig.repository remains unset. If {#member} repository is unset, you must supply an image repository in your Pod spec or else images will not be able to be synced into the cluster.

JSON Example

	"kubernetes_content_library": "string",
	"registry": {
		"hostname": "string",
		"port": 0
	"repository": "string"


Was this page helpful?