Updates a cluster with the provided cluster configuration
PATCH/v1/edge-mgmt/cluster
Updates a cluster with the provided cluster configuration
Request
- application/json
Body
required
Array [
Array [
]
Array [
]
]
Array [
]
metadata
object
MetaData defines the metadata for the resource.
CreationTimestamp is the timestamp when the resource was created.
ID is the unique identifier of the resource.
labels
object
LastModifiedTimestamp is the timestamp when the resource was last modified.
Name is the name of the resource.
tags
object
Tags is the list of tags associated with the resource.
spec
object
cloudConfig
object
EdgeNativeCloudConfig is the Schema for the edgenativecloudconfigs API
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
spec
object
EdgeNativeCloudConfigSpec defines the desired state of EdgeNativeCloudConfig
clusterConfig
object
required
EdgeNativeClusterConfig defines Edge Native Cluster specific Spec
controlPlaneEndpoint
object
ControlPlaneEndpoint is the control plane endpoint, which can be an IP or FQDN
DDNSSearchDomain is the search domain used for resolving IP addresses when the EndpointType is DDNS. This search domain is appended to the generated Hostname to obtain the complete DNS name for the endpoint. If Host is already a DDNS FQDN, DDNSSearchDomain is not required
Host is FQDN(DDNS) or IP
Type indicates DDNS or VIP
NTPServers is a list of NTP servers to use instead of the machine image's default NTP server list
overlayNetworkConfiguration
object
OverlayNetworkConfiguration is the configuration for the overlay network
CIDR is the CIDR of the overlay network
Enable is a flag to enable overlay network
SSHKeys specifies a list of ssh authorized keys to access the vms as a 'spectro' user
StaticIP indicates if IP allocation type is static IP. DHCP is the default allocation type
machinePoolConfig
object[]
required
additionalLabels
object
AdditionalLabels
additionalTags
object
AdditionalTags is an optional set of tags to add to resources managed by the provider, in addition to the ones added by default. For eg., tags for EKS nodeGroup or EKS NodegroupIAMRole
hosts
object[]
required
Default value: false
Is Edge host nominated as candidate
CACert for TLS connections
HostAddress is a FQDN or IP address of the Host
Qualified name of host
HostUid is the ID of the EdgeHost
Default value: false
Enable this flag to support 2-Node HA mode. True indicates this edgehost which act as the recovery node. It is a immutable field can be set only during cluster provisioning.
nic
object
Edge native nic
Deprecated. Edge host nic name
Deprecated. Edge host static IP
whether this pool is for control plane
labels for this pool, example: master/worker, gpu, windows
machinePoolProperties
object
Machine pool specific properties
Possible values: [arm64
, amd64
]
Default value: amd64
Architecture type of the pool. Default value is 'amd64'
max size of the pool, for scaling
min size of the pool, for scaling
Minimum number of seconds a node should be Ready, before the next node is selected for repave. Applicable only for workerpools in infrastructure cluster
the os type for the pool, must be supported by the provider
size of the pool, number of machines
taints
object[]
master or worker taints
Possible values: [NoSchedule
, PreferNoSchedule
, NoExecute
]
The taint key to be applied to a node
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
The taint value corresponding to the taint key.
updateStrategy
object
rolling update strategy for this machinepool if not specified, will use ScaleOut
Possible values: [RollingUpdateScaleOut
, RollingUpdateScaleIn
]
update strategy, either ScaleOut or ScaleIn if empty, will default to RollingUpdateScaleOut
if IsControlPlane==true && useControlPlaneAsWorker==true, then will remove master taint this will not be used for worker pools
profileVariables
object[]
Responses
- 202
- 500
(empty)
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}