NamespaceManagementClustersSetSpec

The Clusters.SetSpec structure contains the specification required to set a new configuration on the Cluster. This structure is applied in entirety, replacing the current specification fully.


Properties

default_image_registry Optional

Default image registry to use when Kubernetes Pod container specification does not specify it as part of the container image name. If unset, default image registry will be set to Docker Hub.


string
default_image_repository Optional

Default image repository to use when Kubernetes Pod container specification does not specify it as part of the container image name. If unset, default image repository will be set to Docker Hub official repository in case of Docker Hub image registry, otherwise will be set to empty string.


string
default_kubernetes_service_content_library Optional

Identifier of the Content Library which holds the VM Images for vSphere Kubernetes Service. This Content Library should be subscribed to VMware’s hosted vSphere Kubernetes Service Repository. Modifying or clearing the Content Library identifier will not affect existing vSphere Kubernetes Service clusters. However, upgrades or scale-out of existing clusters may be affected if the new Content Library doesn’t have the necessary VM Images. If unset, the Content Library identifier will be cleared. 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.


string
ephemeral_storage_policy Required

Identifier of storage policy associated with ephemeral disks of all the Kubernetes Pods in the cluster. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.


image_storage Required

Specification for storage to be used for container images.


string
login_banner Optional

Disclaimer to be displayed prior to login via the Kubectl plugin. If unset, disclaimer to be displayed prior to login via the Kubectl plugin will be cleared.


array of string
master_DNS Optional

List of DNS server IP addresses to use on Kubernetes API server, specified in order of preference. If unset, DNS servers set on Kubernetes API server will be cleared.


array of string
master_DNS_search_domains Optional

List of domains (for example “vmware.com”) to be searched when trying to lookup a host name on Kubernetes API server, specified in order of preference. If unset, DNS search domains set on Kubernetes API server will be cleared.


array of string
master_NTP_servers Optional

List of NTP server DNS names or IP addresses to use on Kubernetes API server, specified in order of preference. If unset, VMware Tools based time synchronization is enabled and any set NTP servers are cleared.


string
master_storage_policy Required

Identifier of storage policy associated with Kubernetes API server. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.


ncp_cluster_network_spec Optional

Specification for the NSX Container Plugin cluster network. This field is optional and it is only relevant when the value of Clusters.SetSpec.network-provider is NSXT_CONTAINER_PLUGIN.


network_provider Required

The provider of cluster networking for this vSphere Namespaces cluster.


size_hint Required

This affects the size and resources allocated to the Kubernetes API server.


array of string
worker_DNS Optional

List of DNS server IP addresses to use on the worker nodes, specified in order of preference. If unset, DNS servers set on worker nodes will be cleared.


array of string
workload_ntp_servers Optional

List of NTP server DNS names or IP addresses to use for workloads such as Tanzu Kubernetes Grid VMs, specified in order of preference. If unset, NTP for Kubernetes API servers will be used.

Parameter To

Set Clusters

JSON Example

{
    "ephemeral_storage_policy": "string",
    "image_storage": {
        "storage_policy": "string"
    },
    "master_storage_policy": "string",
    "network_provider": "enum",
    "size_hint": "enum"
}
Feedback

Was this page helpful?