container
v1
|
#include <node_pool.h>
Static Public Member Functions | |
static NodePool * | New () |
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'autoscaling
' attribute.
|
inline |
Clears the 'conditions
' attribute.
|
inline |
Clears the 'config
' attribute.
|
inline |
Clears the 'initialNodeCount
' attribute.
|
inline |
Clears the 'instanceGroupUrls
' attribute.
|
inline |
Clears the 'locations
' attribute.
|
inline |
Clears the 'management
' attribute.
|
inline |
Clears the 'maxPodsConstraint
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'podIpv4CidrSize
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'statusMessage
' attribute.
|
inline |
Clears the 'upgradeSettings
' attribute.
|
inline |
Clears the 'version
' attribute.
const NodePoolAutoscaling google_container_api::NodePool::get_autoscaling | ( | ) | const |
Get a reference to the value of the 'autoscaling
' attribute.
const client::JsonCppArray<StatusCondition > google_container_api::NodePool::get_conditions | ( | ) | const |
Get a reference to the value of the 'conditions
' attribute.
const NodeConfig google_container_api::NodePool::get_config | ( | ) | const |
Get a reference to the value of the 'config
' attribute.
|
inline |
Get the value of the 'initialNodeCount
' attribute.
|
inline |
Get a reference to the value of the 'instanceGroupUrls
' attribute.
|
inline |
Get a reference to the value of the 'locations
' attribute.
const NodeManagement google_container_api::NodePool::get_management | ( | ) | const |
Get a reference to the value of the 'management
' attribute.
const MaxPodsConstraint google_container_api::NodePool::get_max_pods_constraint | ( | ) | const |
Get a reference to the value of the 'maxPodsConstraint
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'podIpv4CidrSize
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'statusMessage
' attribute.
const UpgradeSettings google_container_api::NodePool::get_upgrade_settings | ( | ) | const |
Get a reference to the value of the 'upgradeSettings
' attribute.
|
inline |
Get the value of the 'version
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'autoscaling
' attribute was set.
autoscaling
' attribute was set.
|
inline |
Determine if the 'conditions
' attribute was set.
conditions
' attribute was set.
|
inline |
Determine if the 'config
' attribute was set.
config
' attribute was set.
|
inline |
Determine if the 'initialNodeCount
' attribute was set.
initialNodeCount
' attribute was set.
|
inline |
Determine if the 'instanceGroupUrls
' attribute was set.
instanceGroupUrls
' attribute was set.
|
inline |
Determine if the 'locations
' attribute was set.
locations
' attribute was set.
|
inline |
Determine if the 'management
' attribute was set.
management
' attribute was set.
|
inline |
Determine if the 'maxPodsConstraint
' attribute was set.
maxPodsConstraint
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'podIpv4CidrSize
' attribute was set.
podIpv4CidrSize
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'statusMessage
' attribute was set.
statusMessage
' attribute was set.
|
inline |
Determine if the 'upgradeSettings
' attribute was set.
upgradeSettings
' attribute was set.
|
inline |
Determine if the 'version
' attribute was set.
version
' attribute was set. NodePoolAutoscaling google_container_api::NodePool::mutable_autoscaling | ( | ) |
Gets a reference to a mutable value of the 'autoscaling
' property.
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
client::JsonCppArray<StatusCondition > google_container_api::NodePool::mutable_conditions | ( | ) |
Gets a reference to a mutable value of the 'conditions
' property.
Which conditions caused the current node pool state.
NodeConfig google_container_api::NodePool::mutable_config | ( | ) |
Gets a reference to a mutable value of the 'config
' property.
The node configuration of the pool.
|
inline |
Gets a reference to a mutable value of the 'instanceGroupUrls
' property.
[Output only] The resource URLs of the managed instance groups associated with this node pool.
|
inline |
NodeManagement google_container_api::NodePool::mutable_management | ( | ) |
Gets a reference to a mutable value of the 'management
' property.
NodeManagement configuration for this NodePool.
MaxPodsConstraint google_container_api::NodePool::mutable_maxPodsConstraint | ( | ) |
Gets a reference to a mutable value of the 'maxPodsConstraint
' property.
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
UpgradeSettings google_container_api::NodePool::mutable_upgradeSettings | ( | ) |
Gets a reference to a mutable value of the 'upgradeSettings
' property.
Upgrade settings control disruption and speed of the upgrade.
|
static |
Creates a new default instance.
|
inline |
Change the 'initialNodeCount
' attribute.
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The name of the node pool.
[in] | value | The new value. |
|
inline |
Change the 'podIpv4CidrSize
' attribute.
[Output only] The pod CIDR block size per node in this node pool.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[Output only] The status of the nodes in this pool instance.
[in] | value | The new value. |
|
inline |
Change the 'statusMessage
' attribute.
[Output only] Additional information about the current status of this node pool instance, if available.
[in] | value | The new value. |
|
inline |
Change the 'version
' attribute.
The version of the Kubernetes of this node.
[in] | value | The new value. |