Resource: Cluster
A cluster in a private cloud.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. Identifier. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: |
create |
Output only. Creation time of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. Last update time of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. State of the resource. |
management |
Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one. |
autoscaling |
Optional. Configuration of the autoscaling applied to this cluster. |
uid |
Output only. System-generated unique identifier for the resource. |
node |
Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the An object containing a list of |
stretched |
Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud. |
State
Enum State defines possible states of private cloud clusters.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value should never be used. |
ACTIVE |
The Cluster is operational and can be used by the user. |
CREATING |
The Cluster is being deployed. |
UPDATING |
Adding or removing of a node to the cluster, any other cluster specific updates. |
DELETING |
The Cluster is being deleted. |
REPAIRING |
The Cluster is undergoing maintenance, for example: a failed node is getting replaced. |
AutoscalingSettings
Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.
JSON representation |
---|
{
"autoscalingPolicies": {
string: {
object ( |
Fields | |
---|---|
autoscaling |
Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:
Currently there map must contain only one element that describes the autoscaling policy for compute nodes. An object containing a list of |
min |
Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply. |
max |
Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply. |
cool |
Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes). A duration in seconds with up to nine fractional digits, ending with ' |
AutoscalingPolicy
Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.
JSON representation |
---|
{ "nodeTypeId": string, "scaleOutSize": integer, "cpuThresholds": { object ( |
Fields | |
---|---|
node |
Required. The canonical identifier of the node type to add or remove. Corresponds to the |
scale |
Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration. |
cpu |
Optional. Utilization thresholds pertaining to CPU utilization. |
granted |
Optional. Utilization thresholds pertaining to amount of granted memory. |
consumed |
Optional. Utilization thresholds pertaining to amount of consumed memory. |
storage |
Optional. Utilization thresholds pertaining to amount of consumed storage. |
Thresholds
Thresholds define the utilization of resources triggering scale-out and scale-in operations.
JSON representation |
---|
{ "scaleOut": integer, "scaleIn": integer } |
Fields | |
---|---|
scale |
Required. The utilization triggering the scale-out operation in percent. |
scale |
Required. The utilization triggering the scale-in operation in percent. |
Methods |
|
---|---|
|
Creates a new cluster in a given private cloud. |
|
Deletes a Cluster resource. |
|
Retrieves a Cluster resource by its resource name. |
|
Gets the access control policy for a resource. |
|
Lists Cluster resources in a given private cloud. |
|
Modifies a Cluster resource. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |