Class ClusterUpdate (2.6.0)

public sealed class ClusterUpdate : IMessage<ClusterUpdate>, IEquatable<ClusterUpdate>, IDeepCloneable<ClusterUpdate>, IBufferMessage, IMessage

ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.

Inheritance

Object > ClusterUpdate

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

ClusterUpdate()

public ClusterUpdate()

ClusterUpdate(ClusterUpdate)

public ClusterUpdate(ClusterUpdate other)
Parameter
NameDescription
otherClusterUpdate

Properties

DesiredAddonsConfig

public AddonsConfig DesiredAddonsConfig { get; set; }

Configurations for the various addons available to run in the cluster.

Property Value
TypeDescription
AddonsConfig

DesiredAuthenticatorGroupsConfig

public AuthenticatorGroupsConfig DesiredAuthenticatorGroupsConfig { get; set; }

The desired authenticator groups config for the cluster.

Property Value
TypeDescription
AuthenticatorGroupsConfig

DesiredBinaryAuthorization

public BinaryAuthorization DesiredBinaryAuthorization { get; set; }

The desired configuration options for the Binary Authorization feature.

Property Value
TypeDescription
BinaryAuthorization

DesiredClusterAutoscaling

public ClusterAutoscaling DesiredClusterAutoscaling { get; set; }

Cluster-level autoscaling configuration.

Property Value
TypeDescription
ClusterAutoscaling

DesiredDatabaseEncryption

public DatabaseEncryption DesiredDatabaseEncryption { get; set; }

Configuration of etcd encryption.

Property Value
TypeDescription
DatabaseEncryption

DesiredDefaultSnatStatus

public DefaultSnatStatus DesiredDefaultSnatStatus { get; set; }

The desired status of whether to disable default sNAT for this cluster.

Property Value
TypeDescription
DefaultSnatStatus

DesiredImageType

public string DesiredImageType { get; set; }

The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.

Property Value
TypeDescription
String

DesiredIntraNodeVisibilityConfig

public IntraNodeVisibilityConfig DesiredIntraNodeVisibilityConfig { get; set; }

The desired config of Intra-node visibility.

Property Value
TypeDescription
IntraNodeVisibilityConfig

DesiredLocations

public RepeatedField<string> DesiredLocations { get; }

The desired list of Google Compute Engine zones in which the cluster's nodes should be located.

This list must always include the cluster's primary zone.

Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

Property Value
TypeDescription
RepeatedField<String>

DesiredLoggingService

public string DesiredLoggingService { get; set; }

The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

Property Value
TypeDescription
String

DesiredMasterAuthorizedNetworksConfig

public MasterAuthorizedNetworksConfig DesiredMasterAuthorizedNetworksConfig { get; set; }

The desired configuration options for master authorized networks feature.

Property Value
TypeDescription
MasterAuthorizedNetworksConfig

DesiredMasterVersion

public string DesiredMasterVersion { get; set; }

The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the default Kubernetes version
Property Value
TypeDescription
String

DesiredMonitoringService

public string DesiredMonitoringService { get; set; }

The monitoring service the cluster should use to write metrics. Currently available options:

  • "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

Property Value
TypeDescription
String

DesiredNodePoolAutoscaling

public NodePoolAutoscaling DesiredNodePoolAutoscaling { get; set; }

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

Property Value
TypeDescription
NodePoolAutoscaling

DesiredNodePoolId

public string DesiredNodePoolId { get; set; }

The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.

Property Value
TypeDescription
String

DesiredNodeVersion

public string DesiredNodeVersion { get; set; }

The Kubernetes version to change the nodes to (typically an upgrade).

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • "latest": picks the highest valid Kubernetes version
  • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
  • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
  • "1.X.Y-gke.N": picks an explicit Kubernetes version
  • "-": picks the Kubernetes master version
Property Value
TypeDescription
String

DesiredPrivateClusterConfig

public PrivateClusterConfig DesiredPrivateClusterConfig { get; set; }

The desired private cluster configuration.

Property Value
TypeDescription
PrivateClusterConfig

DesiredReleaseChannel

public ReleaseChannel DesiredReleaseChannel { get; set; }

The desired release channel configuration.

Property Value
TypeDescription
ReleaseChannel

DesiredResourceUsageExportConfig

public ResourceUsageExportConfig DesiredResourceUsageExportConfig { get; set; }

The desired configuration for exporting resource usage.

Property Value
TypeDescription
ResourceUsageExportConfig

DesiredShieldedNodes

public ShieldedNodes DesiredShieldedNodes { get; set; }

Configuration for Shielded Nodes.

Property Value
TypeDescription
ShieldedNodes

DesiredVerticalPodAutoscaling

public VerticalPodAutoscaling DesiredVerticalPodAutoscaling { get; set; }

Cluster-level Vertical Pod Autoscaling configuration.

Property Value
TypeDescription
VerticalPodAutoscaling

DesiredWorkloadIdentityConfig

public WorkloadIdentityConfig DesiredWorkloadIdentityConfig { get; set; }

Configuration for Workload Identity.

Property Value
TypeDescription
WorkloadIdentityConfig