Service Client: Google::Container::V1::ClusterService::ClusterManagerClient

Client stub representing the remote ClusterManager gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to container.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Container::V1::ClusterService - Compiled Protocol Buffers messages for google/container/v1/cluster_service.proto

SYNOPSIS

use Google::Container::V1::ClusterService;

my $msg = Google::Container::V1::ClusterService::LinuxNodeConfig->new({
    sysctls => $sysctls,
    cgroup_mode => $cgroup_mode,
    hugepages => $hugepages,
    transparent_hugepage_enabled => $transparent_hugepage_enabled,
});

# Read or update a field
my $val = $msg->sysctls();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Container::V1::ClusterService::LinuxNodeConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/container/v1/cluster_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Container::V1::ClusterService::LinuxNodeConfig

Parameters that can be configured on Linux nodes.

Inherits from Protobuf::Message.

Accessors

  • $msg->sysctls() / $msg->sysctls($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::SysctlsEntry)

    The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

    The following parameters are supported.

    net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh2 net.ipv4.neigh.default.gc_thresh3 net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.keys.maxkeys kernel.keys.maxbytes kernel.shmmni kernel.shmmax kernel.shmall kernel.core_pattern kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes

  • $msg->cgroup_mode() / $msg->cgroup_mode($value)

    Type: Enum (Google::Container::V1::LinuxNodeConfig::CgroupMode)

    cgroup_mode specifies the cgroup mode to be used on the node.

  • $msg->hugepages() / $msg->hugepages($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::HugepagesConfig)

    Optional. Amounts for 2M and 1G hugepages

  • $msg->transparent_hugepage_enabled() / $msg->transparent_hugepage_enabled($value)

    Type: Enum (Google::Container::V1::LinuxNodeConfig::TransparentHugepageEnabled)

    Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide.

    See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.

  • $msg->transparent_hugepage_defrag() / $msg->transparent_hugepage_defrag($value)

    Type: Enum (Google::Container::V1::LinuxNodeConfig::TransparentHugepageDefrag)

    Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only.

    See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.

  • $msg->custom_node_init() / $msg->custom_node_init($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::CustomNodeInit)

    Optional. Allow users to run arbitrary bash script or container on the node.

  • $msg->swap_config() / $msg->swap_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::SwapConfig)

    Optional. Enables and configures swap space on nodes. If omitted, swap is disabled.

  • $msg->node_kernel_module_loading() / $msg->node_kernel_module_loading($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::NodeKernelModuleLoading)

    Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification.

  • $msg->accurate_time_config() / $msg->accurate_time_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::AccurateTimeConfig)

    Optional. The accurate time configuration for the node pool.

  • $msg->node_vfio_config() / $msg->node_vfio_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig::NodeVfioConfig)

    Optional. Contains VFIO-related configurations for this node.

  • $msg->disk_io_scheduler() / $msg->disk_io_scheduler($value)

    Type: Message (Google::Container::V1::ClusterService::DiskIoScheduler)

    Optional. Controls the configuration for the disk IO scheduler.

Enum: LinuxNodeConfig::CgroupMode

  • CGROUP_MODE_UNSPECIFIED => 0

  • CGROUP_MODE_V1 => 1

  • CGROUP_MODE_V2 => 2

Enum: LinuxNodeConfig::TransparentHugepageEnabled

  • TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED => 0

  • TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS => 1

  • TRANSPARENT_HUGEPAGE_ENABLED_MADVISE => 2

  • TRANSPARENT_HUGEPAGE_ENABLED_NEVER => 3

Enum: LinuxNodeConfig::TransparentHugepageDefrag

  • TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED => 0

  • TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS => 1

  • TRANSPARENT_HUGEPAGE_DEFRAG_DEFER => 2

  • TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE => 3

  • TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE => 4

  • TRANSPARENT_HUGEPAGE_DEFRAG_NEVER => 5

Google::Container::V1::ClusterService::WindowsNodeConfig

Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings.

Inherits from Protobuf::Message.

Accessors

Enum: WindowsNodeConfig::OSVersion

  • OS_VERSION_UNSPECIFIED => 0

  • OS_VERSION_LTSC2019 => 1

  • OS_VERSION_LTSC2022 => 2

Google::Container::V1::ClusterService::NodeKubeletConfig

Node kubelet configs.

Inherits from Protobuf::Message.

Accessors

  • $msg->cpu_manager_policy() / $msg->cpu_manager_policy($value)

    Type: String

    Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/

    The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.

  • $msg->topology_manager() / $msg->topology_manager($value)

    Type: Message (Google::Container::V1::ClusterService::TopologyManager)

    Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/

  • $msg->memory_manager() / $msg->memory_manager($value)

    Type: Message (Google::Container::V1::ClusterService::MemoryManager)

    Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/

  • $msg->cpu_cfs_quota() / $msg->cpu_cfs_quota($value)

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Enable CPU CFS quota enforcement for containers that specify CPU limits.

    This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all.

    Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits.

    The default value is 'true' if unspecified.

  • $msg->cpu_cfs_quota_period() / $msg->cpu_cfs_quota_period($value)

    Type: String

    Set the CPU CFS quota period value 'cpu.cfs_period_us'.

    The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive.

  • $msg->pod_pids_limit() / $msg->pod_pids_limit($value)

    Type: Int64

    Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits

    Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.

  • $msg->insecure_kubelet_readonly_port_enabled() / $msg->insecure_kubelet_readonly_port_enabled($value)

    Type: Bool

    Enable or disable Kubelet read only port.

  • $msg->image_gc_low_threshold_percent() / $msg->image_gc_low_threshold_percent($value)

    Type: Int32

    Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100.

    The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent.

    The default value is 80 if unspecified.

  • $msg->image_gc_high_threshold_percent() / $msg->image_gc_high_threshold_percent($value)

    Type: Int32

    Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100.

    The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent.

    The default value is 85 if unspecified.

  • $msg->image_minimum_gc_age() / $msg->image_minimum_gc_age($value)

    Type: String

    Optional. Defines the minimum age for an unused image before it is garbage collected.

    The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

    The value must be a positive duration less than or equal to 2 minutes.

    The default value is "2m0s" if unspecified.

  • $msg->image_maximum_gc_age() / $msg->image_maximum_gc_age($value)

    Type: String

    Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

    The value must be a positive duration greater than image_minimum_gc_age or "0s".

    The default value is "0s" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.

  • $msg->container_log_max_size() / $msg->container_log_max_size($value)

    Type: String

    Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation

    Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive.

    Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files.

    The default value is 10Mi if unspecified.

  • $msg->container_log_max_files() / $msg->container_log_max_files($value)

    Type: Int32

    Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation

    The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.

  • $msg->allowed_unsafe_sysctls() / $msg->allowed_unsafe_sysctls($value)

    Type: String

    Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`).

    The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods.

    To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`.

    See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.

  • $msg->eviction_soft() / $msg->eviction_soft($value)

    Type: Message (Google::Container::V1::ClusterService::EvictionSignals)

    Optional. eviction_soft is a map of signal names to quantities that defines soft eviction thresholds. Each signal is compared to its corresponding threshold to determine if a pod eviction should occur.

  • $msg->eviction_soft_grace_period() / $msg->eviction_soft_grace_period($value)

    Type: Message (Google::Container::V1::ClusterService::EvictionGracePeriod)

    Optional. eviction_soft_grace_period is a map of signal names to quantities that defines grace periods for each soft eviction signal. The grace period is the amount of time that a pod must be under pressure before an eviction occurs.

  • $msg->eviction_minimum_reclaim() / $msg->eviction_minimum_reclaim($value)

    Type: Message (Google::Container::V1::ClusterService::EvictionMinimumReclaim)

    Optional. eviction_minimum_reclaim is a map of signal names to quantities that defines minimum reclaims, which describe the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction while that resource is under pressure.

  • $msg->eviction_max_pod_grace_period_seconds() / $msg->eviction_max_pod_grace_period_seconds($value)

    Type: Int32

    Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300].

  • $msg->max_parallel_image_pulls() / $msg->max_parallel_image_pulls($value)

    Type: Int32

    Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type.

    See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details.

  • $msg->single_process_oom_kill() / $msg->single_process_oom_kill($value)

    Type: Bool

    Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.

  • $msg->crash_loop_back_off() / $msg->crash_loop_back_off($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig::CrashLoopBackOffConfig)

    Optional. Contains configuration options to modify node-level parameters for container restart behavior.

  • $msg->shutdown_grace_period_seconds() / $msg->shutdown_grace_period_seconds($value)

    Type: Int32

    Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.

  • $msg->shutdown_grace_period_critical_pods_seconds() / $msg->shutdown_grace_period_critical_pods_seconds($value)

    Type: Int32

    Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].

Google::Container::V1::ClusterService::TopologyManager

TopologyManager defines the configuration options for the [`kubelet` Topology Manager component](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/). For more information about the supported machine types and versions for the Topology Manager in GKE, see [Customizing node system configuration](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-resource-managers).

Inherits from Protobuf::Message.

Accessors

  • $msg->policy() / $msg->policy($value)

    Type: String

    Configures the strategy for resource alignment. Allowed values are:

    * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure.

    The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).

  • $msg->scope() / $msg->scope($value)

    Type: String

    The Topology Manager aligns resources in following scopes:

    * container * pod

    The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes

Google::Container::V1::ClusterService::MemoryManager

The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).

Inherits from Protobuf::Message.

Accessors

  • $msg->policy() / $msg->policy($value)

    Type: String

    Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies

    The following values are allowed. * "none" * "static" The default value is 'none' if unspecified.

Google::Container::V1::ClusterService::EvictionSignals

Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.

Inherits from Protobuf::Message.

Accessors

  • $msg->memory_available() / $msg->memory_available($value)

    Type: String

    Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_available() / $msg->nodefs_available($value)

    Type: String

    Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_inodes_free() / $msg->nodefs_inodes_free($value)

    Type: String

    Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_available() / $msg->imagefs_available($value)

    Type: String

    Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 15% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_inodes_free() / $msg->imagefs_inodes_free($value)

    Type: String

    Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->pid_available() / $msg->pid_available($value)

    Type: String

    Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

Google::Container::V1::ClusterService::EvictionGracePeriod

Eviction grace periods are grace periods for each eviction signal.

Inherits from Protobuf::Message.

Accessors

  • $msg->memory_available() / $msg->memory_available($value)

    Type: String

    Optional. Grace period for eviction due to memory available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_available() / $msg->nodefs_available($value)

    Type: String

    Optional. Grace period for eviction due to nodefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_inodes_free() / $msg->nodefs_inodes_free($value)

    Type: String

    Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_available() / $msg->imagefs_available($value)

    Type: String

    Optional. Grace period for eviction due to imagefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_inodes_free() / $msg->imagefs_inodes_free($value)

    Type: String

    Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->pid_available() / $msg->pid_available($value)

    Type: String

    Optional. Grace period for eviction due to pid available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

Google::Container::V1::ClusterService::EvictionMinimumReclaim

Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.

Inherits from Protobuf::Message.

Accessors

  • $msg->memory_available() / $msg->memory_available($value)

    Type: String

    Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_available() / $msg->nodefs_available($value)

    Type: String

    Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->nodefs_inodes_free() / $msg->nodefs_inodes_free($value)

    Type: String

    Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_available() / $msg->imagefs_available($value)

    Type: String

    Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->imagefs_inodes_free() / $msg->imagefs_inodes_free($value)

    Type: String

    Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

  • $msg->pid_available() / $msg->pid_available($value)

    Type: String

    Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

Google::Container::V1::ClusterService::NodeConfig

Parameters that describe the nodes in a cluster.

GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use [AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults] instead.

Inherits from Protobuf::Message.

Accessors

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types)

    If unspecified, the default machine type is `e2-medium`.

  • $msg->disk_size_gb() / $msg->disk_size_gb($value)

    Type: Int32

    Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.

    If unspecified, the default disk size is 100GB.

  • $msg->oauth_scopes() / $msg->oauth_scopes($value)

    Type: String

    The set of Google API scopes to be made available on all of the node VMs under the "default" service account.

    The following scopes are recommended, but not required, and by default are not included:

    * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with gcr.io (the [Artifact Registry](https://cloud.google.com/artifact-registry/)).

    If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Container::V1::ClusterService::NodeConfig::MetadataEntry)

    The metadata key/value pairs assigned to instances in the cluster.

    Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys:

    - "cluster-location"
    - "cluster-name"
    - "cluster-uid"
    - "configure-sh"
    - "containerd-configure-sh"
    - "enable-os-login"
    - "gci-ensure-gke-docker"
    - "gci-metrics-enabled"
    - "gci-update-strategy"
    - "instance-template"
    - "kube-env"
    - "startup-script"
    - "user-data"
    - "disable-address-manager"
    - "windows-startup-script-ps1"
    - "common-psm1"
    - "k8s-node-setup-psm1"
    - "install-ssh-psm1"
    - "user-profile-psm1"

    Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB.

    The total size of all keys and values must be less than 512 KB.

  • $msg->image_type() / $msg->image_type($value)

    Type: String

    The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

  • $msg->node_image_config() / $msg->node_image_config($value)

    Type: Message (Google::Container::V1::ClusterService::CustomImageConfig)

    The node image configuration to use for this node pool. Note that this is only applicable for node pools using image_type=CUSTOM.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Container::V1::ClusterService::NodeConfig::LabelsEntry)

    The Kubernetes labels (key/value pairs) to apply to each node. The values in this field are added to the set of default labels Kubernetes applies to nodes.

    This field has the following restrictions:

    * Labels must use a valid Kubernetes syntax and character set, as defined in https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set. * This field supports up to 1,024 total characters in a single request.

    Depending on the Kubernetes version, keys in this field might conflict with the keys of the default labels, which might change which of your labels are applied to the nodes. Assume that the behavior is unpredictable and avoid label key conflicts. For more information about the default labels, see: https://kubernetes.io/docs/reference/labels-annotations-taints/

  • $msg->local_ssd_count() / $msg->local_ssd_count($value)

    Type: Int32

    The number of local SSD disks to be attached to the node.

    The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

  • $msg->tags() / $msg->tags($value)

    Type: String

    The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.

  • $msg->preemptible() / $msg->preemptible($value)

    Type: Bool

    Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.

  • $msg->accelerators() / $msg->accelerators($value)

    Type: Message (Google::Container::V1::ClusterService::AcceleratorConfig)

    A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

  • $msg->disk_type() / $msg->disk_type($value)

    Type: String

    Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced')

    If unspecified, the default disk type is 'pd-standard'

  • $msg->min_cpu_platform() / $msg->min_cpu_platform($value)

    Type: String

    Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)

  • $msg->workload_metadata_config() / $msg->workload_metadata_config($value)

    Type: Message (Google::Container::V1::ClusterService::WorkloadMetadataConfig)

    The workload metadata configuration for this node.

  • $msg->taints() / $msg->taints($value)

    Type: Message (Google::Container::V1::ClusterService::NodeTaint)

    List of kubernetes taints to be applied to each node.

    For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

  • $msg->sandbox_config() / $msg->sandbox_config($value)

    Type: Message (Google::Container::V1::ClusterService::SandboxConfig)

    Sandbox configuration for this node.

  • $msg->node_group() / $msg->node_group($value)

    Type: String

    Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).

  • $msg->reservation_affinity() / $msg->reservation_affinity($value)

    Type: Message (Google::Container::V1::ClusterService::ReservationAffinity)

    The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.

  • $msg->shielded_instance_config() / $msg->shielded_instance_config($value)

    Type: Message (Google::Container::V1::ClusterService::ShieldedInstanceConfig)

    Shielded Instance options.

  • $msg->linux_node_config() / $msg->linux_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig)

    Parameters that can be configured on Linux nodes.

  • $msg->kubelet_config() / $msg->kubelet_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig)

    Node kubelet configs.

  • $msg->boot_disk_kms_key() / $msg->boot_disk_kms_key($value)

    Type: String

    The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

  • $msg->gcfs_config() / $msg->gcfs_config($value)

    Type: Message (Google::Container::V1::ClusterService::GcfsConfig)

    Google Container File System (image streaming) configs.

  • $msg->advanced_machine_features() / $msg->advanced_machine_features($value)

    Type: Message (Google::Container::V1::ClusterService::AdvancedMachineFeatures)

    Advanced features for the Compute Engine VM.

  • $msg->gvnic() / $msg->gvnic($value)

    Type: Message (Google::Container::V1::ClusterService::VirtualNIC)

    Enable or disable gvnic in the node pool.

  • $msg->spot() / $msg->spot($value)

    Type: Bool

    Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.

  • $msg->confidential_nodes() / $msg->confidential_nodes($value)

    Type: Message (Google::Container::V1::ClusterService::ConfidentialNodes)

    Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

  • $msg->fast_socket() / $msg->fast_socket($value)

    Type: Message (Google::Container::V1::ClusterService::FastSocket)

    Enable or disable NCCL fast socket for the node pool.

  • $msg->resource_labels() / $msg->resource_labels($value)

    Type: Message (Google::Container::V1::ClusterService::NodeConfig::ResourceLabelsEntry)

    The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

  • $msg->logging_config() / $msg->logging_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolLoggingConfig)

    Logging configuration.

  • $msg->windows_node_config() / $msg->windows_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::WindowsNodeConfig)

    Parameters that can be configured on Windows nodes.

  • $msg->local_nvme_ssd_block_config() / $msg->local_nvme_ssd_block_config($value)

    Type: Message (Google::Container::V1::ClusterService::LocalNvmeSsdBlockConfig)

    Parameters for using raw-block Local NVMe SSDs.

  • $msg->ephemeral_storage_local_ssd_config() / $msg->ephemeral_storage_local_ssd_config($value)

    Type: Message (Google::Container::V1::ClusterService::EphemeralStorageLocalSsdConfig)

    Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk.

  • $msg->sole_tenant_config() / $msg->sole_tenant_config($value)

    Type: Message (Google::Container::V1::ClusterService::SoleTenantConfig)

    Parameters for node pools to be backed by shared sole tenant node groups.

  • $msg->containerd_config() / $msg->containerd_config($value)

    Type: Message (Google::Container::V1::ClusterService::ContainerdConfig)

    Parameters for containerd customization.

  • $msg->resource_manager_tags() / $msg->resource_manager_tags($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceManagerTags)

    A map of resource manager tag keys and values to be attached to the nodes.

  • $msg->enable_confidential_storage() / $msg->enable_confidential_storage($value)

    Type: Bool

    Optional. Reserved for future use.

  • $msg->secondary_boot_disks() / $msg->secondary_boot_disks($value)

    Type: Message (Google::Container::V1::ClusterService::SecondaryBootDisk)

    List of secondary boot disks attached to the nodes.

  • $msg->storage_pools() / $msg->storage_pools($value)

    Type: String

    List of Storage Pools where boot disks are provisioned.

  • $msg->secondary_boot_disk_update_strategy() / $msg->secondary_boot_disk_update_strategy($value)

    Type: Message (Google::Container::V1::ClusterService::SecondaryBootDiskUpdateStrategy)

    Secondary boot disk update strategy.

  • $msg->gpu_direct_config() / $msg->gpu_direct_config($value)

    Type: Message (Google::Container::V1::ClusterService::GPUDirectConfig)

    The configuration for GPU Direct

  • $msg->max_run_duration() / $msg->max_run_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.

  • $msg->local_ssd_encryption_mode() / $msg->local_ssd_encryption_mode($value)

    Type: Enum (Google::Container::V1::NodeConfig::LocalSsdEncryptionMode)

    Specifies which method should be used for encrypting the Local SSDs attached to the node.

  • $msg->effective_cgroup_mode() / $msg->effective_cgroup_mode($value)

    Type: Enum (Google::Container::V1::NodeConfig::EffectiveCgroupMode)

    Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.

  • $msg->flex_start() / $msg->flex_start($value)

    Type: Bool

    Flex Start flag for enabling Flex Start VM.

  • $msg->boot_disk() / $msg->boot_disk($value)

    Type: Message (Google::Container::V1::ClusterService::BootDisk)

    The boot disk configuration for the node pool.

  • $msg->consolidation_delay() / $msg->consolidation_delay($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.

  • $msg->taint_config() / $msg->taint_config($value)

    Type: Message (Google::Container::V1::ClusterService::TaintConfig)

    Optional. The taint configuration for the node pool.

Enum: NodeConfig::LocalSsdEncryptionMode

  • LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED => 0

  • STANDARD_ENCRYPTION => 1

  • EPHEMERAL_KEY_ENCRYPTION => 2

Enum: NodeConfig::EffectiveCgroupMode

  • EFFECTIVE_CGROUP_MODE_UNSPECIFIED => 0

  • EFFECTIVE_CGROUP_MODE_V1 => 1

  • EFFECTIVE_CGROUP_MODE_V2 => 2

Google::Container::V1::ClusterService::TaintConfig

TaintConfig contains the configuration for the taints of the node pool.

Inherits from Protobuf::Message.

Accessors

Enum: TaintConfig::ArchitectureTaintBehavior

  • ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED => 0

  • NONE => 1

  • ARM => 2

Google::Container::V1::ClusterService::AdvancedMachineFeatures

Specifies options for controlling advanced machine features.

Inherits from Protobuf::Message.

Accessors

  • $msg->threads_per_core() / $msg->threads_per_core($value)

    Type: Int64

    The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

  • $msg->enable_nested_virtualization() / $msg->enable_nested_virtualization($value)

    Type: Bool

    Whether or not to enable nested virtualization (defaults to false).

  • $msg->performance_monitoring_unit() / $msg->performance_monitoring_unit($value)

    Type: Enum (Google::Container::V1::AdvancedMachineFeatures::PerformanceMonitoringUnit)

    Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.

Enum: AdvancedMachineFeatures::PerformanceMonitoringUnit

  • PERFORMANCE_MONITORING_UNIT_UNSPECIFIED => 0

  • ARCHITECTURAL => 1

  • STANDARD => 2

  • ENHANCED => 3

Google::Container::V1::ClusterService::NodeNetworkConfig

Parameters for node pool-level network config.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_pod_range() / $msg->create_pod_range($value)

    Type: Bool

    Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified.

    If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used.

    Only applicable if `ip_allocation_policy.use_ip_aliases` is true.

    This field cannot be changed after the node pool has been created.

  • $msg->pod_range() / $msg->pod_range($value)

    Type: String

    The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID.

    Only applicable if `ip_allocation_policy.use_ip_aliases` is true.

    This field cannot be changed after the node pool has been created.

  • $msg->pod_ipv4_cidr_block() / $msg->pod_ipv4_cidr_block($value)

    Type: String

    The IP address range for pod IPs in this node pool.

    Only applicable if `create_pod_range` is true.

    Set to blank to have a range chosen with the default size.

    Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.

    Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use.

    Only applicable if `ip_allocation_policy.use_ip_aliases` is true.

    This field cannot be changed after the node pool has been created.

  • $msg->enable_private_nodes() / $msg->enable_private_nodes($value)

    Type: Bool

    Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from [Cluster.NetworkConfig.default_enable_private_nodes][]

  • $msg->network_performance_config() / $msg->network_performance_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeNetworkConfig::NetworkPerformanceConfig)

    Network bandwidth tier configuration.

  • $msg->pod_cidr_overprovision_config() / $msg->pod_cidr_overprovision_config($value)

    Type: Message (Google::Container::V1::ClusterService::PodCIDROverprovisionConfig)

    [PRIVATE FIELD] Pod CIDR size overprovisioning config for the node pool.

    Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26).

    This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.

  • $msg->additional_node_network_configs() / $msg->additional_node_network_configs($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalNodeNetworkConfig)

    We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface

  • $msg->additional_pod_network_configs() / $msg->additional_pod_network_configs($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalPodNetworkConfig)

    We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node

  • $msg->pod_ipv4_range_utilization() / $msg->pod_ipv4_range_utilization($value)

    Type: Double

    Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable.

  • $msg->network_tier_config() / $msg->network_tier_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTierConfig)

    Output only. The network tier configuration for the node pool inherits from the cluster-level configuration and remains immutable throughout the node pool's lifecycle, including during upgrades.

  • $msg->accelerator_network_profile() / $msg->accelerator_network_profile($value)

    Type: String

    Immutable. The accelerator network profile for the node pool. For now the only valid value is "auto". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc.

Google::Container::V1::ClusterService::AdditionalNodeNetworkConfig

AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Name of the VPC where the additional interface belongs

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Name of the subnetwork where the additional interface belongs

Google::Container::V1::ClusterService::AdditionalPodNetworkConfig

AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message

Inherits from Protobuf::Message.

Accessors

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Name of the subnetwork where the additional pod network belongs.

  • $msg->secondary_pod_range() / $msg->secondary_pod_range($value)

    Type: String

    The name of the secondary range on the subnet which provides IP address for this pod range.

  • $msg->max_pods_per_node() / $msg->max_pods_per_node($value)

    Type: Message (Google::Container::V1::ClusterService::MaxPodsConstraint)

    The maximum number of pods per node which use this pod network.

Google::Container::V1::ClusterService::ShieldedInstanceConfig

A set of Shielded Instance options.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_secure_boot() / $msg->enable_secure_boot($value)

    Type: Bool

    Defines whether the instance has Secure Boot enabled.

    Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.

  • $msg->enable_integrity_monitoring() / $msg->enable_integrity_monitoring($value)

    Type: Bool

    Defines whether the instance has integrity monitoring enabled.

    Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.

Google::Container::V1::ClusterService::CustomImageConfig

CustomImageConfig contains the information r

Inherits from Protobuf::Message.

Accessors

  • $msg->image() / $msg->image($value)

    Type: String

    The name of the image to use for this node.

  • $msg->image_project() / $msg->image_project($value)

    Type: String

    The project containing the image to use for this node.

Google::Container::V1::ClusterService::SandboxConfig

SandboxConfig contains configurations of the sandbox to use for the node.

Inherits from Protobuf::Message.

Accessors

Enum: SandboxConfig::Type

  • UNSPECIFIED => 0

  • GVISOR => 1

Google::Container::V1::ClusterService::GcfsConfig

GcfsConfig contains configurations of Google Container File System (image streaming).

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether to use GCFS.

Google::Container::V1::ClusterService::ReservationAffinity

[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.

Inherits from Protobuf::Message.

Accessors

  • $msg->consume_reservation_type() / $msg->consume_reservation_type($value)

    Type: Enum (Google::Container::V1::ReservationAffinity::Type)

    Corresponds to the type of reservation consumption.

  • $msg->key() / $msg->key($value)

    Type: String

    Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.

  • $msg->values() / $msg->values($value)

    Type: String

    Corresponds to the label value(s) of reservation resource(s).

Enum: ReservationAffinity::Type

  • UNSPECIFIED => 0

  • NO_RESERVATION => 1

  • ANY_RESERVATION => 2

  • SPECIFIC_RESERVATION => 3

  • ANY_RESERVATION_THEN_FAIL => 4

Google::Container::V1::ClusterService::SoleTenantConfig

SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->node_affinities() / $msg->node_affinities($value)

    Type: Message (Google::Container::V1::ClusterService::SoleTenantConfig::NodeAffinity)

    NodeAffinities used to match to a shared sole tenant node group.

  • $msg->min_node_cpus() / $msg->min_node_cpus($value)

    Type: Int32

    Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.

Google::Container::V1::ClusterService::ContainerdConfig

ContainerdConfig contains configuration to customize containerd.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::NodeTaint

Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.

Inherits from Protobuf::Message.

Accessors

  • $msg->key() / $msg->key($value)

    Type: String

    Key for taint.

  • $msg->value() / $msg->value($value)

    Type: String

    Value for taint.

  • $msg->effect() / $msg->effect($value)

    Type: Enum (Google::Container::V1::NodeTaint::Effect)

    Effect for taint.

Enum: NodeTaint::Effect

  • EFFECT_UNSPECIFIED => 0

  • NO_SCHEDULE => 1

  • PREFER_NO_SCHEDULE => 2

  • NO_EXECUTE => 3

Google::Container::V1::ClusterService::NodeTaints

Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::NodeLabels

Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ResourceLabels

Collection of [Resource Manager labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::NetworkTags

Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->tags() / $msg->tags($value)

    Type: String

    List of network tags.

Google::Container::V1::ClusterService::MasterAuth

The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.

Inherits from Protobuf::Message.

Accessors

  • $msg->username() / $msg->username($value)

    Type: String

    The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string).

    Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication

  • $msg->password() / $msg->password($value)

    Type: String

    The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty.

    Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication

  • $msg->client_certificate_config() / $msg->client_certificate_config($value)

    Type: Message (Google::Container::V1::ClusterService::ClientCertificateConfig)

    Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.

  • $msg->cluster_ca_certificate() / $msg->cluster_ca_certificate($value)

    Type: String

    Output only. Base64-encoded public certificate that is the root of trust for the cluster.

  • $msg->client_certificate() / $msg->client_certificate($value)

    Type: String

    Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.

  • $msg->client_key() / $msg->client_key($value)

    Type: String

    Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.

Google::Container::V1::ClusterService::ClientCertificateConfig

Configuration for client certificates on the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->issue_client_certificate() / $msg->issue_client_certificate($value)

    Type: Bool

    Issue a client certificate.

Google::Container::V1::ClusterService::AddonsConfig

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::HttpLoadBalancing

Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.

Google::Container::V1::ClusterService::HorizontalPodAutoscaling

Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.

Google::Container::V1::ClusterService::KubernetesDashboard

Configuration for the Kubernetes Dashboard.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Whether the Kubernetes Dashboard is enabled for this cluster.

Google::Container::V1::ClusterService::NetworkPolicyConfig

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Whether NetworkPolicy is enabled for this cluster.

Google::Container::V1::ClusterService::DnsCacheConfig

Configuration for NodeLocal DNSCache

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether NodeLocal DNSCache is enabled for this cluster.

Google::Container::V1::ClusterService::PrivateClusterMasterGlobalAccessConfig

Configuration for controlling master global access settings.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whenever master is accessible globally or not.

Google::Container::V1::ClusterService::PrivateClusterConfig

Configuration options for private clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_private_nodes() / $msg->enable_private_nodes($value)

    Type: Bool

    Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

    Deprecated: Use [NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes] instead.

  • $msg->enable_private_endpoint() / $msg->enable_private_endpoint($value)

    Type: Bool

    Whether the master's internal IP address is used as the cluster endpoint.

    Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint] instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

  • $msg->master_ipv4_cidr_block() / $msg->master_ipv4_cidr_block($value)

    Type: String

    The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

  • $msg->private_endpoint() / $msg->private_endpoint($value)

    Type: String

    Output only. The internal IP address of this cluster's master endpoint.

    Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint] instead.

  • $msg->public_endpoint() / $msg->public_endpoint($value)

    Type: String

    Output only. The external IP address of this cluster's master endpoint.

    Deprecated:Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint] instead.

  • $msg->peering_name() / $msg->peering_name($value)

    Type: String

    Output only. The peering name in the customer VPC used by this cluster.

  • $msg->master_global_access_config() / $msg->master_global_access_config($value)

    Type: Message (Google::Container::V1::ClusterService::PrivateClusterMasterGlobalAccessConfig)

    Controls master global access settings.

    Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

  • $msg->private_endpoint_subnetwork() / $msg->private_endpoint_subnetwork($value)

    Type: String

    Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.

    Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork] instead.

Google::Container::V1::ClusterService::AuthenticatorGroupsConfig

Configuration for returning group information from authenticators.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether this cluster should return group membership lookups during authentication using a group of security groups.

  • $msg->security_group() / $msg->security_group($value)

    Type: String

    The name of the security group-of-groups to be used. Only relevant if enabled = true.

Google::Container::V1::ClusterService::CloudRunConfig

Configuration options for the Cloud Run feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Whether Cloud Run addon is enabled for this cluster.

  • $msg->load_balancer_type() / $msg->load_balancer_type($value)

    Type: Enum (Google::Container::V1::CloudRunConfig::LoadBalancerType)

    Which load balancer type is installed for Cloud Run.

Enum: CloudRunConfig::LoadBalancerType

  • LOAD_BALANCER_TYPE_UNSPECIFIED => 0

  • LOAD_BALANCER_TYPE_EXTERNAL => 1

  • LOAD_BALANCER_TYPE_INTERNAL => 2

Google::Container::V1::ClusterService::ConfigConnectorConfig

Configuration options for the Config Connector add-on.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether Cloud Connector is enabled for this cluster.

Google::Container::V1::ClusterService::GcePersistentDiskCsiDriverConfig

Configuration for the Compute Engine PD CSI driver.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Compute Engine PD CSI driver is enabled for this cluster.

Google::Container::V1::ClusterService::GcpFilestoreCsiDriverConfig

Configuration for the Filestore CSI driver.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Filestore CSI driver is enabled for this cluster.

Google::Container::V1::ClusterService::GcsFuseCsiDriverConfig

Configuration for the Cloud Storage Fuse CSI driver.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.

Google::Container::V1::ClusterService::ParallelstoreCsiDriverConfig

Configuration for the Cloud Storage Parallelstore CSI driver.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.

Google::Container::V1::ClusterService::HighScaleCheckpointingConfig

Configuration for the High Scale Checkpointing.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the High Scale Checkpointing is enabled for this cluster.

Google::Container::V1::ClusterService::LustreCsiDriverConfig

Configuration for the Lustre CSI driver.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Lustre CSI driver is enabled for this cluster.

  • $msg->enable_legacy_lustre_port() / $msg->enable_legacy_lustre_port($value)

    Type: Bool

    If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.

  • $msg->disable_multi_nic() / $msg->disable_multi_nic($value)

    Type: Bool

    When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and configure all suitable network interfaces on a node to maximize I/O performance for demanding workloads.

Google::Container::V1::ClusterService::SlurmOperatorConfig

Configuration for the Slurm Operator.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    When enabled, it runs a Slurm Operator that manages the set of compute pods for Slurm Cluster.

Google::Container::V1::ClusterService::AgentSandboxConfig

Configuration for the AgentSandbox addon.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Whether AgentSandbox is enabled for this cluster.

Google::Container::V1::ClusterService::NodeReadinessConfig

Configuration for the GKE Node Readiness Controller.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Whether the GKE Node Readiness Controller is enabled for this cluster.

Google::Container::V1::ClusterService::SliceControllerConfig

Configuration for the Slice Controller.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Indicates whether Slice Controller is enabled in the cluster.

Google::Container::V1::ClusterService::RayOperatorConfig

Configuration options for the Ray Operator add-on.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::GkeBackupAgentConfig

Configuration for the Backup for GKE Agent.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Backup for GKE agent is enabled for this cluster.

Google::Container::V1::ClusterService::StatefulHAConfig

Configuration for the Stateful HA add-on.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the Stateful HA add-on is enabled for this cluster.

Google::Container::V1::ClusterService::MasterAuthorizedNetworksConfig

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether or not master authorized networks is enabled.

  • $msg->cidr_blocks() / $msg->cidr_blocks($value)

    Type: Message (Google::Container::V1::ClusterService::MasterAuthorizedNetworksConfig::CidrBlock)

    cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

  • $msg->gcp_public_cidrs_access_enabled() / $msg->gcp_public_cidrs_access_enabled($value)

    Type: Bool

    Whether master is accessible via Google Compute Engine Public IP addresses.

  • $msg->private_endpoint_enforcement_enabled() / $msg->private_endpoint_enforcement_enabled($value)

    Type: Bool

    Whether master authorized networks is enforced on private endpoint or not.

Google::Container::V1::ClusterService::LegacyAbac

Configuration for the legacy Attribute Based Access Control authorization mode.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.

Google::Container::V1::ClusterService::NetworkPolicy

Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/

Inherits from Protobuf::Message.

Accessors

  • $msg->provider() / $msg->provider($value)

    Type: Enum (Google::Container::V1::NetworkPolicy::Provider)

    The selected network policy provider.

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether network policy is enabled on the cluster.

Enum: NetworkPolicy::Provider

  • PROVIDER_UNSPECIFIED => 0

  • CALICO => 1

Google::Container::V1::ClusterService::BinaryAuthorization

Configuration for Binary Authorization.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.

  • $msg->evaluation_mode() / $msg->evaluation_mode($value)

    Type: Enum (Google::Container::V1::BinaryAuthorization::EvaluationMode)

    Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.

Enum: BinaryAuthorization::EvaluationMode

  • EVALUATION_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • PROJECT_SINGLETON_POLICY_ENFORCE => 2

Google::Container::V1::ClusterService::PodCIDROverprovisionConfig

[PRIVATE FIELD] Config for pod CIDR size overprovisioning.

Inherits from Protobuf::Message.

Accessors

  • $msg->disable() / $msg->disable($value)

    Type: Bool

    Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.

Google::Container::V1::ClusterService::IPAllocationPolicy

Configuration for controlling how IPs are allocated in the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->use_ip_aliases() / $msg->use_ip_aliases($value)

    Type: Bool

    Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode

  • $msg->create_subnetwork() / $msg->create_subnetwork($value)

    Type: Bool

    Whether a new subnetwork will be created automatically for the cluster.

    This field is only applicable when `use_ip_aliases` is true.

  • $msg->subnetwork_name() / $msg->subnetwork_name($value)

    Type: String

    A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.

  • $msg->cluster_ipv4_cidr() / $msg->cluster_ipv4_cidr($value)

    Type: String

    This field is deprecated, use cluster_ipv4_cidr_block.

  • $msg->node_ipv4_cidr() / $msg->node_ipv4_cidr($value)

    Type: String

    This field is deprecated, use node_ipv4_cidr_block.

  • $msg->services_ipv4_cidr() / $msg->services_ipv4_cidr($value)

    Type: String

    This field is deprecated, use services_ipv4_cidr_block.

  • $msg->cluster_secondary_range_name() / $msg->cluster_secondary_range_name($value)

    Type: String

    The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork.

    This field is only applicable with use_ip_aliases is true and create_subnetwork is false.

  • $msg->services_secondary_range_name() / $msg->services_secondary_range_name($value)

    Type: String

    The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork.

    This field is only applicable with use_ip_aliases is true and create_subnetwork is false.

  • $msg->cluster_ipv4_cidr_block() / $msg->cluster_ipv4_cidr_block($value)

    Type: String

    The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank.

    This field is only applicable when `use_ip_aliases` is true.

    Set to blank to have a range chosen with the default size.

    Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.

    Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.

  • $msg->node_ipv4_cidr_block() / $msg->node_ipv4_cidr_block($value)

    Type: String

    The IP address range of the instance IPs in this cluster.

    This is applicable only if `create_subnetwork` is true.

    Set to blank to have a range chosen with the default size.

    Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.

    Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.

  • $msg->services_ipv4_cidr_block() / $msg->services_ipv4_cidr_block($value)

    Type: String

    The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size.

    This field is only applicable when `use_ip_aliases` is true.

    Set to blank to have a range chosen with the default size.

    Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.

    Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.

  • $msg->tpu_ipv4_cidr_block() / $msg->tpu_ipv4_cidr_block($value)

    Type: String

    The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size.

    This field is only applicable when `use_ip_aliases` is true.

    If unspecified, the range will use the default size.

    Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask.

    Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.

    This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.

  • $msg->use_routes() / $msg->use_routes($value)

    Type: Bool

    Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode

  • $msg->stack_type() / $msg->stack_type($value)

    Type: Enum (Google::Container::V1::StackType)

    The IP stack type of the cluster

  • $msg->ipv6_access_type() / $msg->ipv6_access_type($value)

    Type: Enum (Google::Container::V1::IPv6AccessType)

    The ipv6 access type (internal or external) when create_subnetwork is true

  • $msg->pod_cidr_overprovision_config() / $msg->pod_cidr_overprovision_config($value)

    Type: Message (Google::Container::V1::ClusterService::PodCIDROverprovisionConfig)

    [PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster.

    Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26).

    This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled.

  • $msg->subnet_ipv6_cidr_block() / $msg->subnet_ipv6_cidr_block($value)

    Type: String

    Output only. The subnet's IPv6 CIDR block used by nodes and pods.

  • $msg->services_ipv6_cidr_block() / $msg->services_ipv6_cidr_block($value)

    Type: String

    Output only. The services IPv6 CIDR block for the cluster.

  • $msg->additional_pod_ranges_config() / $msg->additional_pod_ranges_config($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalPodRangesConfig)

    Output only. The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.

  • $msg->default_pod_ipv4_range_utilization() / $msg->default_pod_ipv4_range_utilization($value)

    Type: Double

    Output only. The utilization of the cluster default IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.

  • $msg->additional_ip_ranges_configs() / $msg->additional_ip_ranges_configs($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalIPRangesConfig)

    Output only. The additional IP ranges that are added to the cluster. These IP ranges can be used by new node pools to allocate node and pod IPs automatically. Each AdditionalIPRangesConfig corresponds to a single subnetwork. Once a range is removed it will not show up in IPAllocationPolicy.

  • $msg->auto_ipam_config() / $msg->auto_ipam_config($value)

    Type: Message (Google::Container::V1::ClusterService::AutoIpamConfig)

    Optional. AutoIpamConfig contains all information related to Auto IPAM

  • $msg->network_tier_config() / $msg->network_tier_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTierConfig)

    Cluster-level network tier configuration is used to determine the default network tier for external IP addresses on cluster resources, such as node pools and load balancers.

Google::Container::V1::ClusterService::Cluster

A Google Kubernetes Engine cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions:

    * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.

  • $msg->description() / $msg->description($value)

    Type: String

    An optional description of this cluster.

  • $msg->initial_node_count() / $msg->initial_node_count($value)

    Type: Int32

    The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time.

    This field is deprecated, use node_pool.initial_node_count instead.

  • $msg->node_config() / $msg->node_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeConfig)

    Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`)

    If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.

  • $msg->master_auth() / $msg->master_auth($value)

    Type: Message (Google::Container::V1::ClusterService::MasterAuth)

    The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to "admin", a random password will be generated, and a client certificate will be issued.

  • $msg->logging_service() / $msg->logging_service($value)

    Type: String

    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.

  • $msg->monitoring_service() / $msg->monitoring_service($value)

    Type: String

    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.

  • $msg->network() / $msg->network($value)

    Type: String

    The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.

  • $msg->cluster_ipv4_cidr() / $msg->cluster_ipv4_cidr($value)

    Type: String

    The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.

  • $msg->addons_config() / $msg->addons_config($value)

    Type: Message (Google::Container::V1::ClusterService::AddonsConfig)

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

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.

  • $msg->node_pools() / $msg->node_pools($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool)

    The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.

  • $msg->locations() / $msg->locations($value)

    Type: String

    The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located.

    This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation.

    Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.

  • $msg->enable_kubernetes_alpha() / $msg->enable_kubernetes_alpha($value)

    Type: Bool

    Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.

  • $msg->alpha_cluster_feature_gates() / $msg->alpha_cluster_feature_gates($value)

    Type: String

    The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. "featureX=true" or "featureX=false")

  • $msg->resource_labels() / $msg->resource_labels($value)

    Type: Message (Google::Container::V1::ClusterService::Cluster::ResourceLabelsEntry)

    The resource labels for the cluster to use to annotate any related Google Compute Engine resources.

  • $msg->label_fingerprint() / $msg->label_fingerprint($value)

    Type: String

    The fingerprint of the set of labels for this cluster.

  • $msg->legacy_abac() / $msg->legacy_abac($value)

    Type: Message (Google::Container::V1::ClusterService::LegacyAbac)

    Configuration for the legacy ABAC authorization mode.

  • $msg->network_policy() / $msg->network_policy($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkPolicy)

    Configuration options for the NetworkPolicy feature.

  • $msg->ip_allocation_policy() / $msg->ip_allocation_policy($value)

    Type: Message (Google::Container::V1::ClusterService::IPAllocationPolicy)

    Configuration for cluster IP allocation.

  • $msg->master_authorized_networks_config() / $msg->master_authorized_networks_config($value)

    Type: Message (Google::Container::V1::ClusterService::MasterAuthorizedNetworksConfig)

    The configuration options for master authorized networks feature.

    Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config] instead.

  • $msg->maintenance_policy() / $msg->maintenance_policy($value)

    Type: Message (Google::Container::V1::ClusterService::MaintenancePolicy)

    Configure the maintenance policy for this cluster.

  • $msg->binary_authorization() / $msg->binary_authorization($value)

    Type: Message (Google::Container::V1::ClusterService::BinaryAuthorization)

    Configuration for Binary Authorization.

  • $msg->autoscaling() / $msg->autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::ClusterAutoscaling)

    Cluster-level autoscaling configuration.

  • $msg->network_config() / $msg->network_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkConfig)

    Configuration for cluster networking.

  • $msg->default_max_pods_constraint() / $msg->default_max_pods_constraint($value)

    Type: Message (Google::Container::V1::ClusterService::MaxPodsConstraint)

    The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.

  • $msg->resource_usage_export_config() / $msg->resource_usage_export_config($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceUsageExportConfig)

    Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.

  • $msg->authenticator_groups_config() / $msg->authenticator_groups_config($value)

    Type: Message (Google::Container::V1::ClusterService::AuthenticatorGroupsConfig)

    Configuration controlling RBAC group membership information.

  • $msg->private_cluster_config() / $msg->private_cluster_config($value)

    Type: Message (Google::Container::V1::ClusterService::PrivateClusterConfig)

    Configuration for private cluster.

  • $msg->database_encryption() / $msg->database_encryption($value)

    Type: Message (Google::Container::V1::ClusterService::DatabaseEncryption)

    Configuration of etcd encryption.

  • $msg->vertical_pod_autoscaling() / $msg->vertical_pod_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::VerticalPodAutoscaling)

    Cluster-level Vertical Pod Autoscaling configuration.

  • $msg->shielded_nodes() / $msg->shielded_nodes($value)

    Type: Message (Google::Container::V1::ClusterService::ShieldedNodes)

    Shielded Nodes configuration.

  • $msg->release_channel() / $msg->release_channel($value)

    Type: Message (Google::Container::V1::ClusterService::ReleaseChannel)

    Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.

  • $msg->workload_identity_config() / $msg->workload_identity_config($value)

    Type: Message (Google::Container::V1::ClusterService::WorkloadIdentityConfig)

    Configuration for the use of Kubernetes Service Accounts in IAM policies.

  • $msg->mesh_certificates() / $msg->mesh_certificates($value)

    Type: Message (Google::Container::V1::ClusterService::MeshCertificates)

    Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

  • $msg->cost_management_config() / $msg->cost_management_config($value)

    Type: Message (Google::Container::V1::ClusterService::CostManagementConfig)

    Configuration for the fine-grained cost management feature.

  • $msg->notification_config() / $msg->notification_config($value)

    Type: Message (Google::Container::V1::ClusterService::NotificationConfig)

    Notification configuration of the cluster.

  • $msg->confidential_nodes() / $msg->confidential_nodes($value)

    Type: Message (Google::Container::V1::ClusterService::ConfidentialNodes)

    Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.

  • $msg->identity_service_config() / $msg->identity_service_config($value)

    Type: Message (Google::Container::V1::ClusterService::IdentityServiceConfig)

    Configuration for Identity Service component.

  • $msg->self_link() / $msg->self_link($value)

    Type: String

    Output only. Server-defined URL for the resource.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.

  • $msg->endpoint() / $msg->endpoint($value)

    Type: String

    Output only. The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`.

    See the `masterAuth` property of this resource for username and password information.

  • $msg->initial_cluster_version() / $msg->initial_cluster_version($value)

    Type: String

    The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.

    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

  • $msg->current_master_version() / $msg->current_master_version($value)

    Type: String

    Output only. The current software version of the master endpoint.

  • $msg->current_emulated_version() / $msg->current_emulated_version($value)

    Type: String

    Output only. The current emulated version of the master endpoint. The version is in minor version format, e.g. 1.30. No value or empty string means the cluster has no emulated version.

  • $msg->rollback_safe_upgrade() / $msg->rollback_safe_upgrade($value)

    Type: Message (Google::Container::V1::ClusterService::RollbackSafeUpgrade)

    Optional. The rollback safe upgrade information of the cluster. This field is used when user manually triggers a rollback safe upgrade.

  • $msg->current_node_version() / $msg->current_node_version($value)

    Type: String

    Output only. Deprecated, use [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.

  • $msg->create_time() / $msg->create_time($value)

    Type: String

    Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Container::V1::Cluster::Status)

    Output only. The current status of this cluster.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.

  • $msg->node_ipv4_cidr_size() / $msg->node_ipv4_cidr_size($value)

    Type: Int32

    Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.

  • $msg->services_ipv4_cidr() / $msg->services_ipv4_cidr($value)

    Type: String

    Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.

  • $msg->instance_group_urls() / $msg->instance_group_urls($value)

    Type: String

    Output only. Deprecated. Use node_pools.instance_group_urls.

  • $msg->current_node_count() / $msg->current_node_count($value)

    Type: Int32

    Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.

  • $msg->expire_time() / $msg->expire_time($value)

    Type: String

    Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

  • $msg->location() / $msg->location($value)

    Type: String

    Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.

  • $msg->enable_tpu() / $msg->enable_tpu($value)

    Type: Bool

    Enable the ability to use Cloud TPUs in this cluster. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.

  • $msg->tpu_ipv4_cidr_block() / $msg->tpu_ipv4_cidr_block($value)

    Type: String

    Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.

  • $msg->conditions() / $msg->conditions($value)

    Type: Message (Google::Container::V1::ClusterService::StatusCondition)

    Which conditions caused the current cluster state.

  • $msg->autopilot() / $msg->autopilot($value)

    Type: Message (Google::Container::V1::ClusterService::Autopilot)

    Autopilot configuration for the cluster.

  • $msg->id() / $msg->id($value)

    Type: String

    Output only. Unique id for the cluster.

  • $msg->node_pool_defaults() / $msg->node_pool_defaults($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolDefaults)

    Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.

  • $msg->logging_config() / $msg->logging_config($value)

    Type: Message (Google::Container::V1::ClusterService::LoggingConfig)

    Logging configuration for the cluster.

  • $msg->monitoring_config() / $msg->monitoring_config($value)

    Type: Message (Google::Container::V1::ClusterService::MonitoringConfig)

    Monitoring configuration for the cluster.

  • $msg->node_pool_auto_config() / $msg->node_pool_auto_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolAutoConfig)

    Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

  • $msg->pod_autoscaling() / $msg->pod_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::PodAutoscaling)

    The config for pod autoscaling.

  • $msg->etag() / $msg->etag($value)

    Type: String

    This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.

  • $msg->fleet() / $msg->fleet($value)

    Type: Message (Google::Container::V1::ClusterService::Fleet)

    Fleet information for the cluster.

  • $msg->security_posture_config() / $msg->security_posture_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecurityPostureConfig)

    Optional. Enable/Disable Security Posture API features for the cluster.

  • $msg->control_plane_endpoints_config() / $msg->control_plane_endpoints_config($value)

    Type: Message (Google::Container::V1::ClusterService::ControlPlaneEndpointsConfig)

    Configuration for all cluster's control plane endpoints.

  • $msg->enable_k8s_beta_apis() / $msg->enable_k8s_beta_apis($value)

    Type: Message (Google::Container::V1::ClusterService::K8sBetaAPIConfig)

    Beta APIs Config

  • $msg->enterprise_config() / $msg->enterprise_config($value)

    Type: Message (Google::Container::V1::ClusterService::EnterpriseConfig)

    GKE Enterprise Configuration.

    Deprecated: GKE Enterprise features are now available without an Enterprise tier.

  • $msg->secret_manager_config() / $msg->secret_manager_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecretManagerConfig)

    Secret CSI driver configuration.

  • $msg->compliance_posture_config() / $msg->compliance_posture_config($value)

    Type: Message (Google::Container::V1::ClusterService::CompliancePostureConfig)

    Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.

    Enable/Disable Compliance Posture features for the cluster.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->user_managed_keys_config() / $msg->user_managed_keys_config($value)

    Type: Message (Google::Container::V1::ClusterService::UserManagedKeysConfig)

    The Custom keys configuration for the cluster.

  • $msg->rbac_binding_config() / $msg->rbac_binding_config($value)

    Type: Message (Google::Container::V1::ClusterService::RBACBindingConfig)

    RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

  • $msg->gke_auto_upgrade_config() / $msg->gke_auto_upgrade_config($value)

    Type: Message (Google::Container::V1::ClusterService::GkeAutoUpgradeConfig)

    Configuration for GKE auto upgrades.

  • $msg->anonymous_authentication_config() / $msg->anonymous_authentication_config($value)

    Type: Message (Google::Container::V1::ClusterService::AnonymousAuthenticationConfig)

    Configuration for limiting anonymous access to all endpoints except the health checks.

  • $msg->schedule_upgrade_config() / $msg->schedule_upgrade_config($value)

    Type: Message (Google::Container::V1::ClusterService::ScheduleUpgradeConfig)

    Optional. Configuration for scheduled upgrades.

  • $msg->secret_sync_config() / $msg->secret_sync_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecretSyncConfig)

    Configuration for sync Secret Manager secrets as k8s secrets.

  • $msg->managed_opentelemetry_config() / $msg->managed_opentelemetry_config($value)

    Type: Message (Google::Container::V1::ClusterService::ManagedOpenTelemetryConfig)

    Configuration for Managed OpenTelemetry pipeline.

  • $msg->control_plane_egress() / $msg->control_plane_egress($value)

    Type: Message (Google::Container::V1::ClusterService::ControlPlaneEgress)

    Configuration for control plane egress control.

  • $msg->managed_machine_learning_diagnostics_config() / $msg->managed_machine_learning_diagnostics_config($value)

    Type: Message (Google::Container::V1::ClusterService::ManagedMachineLearningDiagnosticsConfig)

    Configuration for Managed Machine Learning Diagnostics.

  • $msg->node_creation_config() / $msg->node_creation_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeCreationConfig)

    Optional. Configuration for Node Creation Mode.

Enum: Cluster::Status

  • STATUS_UNSPECIFIED => 0

  • PROVISIONING => 1

  • RUNNING => 2

  • RECONCILING => 3

  • STOPPING => 4

  • ERROR => 5

  • DEGRADED => 6

Google::Container::V1::ClusterService::NodeCreationConfig

NodeCreationConfig defines the settings of node creation mode.

Inherits from Protobuf::Message.

Accessors

Enum: NodeCreationConfig::Mode

  • MODE_UNSPECIFIED => 0

  • VIA_KUBELET => 1

  • VIA_CONTROL_PLANE => 2

Google::Container::V1::ClusterService::ControlPlaneEgress

ControlPlaneEgress defines the settings needed to enable control plane egress control.

Inherits from Protobuf::Message.

Accessors

Enum: ControlPlaneEgress::Mode

  • MODE_UNSPECIFIED => 0

  • VIA_CONTROL_PLANE => 1

  • NONE => 2

Google::Container::V1::ClusterService::RBACBindingConfig

RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_insecure_binding_system_unauthenticated() / $msg->enable_insecure_binding_system_unauthenticated($value)

    Type: Bool

    Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.

  • $msg->enable_insecure_binding_system_authenticated() / $msg->enable_insecure_binding_system_authenticated($value)

    Type: Bool

    Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.

Google::Container::V1::ClusterService::UserManagedKeysConfig

UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and token that are used for communication within cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->cluster_ca() / $msg->cluster_ca($value)

    Type: String

    The Certificate Authority Service caPool to use for the cluster CA in this cluster.

  • $msg->etcd_api_ca() / $msg->etcd_api_ca($value)

    Type: String

    Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.

  • $msg->etcd_peer_ca() / $msg->etcd_peer_ca($value)

    Type: String

    Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster.

  • $msg->service_account_signing_keys() / $msg->service_account_signing_keys($value)

    Type: String

    The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster.

    Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`

  • $msg->service_account_verification_keys() / $msg->service_account_verification_keys($value)

    Type: String

    The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster.

    Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`

  • $msg->aggregation_ca() / $msg->aggregation_ca($value)

    Type: String

    The Certificate Authority Service caPool to use for the aggregation CA in this cluster.

  • $msg->control_plane_disk_encryption_key() / $msg->control_plane_disk_encryption_key($value)

    Type: String

    The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.

  • $msg->control_plane_disk_encryption_key_versions() / $msg->control_plane_disk_encryption_key_versions($value)

    Type: String

    Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.

  • $msg->gkeops_etcd_backup_encryption_key() / $msg->gkeops_etcd_backup_encryption_key($value)

    Type: String

    Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.

Google::Container::V1::ClusterService::AnonymousAuthenticationConfig

AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.

Inherits from Protobuf::Message.

Accessors

Enum: AnonymousAuthenticationConfig::Mode

  • MODE_UNSPECIFIED => 0

  • ENABLED => 1

  • LIMITED => 2

Google::Container::V1::ClusterService::CompliancePostureConfig

Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.

CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.

Inherits from Protobuf::Message.

Accessors

Enum: CompliancePostureConfig::Mode

  • MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED => 2

Google::Container::V1::ClusterService::K8sBetaAPIConfig

K8sBetaAPIConfig , configuration for beta APIs

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled_apis() / $msg->enabled_apis($value)

    Type: String

    Enabled k8s beta APIs.

Google::Container::V1::ClusterService::SecurityPostureConfig

SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.

Inherits from Protobuf::Message.

Accessors

Enum: SecurityPostureConfig::Mode

  • MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • BASIC => 2

  • ENTERPRISE => 3

Enum: SecurityPostureConfig::VulnerabilityMode

  • VULNERABILITY_MODE_UNSPECIFIED => 0

  • VULNERABILITY_DISABLED => 1

  • VULNERABILITY_BASIC => 2

  • VULNERABILITY_ENTERPRISE => 3

Google::Container::V1::ClusterService::NodePoolAutoConfig

Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->network_tags() / $msg->network_tags($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTags)

    The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.

  • $msg->resource_manager_tags() / $msg->resource_manager_tags($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceManagerTags)

    Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.

  • $msg->node_kubelet_config() / $msg->node_kubelet_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig)

    NodeKubeletConfig controls the defaults for autoprovisioned node-pools.

    Currently only `insecure_kubelet_readonly_port_enabled` can be set here.

  • $msg->linux_node_config() / $msg->linux_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig)

    Output only. Configuration options for Linux nodes.

Google::Container::V1::ClusterService::NodePoolDefaults

Subset of Nodepool message that has defaults.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::NodeConfigDefaults

Subset of NodeConfig message that has defaults.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ClusterUpdate

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.

Inherits from Protobuf::Message.

Accessors

  • $msg->desired_node_version() / $msg->desired_node_version($value)

    Type: String

    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

  • $msg->desired_monitoring_service() / $msg->desired_monitoring_service($value)

    Type: String

    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.

  • $msg->desired_addons_config() / $msg->desired_addons_config($value)

    Type: Message (Google::Container::V1::ClusterService::AddonsConfig)

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

  • $msg->desired_node_pool_id() / $msg->desired_node_pool_id($value)

    Type: String

    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.

  • $msg->desired_image_type() / $msg->desired_image_type($value)

    Type: String

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

  • $msg->desired_image() / $msg->desired_image($value)

    Type: String

    The desired name of the image to use for this node. This is used to create clusters using a custom image. NOTE: Set the "desired_node_pool" field as well.

  • $msg->desired_image_project() / $msg->desired_image_project($value)

    Type: String

    The project containing the desired image to use for this node. This is used to create clusters using a custom image. NOTE: Set the "desired_node_pool" field as well.

  • $msg->desired_database_encryption() / $msg->desired_database_encryption($value)

    Type: Message (Google::Container::V1::ClusterService::DatabaseEncryption)

    Configuration of etcd encryption.

  • $msg->desired_workload_identity_config() / $msg->desired_workload_identity_config($value)

    Type: Message (Google::Container::V1::ClusterService::WorkloadIdentityConfig)

    Configuration for Workload Identity.

  • $msg->desired_mesh_certificates() / $msg->desired_mesh_certificates($value)

    Type: Message (Google::Container::V1::ClusterService::MeshCertificates)

    Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

  • $msg->desired_shielded_nodes() / $msg->desired_shielded_nodes($value)

    Type: Message (Google::Container::V1::ClusterService::ShieldedNodes)

    Configuration for Shielded Nodes.

  • $msg->desired_cost_management_config() / $msg->desired_cost_management_config($value)

    Type: Message (Google::Container::V1::ClusterService::CostManagementConfig)

    The desired configuration for the fine-grained cost management feature.

  • $msg->desired_dns_config() / $msg->desired_dns_config($value)

    Type: Message (Google::Container::V1::ClusterService::DNSConfig)

    DNSConfig contains clusterDNS config for this cluster.

  • $msg->desired_node_pool_autoscaling() / $msg->desired_node_pool_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolAutoscaling)

    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.

  • $msg->desired_locations() / $msg->desired_locations($value)

    Type: String

    The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) 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.

  • $msg->desired_master_authorized_networks_config() / $msg->desired_master_authorized_networks_config($value)

    Type: Message (Google::Container::V1::ClusterService::MasterAuthorizedNetworksConfig)

    The desired configuration options for master authorized networks feature.

    Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.

  • $msg->desired_cluster_autoscaling() / $msg->desired_cluster_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::ClusterAutoscaling)

    Cluster-level autoscaling configuration.

  • $msg->desired_binary_authorization() / $msg->desired_binary_authorization($value)

    Type: Message (Google::Container::V1::ClusterService::BinaryAuthorization)

    The desired configuration options for the Binary Authorization feature.

  • $msg->desired_logging_service() / $msg->desired_logging_service($value)

    Type: String

    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.

  • $msg->desired_resource_usage_export_config() / $msg->desired_resource_usage_export_config($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceUsageExportConfig)

    The desired configuration for exporting resource usage.

  • $msg->desired_vertical_pod_autoscaling() / $msg->desired_vertical_pod_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::VerticalPodAutoscaling)

    Cluster-level Vertical Pod Autoscaling configuration.

  • $msg->desired_private_cluster_config() / $msg->desired_private_cluster_config($value)

    Type: Message (Google::Container::V1::ClusterService::PrivateClusterConfig)

    The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also [ClusterUpdate.desired_enable_private_endpoint][google.container.v1.ClusterUpdate.desired_enable_private_endpoint] for modifying other fields within [PrivateClusterConfig][google.container.v1.PrivateClusterConfig].

    Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.

  • $msg->desired_intra_node_visibility_config() / $msg->desired_intra_node_visibility_config($value)

    Type: Message (Google::Container::V1::ClusterService::IntraNodeVisibilityConfig)

    The desired config of Intra-node visibility.

  • $msg->desired_default_snat_status() / $msg->desired_default_snat_status($value)

    Type: Message (Google::Container::V1::ClusterService::DefaultSnatStatus)

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

  • $msg->desired_release_channel() / $msg->desired_release_channel($value)

    Type: Message (Google::Container::V1::ClusterService::ReleaseChannel)

    The desired release channel configuration.

  • $msg->desired_l4ilb_subsetting_config() / $msg->desired_l4ilb_subsetting_config($value)

    Type: Message (Google::Container::V1::ClusterService::ILBSubsettingConfig)

    The desired L4 Internal Load Balancer Subsetting configuration.

  • $msg->desired_datapath_provider() / $msg->desired_datapath_provider($value)

    Type: Enum (Google::Container::V1::DatapathProvider)

    The desired datapath provider for the cluster.

  • $msg->desired_private_ipv6_google_access() / $msg->desired_private_ipv6_google_access($value)

    Type: Enum (Google::Container::V1::PrivateIPv6GoogleAccess)

    The desired state of IPv6 connectivity to Google Services.

  • $msg->desired_notification_config() / $msg->desired_notification_config($value)

    Type: Message (Google::Container::V1::ClusterService::NotificationConfig)

    The desired notification configuration.

  • $msg->desired_authenticator_groups_config() / $msg->desired_authenticator_groups_config($value)

    Type: Message (Google::Container::V1::ClusterService::AuthenticatorGroupsConfig)

    The desired authenticator groups config for the cluster.

  • $msg->desired_logging_config() / $msg->desired_logging_config($value)

    Type: Message (Google::Container::V1::ClusterService::LoggingConfig)

    The desired logging configuration.

  • $msg->desired_monitoring_config() / $msg->desired_monitoring_config($value)

    Type: Message (Google::Container::V1::ClusterService::MonitoringConfig)

    The desired monitoring configuration.

  • $msg->desired_identity_service_config() / $msg->desired_identity_service_config($value)

    Type: Message (Google::Container::V1::ClusterService::IdentityServiceConfig)

    The desired Identity Service component configuration.

  • $msg->desired_service_external_ips_config() / $msg->desired_service_external_ips_config($value)

    Type: Message (Google::Container::V1::ClusterService::ServiceExternalIPsConfig)

    ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.

  • $msg->desired_enable_private_endpoint() / $msg->desired_enable_private_endpoint($value)

    Type: Bool

    Enable/Disable private endpoint for the cluster's master.

    Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

  • $msg->desired_default_enable_private_nodes() / $msg->desired_default_enable_private_nodes($value)

    Type: Bool

    Override the default setting of whether future created nodes have private IP addresses only, namely [NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes]

  • $msg->desired_control_plane_endpoints_config() / $msg->desired_control_plane_endpoints_config($value)

    Type: Message (Google::Container::V1::ClusterService::ControlPlaneEndpointsConfig)

    [Control plane endpoints][google.container.v1.Cluster.control_plane_endpoints_config] configuration.

  • $msg->desired_master_version() / $msg->desired_master_version($value)

    Type: String

    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

  • $msg->desired_gcfs_config() / $msg->desired_gcfs_config($value)

    Type: Message (Google::Container::V1::ClusterService::GcfsConfig)

    The desired GCFS config for the cluster

  • $msg->desired_node_pool_auto_config_network_tags() / $msg->desired_node_pool_auto_config_network_tags($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTags)

    The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

  • $msg->desired_pod_autoscaling() / $msg->desired_pod_autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::PodAutoscaling)

    The desired config for pod autoscaling.

  • $msg->desired_gateway_api_config() / $msg->desired_gateway_api_config($value)

    Type: Message (Google::Container::V1::ClusterService::GatewayAPIConfig)

    The desired config of Gateway API on this cluster.

  • $msg->etag() / $msg->etag($value)

    Type: String

    The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

  • $msg->desired_node_pool_logging_config() / $msg->desired_node_pool_logging_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolLoggingConfig)

    The desired node pool logging configuration defaults for the cluster.

  • $msg->desired_fleet() / $msg->desired_fleet($value)

    Type: Message (Google::Container::V1::ClusterService::Fleet)

    The desired fleet configuration for the cluster.

  • $msg->desired_stack_type() / $msg->desired_stack_type($value)

    Type: Enum (Google::Container::V1::StackType)

    The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

  • $msg->additional_pod_ranges_config() / $msg->additional_pod_ranges_config($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalPodRangesConfig)

    The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

  • $msg->removed_additional_pod_ranges_config() / $msg->removed_additional_pod_ranges_config($value)

    Type: Message (Google::Container::V1::ClusterService::AdditionalPodRangesConfig)

    The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument.

  • $msg->enable_k8s_beta_apis() / $msg->enable_k8s_beta_apis($value)

    Type: Message (Google::Container::V1::ClusterService::K8sBetaAPIConfig)

    Kubernetes open source beta apis enabled on the cluster. Only beta apis

  • $msg->desired_security_posture_config() / $msg->desired_security_posture_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecurityPostureConfig)

    Enable/Disable Security Posture API features for the cluster.

  • $msg->desired_network_performance_config() / $msg->desired_network_performance_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkConfig::ClusterNetworkPerformanceConfig)

    The desired network performance config.

  • $msg->desired_enable_fqdn_network_policy() / $msg->desired_enable_fqdn_network_policy($value)

    Type: Bool

    Enable/Disable FQDN Network Policy for the cluster.

  • $msg->desired_autopilot_workload_policy_config() / $msg->desired_autopilot_workload_policy_config($value)

    Type: Message (Google::Container::V1::ClusterService::WorkloadPolicyConfig)

    WorkloadPolicyConfig is the configuration related to GCW workload policy

  • $msg->desired_k8s_beta_apis() / $msg->desired_k8s_beta_apis($value)

    Type: Message (Google::Container::V1::ClusterService::K8sBetaAPIConfig)

    Desired Beta APIs to be enabled for cluster.

  • $msg->desired_containerd_config() / $msg->desired_containerd_config($value)

    Type: Message (Google::Container::V1::ClusterService::ContainerdConfig)

    The desired containerd config for the cluster.

  • $msg->desired_enable_multi_networking() / $msg->desired_enable_multi_networking($value)

    Type: Bool

    Enable/Disable Multi-Networking for the cluster

  • $msg->desired_node_pool_auto_config_resource_manager_tags() / $msg->desired_node_pool_auto_config_resource_manager_tags($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceManagerTags)

    The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

  • $msg->desired_in_transit_encryption_config() / $msg->desired_in_transit_encryption_config($value)

    Type: Enum (Google::Container::V1::InTransitEncryptionConfig)

    Specify the details of in-transit encryption.

  • $msg->desired_enable_cilium_clusterwide_network_policy() / $msg->desired_enable_cilium_clusterwide_network_policy($value)

    Type: Bool

    Enable/Disable Cilium Clusterwide Network Policy for the cluster.

  • $msg->desired_secret_manager_config() / $msg->desired_secret_manager_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecretManagerConfig)

    Enable/Disable Secret Manager Config.

  • $msg->desired_compliance_posture_config() / $msg->desired_compliance_posture_config($value)

    Type: Message (Google::Container::V1::ClusterService::CompliancePostureConfig)

    Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.

    Enable/Disable Compliance Posture features for the cluster.

  • $msg->desired_node_kubelet_config() / $msg->desired_node_kubelet_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig)

    The desired node kubelet config for the cluster.

  • $msg->desired_node_pool_auto_config_kubelet_config() / $msg->desired_node_pool_auto_config_kubelet_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig)

    The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

  • $msg->user_managed_keys_config() / $msg->user_managed_keys_config($value)

    Type: Message (Google::Container::V1::ClusterService::UserManagedKeysConfig)

    The Custom keys configuration for the cluster.

    This field is deprecated. Use [ClusterUpdate.desired_user_managed_keys_config][google.container.v1.ClusterUpdate.desired_user_managed_keys_config] instead.

  • $msg->desired_rbac_binding_config() / $msg->desired_rbac_binding_config($value)

    Type: Message (Google::Container::V1::ClusterService::RBACBindingConfig)

    RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

  • $msg->desired_additional_ip_ranges_config() / $msg->desired_additional_ip_ranges_config($value)

    Type: Message (Google::Container::V1::ClusterService::DesiredAdditionalIPRangesConfig)

    The desired config for additional subnetworks attached to the cluster.

  • $msg->desired_enterprise_config() / $msg->desired_enterprise_config($value)

    Type: Message (Google::Container::V1::ClusterService::DesiredEnterpriseConfig)

    The desired enterprise configuration for the cluster.

    Deprecated: GKE Enterprise features are now available without an Enterprise tier.

  • $msg->desired_auto_ipam_config() / $msg->desired_auto_ipam_config($value)

    Type: Message (Google::Container::V1::ClusterService::AutoIpamConfig)

    AutoIpamConfig contains all information related to Auto IPAM

  • $msg->desired_disable_l4_lb_firewall_reconciliation() / $msg->desired_disable_l4_lb_firewall_reconciliation($value)

    Type: Bool

    Enable/Disable L4 LB VPC firewall reconciliation for the cluster.

  • $msg->desired_node_pool_auto_config_linux_node_config() / $msg->desired_node_pool_auto_config_linux_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig)

    The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

    Currently only `cgroup_mode` can be set here.

  • $msg->desired_user_managed_keys_config() / $msg->desired_user_managed_keys_config($value)

    Type: Message (Google::Container::V1::ClusterService::UserManagedKeysConfig)

    The desired user managed keys config for the cluster.

  • $msg->desired_anonymous_authentication_config() / $msg->desired_anonymous_authentication_config($value)

    Type: Message (Google::Container::V1::ClusterService::AnonymousAuthenticationConfig)

    Configuration for limiting anonymous access to all endpoints except the health checks.

  • $msg->gke_auto_upgrade_config() / $msg->gke_auto_upgrade_config($value)

    Type: Message (Google::Container::V1::ClusterService::GkeAutoUpgradeConfig)

    Configuration for GKE auto upgrade.

  • $msg->desired_network_tier_config() / $msg->desired_network_tier_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTierConfig)

    The desired network tier configuration for the cluster.

  • $msg->desired_secret_sync_config() / $msg->desired_secret_sync_config($value)

    Type: Message (Google::Container::V1::ClusterService::SecretSyncConfig)

    Configuration for sync Secret Manager secrets as k8s secrets.

  • $msg->desired_privileged_admission_config() / $msg->desired_privileged_admission_config($value)

    Type: Message (Google::Container::V1::ClusterService::PrivilegedAdmissionConfig)

    The desired privileged admission config for the cluster.

  • $msg->desired_control_plane_egress() / $msg->desired_control_plane_egress($value)

    Type: Message (Google::Container::V1::ClusterService::ControlPlaneEgress)

    The desired control plane egress control config for the cluster.

  • $msg->desired_rollback_safe_upgrade() / $msg->desired_rollback_safe_upgrade($value)

    Type: Message (Google::Container::V1::ClusterService::RollbackSafeUpgrade)

    Optional. The desired rollback safe upgrade configuration.

  • $msg->desired_managed_opentelemetry_config() / $msg->desired_managed_opentelemetry_config($value)

    Type: Message (Google::Container::V1::ClusterService::ManagedOpenTelemetryConfig)

    The desired managed open telemetry configuration.

  • $msg->desired_autopilot_cluster_policy_config() / $msg->desired_autopilot_cluster_policy_config($value)

    Type: Message (Google::Container::V1::ClusterService::ClusterPolicyConfig)

    The desired autopilot cluster policies that to be enforced in the cluster.

  • $msg->desired_managed_machine_learning_diagnostics_config() / $msg->desired_managed_machine_learning_diagnostics_config($value)

    Type: Message (Google::Container::V1::ClusterService::ManagedMachineLearningDiagnosticsConfig)

    The desired managed machine learning diagnostics configuration.

  • $msg->desired_node_creation_config() / $msg->desired_node_creation_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeCreationConfig)

    Optional. The desired NodeCreationConfig for the cluster.

  • $msg->desired_emulated_version() / $msg->desired_emulated_version($value)

    Type: String

    Optional. The desired emulated version for the cluster.

Google::Container::V1::ClusterService::AdditionalPodRangesConfig

AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.

Inherits from Protobuf::Message.

Accessors

  • $msg->pod_range_names() / $msg->pod_range_names($value)

    Type: String

    Name for pod secondary ipv4 range which has the actual range defined ahead.

  • $msg->pod_range_info() / $msg->pod_range_info($value)

    Type: Message (Google::Container::V1::ClusterService::RangeInfo)

    Output only. Information for additional pod range.

Google::Container::V1::ClusterService::AdditionalIPRangesConfig

AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster

Inherits from Protobuf::Message.

Accessors

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet

  • $msg->pod_ipv4_range_names() / $msg->pod_ipv4_range_names($value)

    Type: String

    List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Container::V1::AdditionalIPRangesConfig::Status)

    Draining status of the additional subnet.

Enum: AdditionalIPRangesConfig::Status

  • STATUS_UNSPECIFIED => 0

  • ACTIVE => 1

  • DRAINING => 2

Google::Container::V1::ClusterService::DesiredAdditionalIPRangesConfig

DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::AutoIpamConfig

AutoIpamConfig contains all information related to Auto IPAM

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    The flag that enables Auto IPAM on this cluster

Google::Container::V1::ClusterService::RangeInfo

RangeInfo contains the range name and the range utilization by this cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->range_name() / $msg->range_name($value)

    Type: String

    Output only. Name of a range.

  • $msg->utilization() / $msg->utilization($value)

    Type: Double

    Output only. The utilization of the range.

Google::Container::V1::ClusterService::DesiredEnterpriseConfig

DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.

Deprecated: GKE Enterprise features are now available without an Enterprise tier.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::Operation

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The server-assigned ID for the operation.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.

  • $msg->operation_type() / $msg->operation_type($value)

    Type: Enum (Google::Container::V1::Operation::Type)

    Output only. The operation type.

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Container::V1::Operation::Status)

    Output only. The current status of the operation.

  • $msg->detail() / $msg->detail($value)

    Type: String

    Output only. Detailed operation progress, if available.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.

  • $msg->self_link() / $msg->self_link($value)

    Type: String

    Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.

  • $msg->target_link() / $msg->target_link($value)

    Type: String

    Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target.

    Examples:

    - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`

    ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`

    `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`

  • $msg->location() / $msg->location($value)

    Type: String

    Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.

  • $msg->start_time() / $msg->start_time($value)

    Type: String

    Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

  • $msg->end_time() / $msg->end_time($value)

    Type: String

    Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

  • $msg->progress() / $msg->progress($value)

    Type: Message (Google::Container::V1::ClusterService::OperationProgress)

    Output only. Progress information for an operation.

  • $msg->cluster_conditions() / $msg->cluster_conditions($value)

    Type: Message (Google::Container::V1::ClusterService::StatusCondition)

    Which conditions caused the current cluster state. Deprecated. Use field error instead.

  • $msg->nodepool_conditions() / $msg->nodepool_conditions($value)

    Type: Message (Google::Container::V1::ClusterService::StatusCondition)

    Which conditions caused the current node pool state. Deprecated. Use field error instead.

  • $msg->error() / $msg->error($value)

    Type: Message (Google::Rpc::Status::Status)

    The error result of the operation in case of failure.

Enum: Operation::Status

  • STATUS_UNSPECIFIED => 0

  • PENDING => 1

  • RUNNING => 2

  • DONE => 3

  • ABORTING => 4

Enum: Operation::Type

  • TYPE_UNSPECIFIED => 0

  • CREATE_CLUSTER => 1

  • DELETE_CLUSTER => 2

  • UPGRADE_MASTER => 3

  • UPGRADE_NODES => 4

  • REPAIR_CLUSTER => 5

  • UPDATE_CLUSTER => 6

  • CREATE_NODE_POOL => 7

  • DELETE_NODE_POOL => 8

  • SET_NODE_POOL_MANAGEMENT => 9

  • AUTO_REPAIR_NODES => 10

  • AUTO_UPGRADE_NODES => 11

  • SET_LABELS => 12

  • SET_MASTER_AUTH => 13

  • SET_NODE_POOL_SIZE => 14

  • SET_NETWORK_POLICY => 15

  • SET_MAINTENANCE_POLICY => 16

  • RESIZE_CLUSTER => 18

  • FLEET_FEATURE_UPGRADE => 19

Google::Container::V1::ClusterService::OperationProgress

Information about operation (or operation stage) progress.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::CreateClusterRequest

CreateClusterRequest creates a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.

  • $msg->cluster() / $msg->cluster($value)

    Type: Message (Google::Container::V1::ClusterService::Cluster)

    Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.

Google::Container::V1::ClusterService::GetClusterRequest

GetClusterRequest gets the settings of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::UpdateClusterRequest

UpdateClusterRequest updates the settings of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->update() / $msg->update($value)

    Type: Message (Google::Container::V1::ClusterService::ClusterUpdate)

    Required. A description of the update.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::UpdateNodePoolRequest

UpdateNodePoolRequests update a node pool's image and/or version.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->node_version() / $msg->node_version($value)

    Type: String

    Required. 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

  • $msg->image_type() / $msg->image_type($value)

    Type: String

    Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

  • $msg->image() / $msg->image($value)

    Type: String

    The desired name of the image name to use for this node. This is used to create clusters using a custom image.

  • $msg->image_project() / $msg->image_project($value)

    Type: String

    The project containing the desired image to use for this node pool. This is used to create clusters using a custom image.

  • $msg->locations() / $msg->locations($value)

    Type: String

    The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.

    Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.

  • $msg->workload_metadata_config() / $msg->workload_metadata_config($value)

    Type: Message (Google::Container::V1::ClusterService::WorkloadMetadataConfig)

    The desired workload metadata config for the node pool.

  • $msg->upgrade_settings() / $msg->upgrade_settings($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::UpgradeSettings)

    Upgrade settings control disruption and speed of the upgrade.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkTags)

    The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags.

  • $msg->taints() / $msg->taints($value)

    Type: Message (Google::Container::V1::ClusterService::NodeTaints)

    The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be *replaced* with the provided taints.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Container::V1::ClusterService::NodeLabels)

    The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be *replaced* with the provided labels.

  • $msg->linux_node_config() / $msg->linux_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::LinuxNodeConfig)

    Parameters that can be configured on Linux nodes.

  • $msg->kubelet_config() / $msg->kubelet_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeKubeletConfig)

    Node kubelet configs.

  • $msg->node_network_config() / $msg->node_network_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeNetworkConfig)

    Node network config.

  • $msg->gcfs_config() / $msg->gcfs_config($value)

    Type: Message (Google::Container::V1::ClusterService::GcfsConfig)

    GCFS config.

  • $msg->confidential_nodes() / $msg->confidential_nodes($value)

    Type: Message (Google::Container::V1::ClusterService::ConfidentialNodes)

    Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.

  • $msg->gvnic() / $msg->gvnic($value)

    Type: Message (Google::Container::V1::ClusterService::VirtualNIC)

    Enable or disable gvnic on the node pool.

  • $msg->etag() / $msg->etag($value)

    Type: String

    The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.

  • $msg->fast_socket() / $msg->fast_socket($value)

    Type: Message (Google::Container::V1::ClusterService::FastSocket)

    Enable or disable NCCL fast socket for the node pool.

  • $msg->logging_config() / $msg->logging_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolLoggingConfig)

    Logging configuration.

  • $msg->resource_labels() / $msg->resource_labels($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceLabels)

    The resource labels for the node pool to use to annotate any related Google Compute Engine resources.

  • $msg->windows_node_config() / $msg->windows_node_config($value)

    Type: Message (Google::Container::V1::ClusterService::WindowsNodeConfig)

    Parameters that can be configured on Windows nodes.

  • $msg->accelerators() / $msg->accelerators($value)

    Type: Message (Google::Container::V1::ClusterService::AcceleratorConfig)

    A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

  • $msg->machine_type() / $msg->machine_type($value)

    Type: String

    Optional. The desired [Google Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.

  • $msg->disk_type() / $msg->disk_type($value)

    Type: String

    Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.

  • $msg->disk_size_gb() / $msg->disk_size_gb($value)

    Type: Int64

    Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.

  • $msg->resource_manager_tags() / $msg->resource_manager_tags($value)

    Type: Message (Google::Container::V1::ClusterService::ResourceManagerTags)

    Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.

  • $msg->containerd_config() / $msg->containerd_config($value)

    Type: Message (Google::Container::V1::ClusterService::ContainerdConfig)

    The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.

  • $msg->queued_provisioning() / $msg->queued_provisioning($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::QueuedProvisioning)

    Specifies the configuration of queued provisioning.

  • $msg->storage_pools() / $msg->storage_pools($value)

    Type: String

    List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.

  • $msg->max_run_duration() / $msg->max_run_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.

  • $msg->flex_start() / $msg->flex_start($value)

    Type: Bool

    Flex Start flag for enabling Flex Start VM.

  • $msg->boot_disk() / $msg->boot_disk($value)

    Type: Message (Google::Container::V1::ClusterService::BootDisk)

    The desired boot disk config for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified boot disk config.

  • $msg->node_drain_config() / $msg->node_drain_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::NodeDrainConfig)

    The desired node drain configuration for nodes in the node pool.

  • $msg->consolidation_delay() / $msg->consolidation_delay($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.

  • $msg->taint_config() / $msg->taint_config($value)

    Type: Message (Google::Container::V1::ClusterService::TaintConfig)

    The taint configuration for the node pool.

  • $msg->maintenance_policy() / $msg->maintenance_policy($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::NodePoolMaintenancePolicy)

    Optional. Specifies the maintenance policy for the node pool, including maintenance exclusion options.

Google::Container::V1::ClusterService::SetNodePoolAutoscalingRequest

SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->autoscaling() / $msg->autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolAutoscaling)

    Required. Autoscaling configuration for the node pool.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::SetLoggingServiceRequest

SetLoggingServiceRequest sets the logging service of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->logging_service() / $msg->logging_service($value)

    Type: String

    Required. 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.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetMonitoringServiceRequest

SetMonitoringServiceRequest sets the monitoring service of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->monitoring_service() / $msg->monitoring_service($value)

    Type: String

    Required. 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.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetAddonsConfigRequest

SetAddonsConfigRequest sets the addons associated with the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->addons_config() / $msg->addons_config($value)

    Type: Message (Google::Container::V1::ClusterService::AddonsConfig)

    Required. The desired configurations for the various addons available to run in the cluster.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetLocationsRequest

SetLocationsRequest sets the locations of the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->locations() / $msg->locations($value)

    Type: String

    Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed.

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

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::UpdateMasterRequest

UpdateMasterRequest updates the master of the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->master_version() / $msg->master_version($value)

    Type: String

    Required. 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

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetMasterAuthRequest

SetMasterAuthRequest updates the admin password of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • $msg->action() / $msg->action($value)

    Type: Enum (Google::Container::V1::SetMasterAuthRequest::Action)

    Required. The exact form of action to be taken on the master auth.

  • $msg->update() / $msg->update($value)

    Type: Message (Google::Container::V1::ClusterService::MasterAuth)

    Required. A description of the update.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.

Enum: SetMasterAuthRequest::Action

  • UNKNOWN => 0

  • SET_PASSWORD => 1

  • GENERATE_PASSWORD => 2

  • SET_USERNAME => 3

Google::Container::V1::ClusterService::DeleteClusterRequest

DeleteClusterRequest deletes a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::ListClustersRequest

ListClustersRequest lists clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.

Google::Container::V1::ClusterService::ListClustersResponse

ListClustersResponse is the result of ListClustersRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->clusters() / $msg->clusters($value)

    Type: Message (Google::Container::V1::ClusterService::Cluster)

    A list of clusters in the project in the specified zone, or across all ones.

  • $msg->missing_zones() / $msg->missing_zones($value)

    Type: String

    If any zones are listed here, the list of clusters returned may be missing those zones.

Google::Container::V1::ClusterService::GetOperationRequest

GetOperationRequest gets a single operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->operation_id() / $msg->operation_id($value)

    Type: String

    Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.

Google::Container::V1::ClusterService::ListOperationsRequest

ListOperationsRequest lists operations.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.

Google::Container::V1::ClusterService::CancelOperationRequest

CancelOperationRequest cancels a single operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.

  • $msg->operation_id() / $msg->operation_id($value)

    Type: String

    Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.

Google::Container::V1::ClusterService::ListOperationsResponse

ListOperationsResponse is the result of ListOperationsRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->operations() / $msg->operations($value)

    Type: Message (Google::Container::V1::ClusterService::Operation)

    A list of operations in the project in the specified zone.

  • $msg->missing_zones() / $msg->missing_zones($value)

    Type: String

    If any zones are listed here, the list of operations returned may be missing the operations from those zones.

Google::Container::V1::ClusterService::GetServerConfigRequest

Gets the current Kubernetes Engine service configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.

Google::Container::V1::ClusterService::ServerConfig

Kubernetes Engine service configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->default_cluster_version() / $msg->default_cluster_version($value)

    Type: String

    Version of Kubernetes the service deploys by default.

  • $msg->valid_node_versions() / $msg->valid_node_versions($value)

    Type: String

    List of valid node upgrade target versions, in descending order.

  • $msg->default_image_type() / $msg->default_image_type($value)

    Type: String

    Default image type.

  • $msg->valid_image_types() / $msg->valid_image_types($value)

    Type: String

    List of valid image types.

  • $msg->valid_master_versions() / $msg->valid_master_versions($value)

    Type: String

    List of valid master versions, in descending order.

  • $msg->channels() / $msg->channels($value)

    Type: Message (Google::Container::V1::ClusterService::ServerConfig::ReleaseChannelConfig)

    List of release channel configurations.

Google::Container::V1::ClusterService::CreateNodePoolRequest

CreateNodePoolRequest creates a node pool for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

  • $msg->node_pool() / $msg->node_pool($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool)

    Required. The node pool to create.

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::DeleteNodePoolRequest

DeleteNodePoolRequest deletes a node pool for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::ListNodePoolsRequest

ListNodePoolsRequest lists the node pool(s) for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::GetNodePoolRequest

GetNodePoolRequest retrieves a node pool for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::BlueGreenSettings

Settings for blue-green upgrade.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::NodePool

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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The name of the node pool.

  • $msg->config() / $msg->config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeConfig)

    The node configuration of the pool.

  • $msg->initial_node_count() / $msg->initial_node_count($value)

    Type: Int32

    The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.

  • $msg->locations() / $msg->locations($value)

    Type: String

    The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located.

    If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead.

    Warning: changing node pool locations will result in nodes being added and/or removed.

  • $msg->network_config() / $msg->network_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodeNetworkConfig)

    Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.

  • $msg->self_link() / $msg->self_link($value)

    Type: String

    Output only. Server-defined URL for the resource.

  • $msg->version() / $msg->version($value)

    Type: String

    The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).

  • $msg->instance_group_urls() / $msg->instance_group_urls($value)

    Type: String

    Output only. The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Container::V1::NodePool::Status)

    Output only. The status of the nodes in this pool instance.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.

  • $msg->autoscaling() / $msg->autoscaling($value)

    Type: Message (Google::Container::V1::ClusterService::NodePoolAutoscaling)

    Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.

  • $msg->management() / $msg->management($value)

    Type: Message (Google::Container::V1::ClusterService::NodeManagement)

    NodeManagement configuration for this NodePool.

  • $msg->max_pods_constraint() / $msg->max_pods_constraint($value)

    Type: Message (Google::Container::V1::ClusterService::MaxPodsConstraint)

    The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

  • $msg->conditions() / $msg->conditions($value)

    Type: Message (Google::Container::V1::ClusterService::StatusCondition)

    Output only. Which conditions caused the current node pool state.

  • $msg->pod_ipv4_cidr_size() / $msg->pod_ipv4_cidr_size($value)

    Type: Int32

    Output only. The pod CIDR block size per node in this node pool.

  • $msg->upgrade_settings() / $msg->upgrade_settings($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::UpgradeSettings)

    Upgrade settings control disruption and speed of the upgrade.

  • $msg->placement_policy() / $msg->placement_policy($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::PlacementPolicy)

    Specifies the node placement policy.

  • $msg->update_info() / $msg->update_info($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::UpdateInfo)

    Output only. Update info contains relevant information during a node pool update.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Output only. This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.

  • $msg->queued_provisioning() / $msg->queued_provisioning($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::QueuedProvisioning)

    Specifies the configuration of queued provisioning.

  • $msg->best_effort_provisioning() / $msg->best_effort_provisioning($value)

    Type: Message (Google::Container::V1::ClusterService::BestEffortProvisioning)

    Enable best effort provisioning for nodes

  • $msg->node_drain_config() / $msg->node_drain_config($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::NodeDrainConfig)

    Specifies the node drain configuration for this node pool.

  • $msg->maintenance_policy() / $msg->maintenance_policy($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::NodePoolMaintenancePolicy)

    Optional. Specifies the maintenance policy for the node pool.

  • $msg->kubelet_cert_info() / $msg->kubelet_cert_info($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::KubeletCertInfo)

    Output only. Contains expiry information about the kubelet certificate.

Enum: NodePool::Status

  • STATUS_UNSPECIFIED => 0

  • PROVISIONING => 1

  • RUNNING => 2

  • RUNNING_WITH_ERROR => 3

  • RECONCILING => 4

  • STOPPING => 5

  • ERROR => 6

Google::Container::V1::ClusterService::NodeManagement

NodeManagement defines the set of node management services turned on for the node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->auto_upgrade() / $msg->auto_upgrade($value)

    Type: Bool

    A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.

  • $msg->auto_repair() / $msg->auto_repair($value)

    Type: Bool

    A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.

  • $msg->upgrade_options() / $msg->upgrade_options($value)

    Type: Message (Google::Container::V1::ClusterService::AutoUpgradeOptions)

    Specifies the Auto Upgrade knobs for the node pool.

Google::Container::V1::ClusterService::BestEffortProvisioning

Best effort provisioning.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes

  • $msg->min_provision_nodes() / $msg->min_provision_nodes($value)

    Type: Int32

    Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.

Google::Container::V1::ClusterService::AutoUpgradeOptions

AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.

Inherits from Protobuf::Message.

Accessors

  • $msg->auto_upgrade_start_time() / $msg->auto_upgrade_start_time($value)

    Type: String

    Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.

  • $msg->description() / $msg->description($value)

    Type: String

    Output only. This field is set when upgrades are about to commence with the description of the upgrade.

Google::Container::V1::ClusterService::MaintenancePolicy

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->window() / $msg->window($value)

    Type: Message (Google::Container::V1::ClusterService::MaintenanceWindow)

    Specifies the maintenance window in which maintenance may be performed.

  • $msg->resource_version() / $msg->resource_version($value)

    Type: String

    A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.

  • $msg->disruption_budget() / $msg->disruption_budget($value)

    Type: Message (Google::Container::V1::ClusterService::DisruptionBudget)

    Optional. The upgrade disruption budget for the cluster control plane.

Google::Container::V1::ClusterService::DisruptionBudget

DisruptionBudget defines the upgrade disruption budget for the cluster control plane.

Inherits from Protobuf::Message.

Accessors

  • $msg->minor_version_disruption_interval() / $msg->minor_version_disruption_interval($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. The minimum duration between two minor version upgrades of the control plane.

  • $msg->patch_version_disruption_interval() / $msg->patch_version_disruption_interval($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. The minimum duration between two patch version upgrades of the control plane.

  • $msg->last_minor_version_disruption_time() / $msg->last_minor_version_disruption_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The last time a minor version upgrade was performed on the control plane.

  • $msg->last_disruption_time() / $msg->last_disruption_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The last time a disruption was performed on the control plane.

Google::Container::V1::ClusterService::MaintenanceWindow

MaintenanceWindow defines the maintenance window to be used for the cluster.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::TimeWindow

Represents an arbitrary window of time.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::MaintenanceExclusionOptions

Represents the Maintenance exclusion option.

Inherits from Protobuf::Message.

Accessors

Enum: MaintenanceExclusionOptions::Scope

  • NO_UPGRADES => 0

  • NO_MINOR_UPGRADES => 1

  • NO_MINOR_OR_NODE_UPGRADES => 2

Enum: MaintenanceExclusionOptions::EndTimeBehavior

  • END_TIME_BEHAVIOR_UNSPECIFIED => 0

  • UNTIL_END_OF_SUPPORT => 1

Google::Container::V1::ClusterService::RecurringTimeWindow

Represents an arbitrary window of time that recurs.

Inherits from Protobuf::Message.

Accessors

  • $msg->window() / $msg->window($value)

    Type: Message (Google::Container::V1::ClusterService::TimeWindow)

    The window of the first recurrence.

  • $msg->recurrence() / $msg->recurrence($value)

    Type: String

    An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs. They go on for the span of time between the start and end time.

    For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`

    To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY`

    For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`

    This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ```

    Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ```

    Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

Google::Container::V1::ClusterService::RecurringMaintenanceWindow

Represents an arbitrary window of time that recurs. Will replace RecurringTimeWindow.

Inherits from Protobuf::Message.

Accessors

  • $msg->delay_until() / $msg->delay_until($value)

    Type: Message (Google::Type::Date::Date)

    Optional. Specifies the date before which will not be scheduled. Depending on the recurrence, this may be the date the first window appears. Days are measured in the UTC timezone. This setting must be used when INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.

  • $msg->window_start_time() / $msg->window_start_time($value)

    Type: Message (Google::Type::Timeofday::TimeOfDay)

    Required. Start time of the window on days that it is scheduled, assuming UTC timezone.

  • $msg->window_duration() / $msg->window_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Duration of the window.

  • $msg->recurrence() / $msg->recurrence($value)

    Type: String

    Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs.

    For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`

    To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY`

    For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`

    The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.

Google::Container::V1::ClusterService::DailyMaintenanceWindow

Time window specified for daily maintenance operations.

Inherits from Protobuf::Message.

Accessors

  • $msg->start_time() / $msg->start_time($value)

    Type: String

    Time within the maintenance window to start the maintenance operations. Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.

  • $msg->duration() / $msg->duration($value)

    Type: String

    Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".

Google::Container::V1::ClusterService::SetNodePoolManagementRequest

SetNodePoolManagementRequest sets the node management properties of a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

  • $msg->management() / $msg->management($value)

    Type: Message (Google::Container::V1::ClusterService::NodeManagement)

    Required. NodeManagement configuration for the node pool.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::SetNodePoolSizeRequest

SetNodePoolSizeRequest sets the size of a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

  • $msg->node_count() / $msg->node_count($value)

    Type: Int32

    Required. The desired node count for the pool.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::CompleteNodePoolUpgradeRequest

CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

Google::Container::V1::ClusterService::RollbackNodePoolUpgradeRequest

RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.

  • $msg->node_pool_id() / $msg->node_pool_id($value)

    Type: String

    Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.

  • $msg->respect_pdb() / $msg->respect_pdb($value)

    Type: Bool

    Option for rollback to ignore the PodDisruptionBudget. Default value is false.

Google::Container::V1::ClusterService::ListNodePoolsResponse

ListNodePoolsResponse is the result of ListNodePoolsRequest.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ClusterAutoscaling

ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.

Inherits from Protobuf::Message.

Accessors

Enum: ClusterAutoscaling::AutoscalingProfile

  • PROFILE_UNSPECIFIED => 0

  • OPTIMIZE_UTILIZATION => 1

  • BALANCED => 2

Enum: ClusterAutoscaling::AutopilotGeneralProfile

  • AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED => 0

  • NO_PERFORMANCE => 1

  • NONE => 2

Google::Container::V1::ClusterService::AutoprovisioningNodePoolDefaults

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Inherits from Protobuf::Message.

Accessors

  • $msg->oauth_scopes() / $msg->oauth_scopes($value)

    Type: String

    Scopes that are used by NAP when creating node pools.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    The Google Cloud Platform Service Account to be used by the node VMs.

  • $msg->upgrade_settings() / $msg->upgrade_settings($value)

    Type: Message (Google::Container::V1::ClusterService::NodePool::UpgradeSettings)

    Specifies the upgrade settings for NAP created node pools

  • $msg->management() / $msg->management($value)

    Type: Message (Google::Container::V1::ClusterService::NodeManagement)

    Specifies the node management options for NAP created node-pools.

  • $msg->min_cpu_platform() / $msg->min_cpu_platform($value)

    Type: String

    Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.

  • $msg->disk_size_gb() / $msg->disk_size_gb($value)

    Type: Int32

    Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.

    If unspecified, the default disk size is 100GB.

  • $msg->disk_type() / $msg->disk_type($value)

    Type: String

    Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced')

    If unspecified, the default disk type is 'pd-standard'

  • $msg->shielded_instance_config() / $msg->shielded_instance_config($value)

    Type: Message (Google::Container::V1::ClusterService::ShieldedInstanceConfig)

    Shielded Instance options.

  • $msg->boot_disk_kms_key() / $msg->boot_disk_kms_key($value)

    Type: String

    The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

  • $msg->image_type() / $msg->image_type($value)

    Type: String

    The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.

  • $msg->insecure_kubelet_readonly_port_enabled() / $msg->insecure_kubelet_readonly_port_enabled($value)

    Type: Bool

    DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.

Google::Container::V1::ClusterService::ResourceLimit

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_type() / $msg->resource_type($value)

    Type: String

    Resource name "cpu", "memory" or gpu-specific string.

  • $msg->minimum() / $msg->minimum($value)

    Type: Int64

    Minimum amount of the resource in the cluster.

  • $msg->maximum() / $msg->maximum($value)

    Type: Int64

    Maximum amount of the resource in the cluster.

Google::Container::V1::ClusterService::DefaultComputeClassConfig

DefaultComputeClassConfig defines default compute class configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enables default compute class.

Google::Container::V1::ClusterService::NodePoolAutoscaling

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Is autoscaling enabled for this node pool.

  • $msg->min_node_count() / $msg->min_node_count($value)

    Type: Int32

    Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.

  • $msg->max_node_count() / $msg->max_node_count($value)

    Type: Int32

    Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.

  • $msg->autoprovisioned() / $msg->autoprovisioned($value)

    Type: Bool

    Can this node pool be deleted automatically.

  • $msg->location_policy() / $msg->location_policy($value)

    Type: Enum (Google::Container::V1::NodePoolAutoscaling::LocationPolicy)

    Location policy used when scaling up a node pool.

  • $msg->total_min_node_count() / $msg->total_min_node_count($value)

    Type: Int32

    Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

  • $msg->total_max_node_count() / $msg->total_max_node_count($value)

    Type: Int32

    Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

Enum: NodePoolAutoscaling::LocationPolicy

  • LOCATION_POLICY_UNSPECIFIED => 0

  • BALANCED => 1

  • ANY => 2

Google::Container::V1::ClusterService::SetLabelsRequest

SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->resource_labels() / $msg->resource_labels($value)

    Type: Message (Google::Container::V1::ClusterService::SetLabelsRequest::ResourceLabelsEntry)

    Required. The labels to set for that cluster.

  • $msg->label_fingerprint() / $msg->label_fingerprint($value)

    Type: String

    Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a `get()` request to the resource to get the latest fingerprint.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetLegacyAbacRequest

SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Required. Whether ABAC authorization will be enabled in the cluster.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::StartIPRotationRequest

StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.

  • $msg->rotate_credentials() / $msg->rotate_credentials($value)

    Type: Bool

    Whether to rotate credentials during IP rotation.

Google::Container::V1::ClusterService::CompleteIPRotationRequest

CompleteIPRotationRequest moves the cluster master back into single-IP mode.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::AcceleratorConfig

AcceleratorConfig represents a Hardware Accelerator request.

Inherits from Protobuf::Message.

Accessors

  • $msg->accelerator_count() / $msg->accelerator_count($value)

    Type: Int64

    The number of the accelerator cards exposed to an instance.

  • $msg->accelerator_type() / $msg->accelerator_type($value)

    Type: String

    The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)

  • $msg->gpu_partition_size() / $msg->gpu_partition_size($value)

    Type: String

    Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).

  • $msg->gpu_sharing_config() / $msg->gpu_sharing_config($value)

    Type: Message (Google::Container::V1::ClusterService::GPUSharingConfig)

    The configuration for GPU sharing options.

  • $msg->gpu_driver_installation_config() / $msg->gpu_driver_installation_config($value)

    Type: Message (Google::Container::V1::ClusterService::GPUDriverInstallationConfig)

    The configuration for auto installation of GPU driver.

Google::Container::V1::ClusterService::GPUSharingConfig

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

Inherits from Protobuf::Message.

Accessors

  • $msg->max_shared_clients_per_gpu() / $msg->max_shared_clients_per_gpu($value)

    Type: Int64

    The max number of containers that can share a physical GPU.

  • $msg->gpu_sharing_strategy() / $msg->gpu_sharing_strategy($value)

    Type: Enum (Google::Container::V1::GPUSharingConfig::GPUSharingStrategy)

    The type of GPU sharing strategy to enable on the GPU node.

Enum: GPUSharingConfig::GPUSharingStrategy

  • GPU_SHARING_STRATEGY_UNSPECIFIED => 0

  • TIME_SHARING => 1

  • MPS => 2

Google::Container::V1::ClusterService::GPUDriverInstallationConfig

GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.

Inherits from Protobuf::Message.

Accessors

Enum: GPUDriverInstallationConfig::GPUDriverVersion

  • GPU_DRIVER_VERSION_UNSPECIFIED => 0

  • INSTALLATION_DISABLED => 1

  • DEFAULT => 2

  • LATEST => 3

Google::Container::V1::ClusterService::WorkloadMetadataConfig

WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.

Inherits from Protobuf::Message.

Accessors

Enum: WorkloadMetadataConfig::Mode

  • MODE_UNSPECIFIED => 0

  • GCE_METADATA => 1

  • GKE_METADATA => 2

Google::Container::V1::ClusterService::SetNetworkPolicyRequest

SetNetworkPolicyRequest enables/disables network policy for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.

  • $msg->zone() / $msg->zone($value)

    Type: String

    Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

  • $msg->network_policy() / $msg->network_policy($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkPolicy)

    Required. Configuration options for the NetworkPolicy feature.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::SetMaintenancePolicyRequest

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).

  • $msg->zone() / $msg->zone($value)

    Type: String

    Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.

  • $msg->cluster_id() / $msg->cluster_id($value)

    Type: String

    Required. The name of the cluster to update.

  • $msg->maintenance_policy() / $msg->maintenance_policy($value)

    Type: Message (Google::Container::V1::ClusterService::MaintenancePolicy)

    Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::StatusCondition

StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).

Inherits from Protobuf::Message.

Accessors

  • $msg->code() / $msg->code($value)

    Type: Enum (Google::Container::V1::StatusCondition::Code)

    Machine-friendly representation of the condition Deprecated. Use canonical_code instead.

  • $msg->message() / $msg->message($value)

    Type: String

    Human-friendly representation of the condition

  • $msg->canonical_code() / $msg->canonical_code($value)

    Type: Enum (Google::Rpc::Code)

    Canonical code of the condition.

Enum: StatusCondition::Code

  • UNKNOWN => 0

  • GCE_STOCKOUT => 1

  • GKE_SERVICE_ACCOUNT_DELETED => 2

  • GCE_QUOTA_EXCEEDED => 3

  • SET_BY_OPERATOR => 4

  • CLOUD_KMS_KEY_ERROR => 7

  • CA_EXPIRING => 9

  • NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS => 10

  • CLOUD_KMS_KEY_DESTROYED => 11

Google::Container::V1::ClusterService::NetworkConfig

NetworkConfig reports the relative names of network & subnetwork.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    Output only. The relative name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

  • $msg->enable_intra_node_visibility() / $msg->enable_intra_node_visibility($value)

    Type: Bool

    Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

  • $msg->default_snat_status() / $msg->default_snat_status($value)

    Type: Message (Google::Container::V1::ClusterService::DefaultSnatStatus)

    Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.

  • $msg->enable_l4ilb_subsetting() / $msg->enable_l4ilb_subsetting($value)

    Type: Bool

    Whether L4ILB Subsetting is enabled for this cluster.

  • $msg->datapath_provider() / $msg->datapath_provider($value)

    Type: Enum (Google::Container::V1::DatapathProvider)

    The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.

  • $msg->private_ipv6_google_access() / $msg->private_ipv6_google_access($value)

    Type: Enum (Google::Container::V1::PrivateIPv6GoogleAccess)

    The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)

  • $msg->dns_config() / $msg->dns_config($value)

    Type: Message (Google::Container::V1::ClusterService::DNSConfig)

    DNSConfig contains clusterDNS config for this cluster.

  • $msg->service_external_ips_config() / $msg->service_external_ips_config($value)

    Type: Message (Google::Container::V1::ClusterService::ServiceExternalIPsConfig)

    ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

  • $msg->gateway_api_config() / $msg->gateway_api_config($value)

    Type: Message (Google::Container::V1::ClusterService::GatewayAPIConfig)

    GatewayAPIConfig contains the desired config of Gateway API on this cluster.

  • $msg->enable_multi_networking() / $msg->enable_multi_networking($value)

    Type: Bool

    Whether multi-networking is enabled for this cluster.

  • $msg->network_performance_config() / $msg->network_performance_config($value)

    Type: Message (Google::Container::V1::ClusterService::NetworkConfig::ClusterNetworkPerformanceConfig)

    Network bandwidth tier configuration.

  • $msg->enable_fqdn_network_policy() / $msg->enable_fqdn_network_policy($value)

    Type: Bool

    Whether FQDN Network Policy is enabled on this cluster.

  • $msg->in_transit_encryption_config() / $msg->in_transit_encryption_config($value)

    Type: Enum (Google::Container::V1::InTransitEncryptionConfig)

    Specify the details of in-transit encryption. Now named inter-node transparent encryption.

  • $msg->enable_cilium_clusterwide_network_policy() / $msg->enable_cilium_clusterwide_network_policy($value)

    Type: Bool

    Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.

  • $msg->default_enable_private_nodes() / $msg->default_enable_private_nodes($value)

    Type: Bool

    Controls whether by default nodes have private IP addresses only. It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][] and this field at the same time. To update the default setting, use [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]

  • $msg->dataplane_v2_config() / $msg->dataplane_v2_config($value)

    Type: Message (Google::Container::V1::ClusterService::DataplaneV2Config)

    Optional. DataplaneV2Config specifies the DPv2 configuration.

  • $msg->disable_l4_lb_firewall_reconciliation() / $msg->disable_l4_lb_firewall_reconciliation($value)

    Type: Bool

    Disable L4 load balancer VPC firewalls to enable firewall policies.

Google::Container::V1::ClusterService::GatewayAPIConfig

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

Inherits from Protobuf::Message.

Accessors

Enum: GatewayAPIConfig::Channel

  • CHANNEL_UNSPECIFIED => 0

  • CHANNEL_DISABLED => 1

  • CHANNEL_EXPERIMENTAL => 3

  • CHANNEL_STANDARD => 4

Google::Container::V1::ClusterService::ServiceExternalIPsConfig

Config to block services with externalIPs field.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether Services with ExternalIPs field are allowed or not.

Google::Container::V1::ClusterService::GetOpenIDConfigRequest

GetOpenIDConfigRequest gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    The cluster (project, location, cluster name) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::GetOpenIDConfigResponse

GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Inherits from Protobuf::Message.

Accessors

  • $msg->issuer() / $msg->issuer($value)

    Type: String

    OIDC Issuer.

  • $msg->jwks_uri() / $msg->jwks_uri($value)

    Type: String

    JSON Web Key uri.

  • $msg->response_types_supported() / $msg->response_types_supported($value)

    Type: String

    Supported response types.

  • $msg->subject_types_supported() / $msg->subject_types_supported($value)

    Type: String

    Supported subject types.

  • $msg->id_token_signing_alg_values_supported() / $msg->id_token_signing_alg_values_supported($value)

    Type: String

    supported ID Token signing Algorithms.

  • $msg->claims_supported() / $msg->claims_supported($value)

    Type: String

    Supported claims.

  • $msg->grant_types() / $msg->grant_types($value)

    Type: String

    Supported grant types.

Google::Container::V1::ClusterService::GetJSONWebKeysRequest

GetJSONWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    The cluster (project, location, cluster name) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::Jwk

Jwk is a JSON Web Key as specified in RFC 7517

Inherits from Protobuf::Message.

Accessors

  • $msg->kty() / $msg->kty($value)

    Type: String

    Key Type.

  • $msg->alg() / $msg->alg($value)

    Type: String

    Algorithm.

  • $msg->use() / $msg->use($value)

    Type: String

    Permitted uses for the public keys.

  • $msg->kid() / $msg->kid($value)

    Type: String

    Key ID.

  • $msg->n() / $msg->n($value)

    Type: String

    Used for RSA keys.

  • $msg->e() / $msg->e($value)

    Type: String

    Used for RSA keys.

  • $msg->x() / $msg->x($value)

    Type: String

    Used for ECDSA keys.

  • $msg->y() / $msg->y($value)

    Type: String

    Used for ECDSA keys.

  • $msg->crv() / $msg->crv($value)

    Type: String

    Used for ECDSA keys.

Google::Container::V1::ClusterService::GetJSONWebKeysResponse

GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::CheckAutopilotCompatibilityRequest

CheckAutopilotCompatibilityRequest requests getting the blockers for the given operation in the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.

Google::Container::V1::ClusterService::AutopilotCompatibilityIssue

AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.

Inherits from Protobuf::Message.

Accessors

  • $msg->last_observation() / $msg->last_observation($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The last time when this issue was observed.

  • $msg->constraint_type() / $msg->constraint_type($value)

    Type: String

    The constraint type of the issue.

  • $msg->incompatibility_type() / $msg->incompatibility_type($value)

    Type: Enum (Google::Container::V1::AutopilotCompatibilityIssue::IssueType)

    The incompatibility type of this issue.

  • $msg->subjects() / $msg->subjects($value)

    Type: String

    The name of the resources which are subject to this issue.

  • $msg->documentation_url() / $msg->documentation_url($value)

    Type: String

    A URL to a public documentation, which addresses resolving this issue.

  • $msg->description() / $msg->description($value)

    Type: String

    The description of the issue.

Enum: AutopilotCompatibilityIssue::IssueType

  • UNSPECIFIED => 0

  • INCOMPATIBILITY => 1

  • ADDITIONAL_CONFIG_REQUIRED => 2

  • PASSED_WITH_OPTIONAL_CONFIG => 3

Google::Container::V1::ClusterService::CheckAutopilotCompatibilityResponse

CheckAutopilotCompatibilityResponse has a list of compatibility issues.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ReleaseChannel

ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk.

When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.

Inherits from Protobuf::Message.

Accessors

Enum: ReleaseChannel::Channel

  • UNSPECIFIED => 0

  • RAPID => 1

  • REGULAR => 2

  • STABLE => 3

  • EXTENDED => 4

Google::Container::V1::ClusterService::CostManagementConfig

Configuration for fine-grained cost management feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether the feature is enabled or not.

Google::Container::V1::ClusterService::IntraNodeVisibilityConfig

IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enables intra node visibility for this cluster.

Google::Container::V1::ClusterService::ILBSubsettingConfig

ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enables l4 ILB subsetting for this cluster.

Google::Container::V1::ClusterService::DNSConfig

DNSConfig contains the desired set of options for configuring clusterDNS.

Inherits from Protobuf::Message.

Accessors

  • $msg->cluster_dns() / $msg->cluster_dns($value)

    Type: Enum (Google::Container::V1::DNSConfig::Provider)

    cluster_dns indicates which in-cluster DNS provider should be used.

  • $msg->cluster_dns_scope() / $msg->cluster_dns_scope($value)

    Type: Enum (Google::Container::V1::DNSConfig::DNSScope)

    cluster_dns_scope indicates the scope of access to cluster DNS records.

  • $msg->cluster_dns_domain() / $msg->cluster_dns_domain($value)

    Type: String

    cluster_dns_domain is the suffix used for all cluster service records.

  • $msg->additive_vpc_scope_dns_domain() / $msg->additive_vpc_scope_dns_domain($value)

    Type: String

    Optional. The domain used in Additive VPC scope.

Enum: DNSConfig::Provider

  • PROVIDER_UNSPECIFIED => 0

  • PLATFORM_DEFAULT => 1

  • CLOUD_DNS => 2

  • KUBE_DNS => 3

Enum: DNSConfig::DNSScope

  • DNS_SCOPE_UNSPECIFIED => 0

  • CLUSTER_SCOPE => 1

  • VPC_SCOPE => 2

Google::Container::V1::ClusterService::MaxPodsConstraint

Constraints applied to pods.

Inherits from Protobuf::Message.

Accessors

  • $msg->max_pods_per_node() / $msg->max_pods_per_node($value)

    Type: Int64

    Constraint enforced on the max num of pods per node.

Google::Container::V1::ClusterService::WorkloadIdentityConfig

Configuration for the use of Kubernetes Service Accounts in IAM policies.

Inherits from Protobuf::Message.

Accessors

  • $msg->workload_pool() / $msg->workload_pool($value)

    Type: String

    The workload pool to attach all Kubernetes service accounts to.

Google::Container::V1::ClusterService::IdentityServiceConfig

IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether to enable the Identity Service component

Google::Container::V1::ClusterService::MeshCertificates

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_certificates() / $msg->enable_certificates($value)

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    enable_certificates controls issuance of workload mTLS certificates.

    If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource.

    Requires Workload Identity ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool] must be non-empty).

Google::Container::V1::ClusterService::DatabaseEncryption

Configuration of etcd encryption.

Inherits from Protobuf::Message.

Accessors

  • $msg->key_name() / $msg->key_name($value)

    Type: String

    Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Container::V1::DatabaseEncryption::State)

    The desired state of etcd encryption.

  • $msg->current_state() / $msg->current_state($value)

    Type: Enum (Google::Container::V1::DatabaseEncryption::CurrentState)

    Output only. The current state of etcd encryption.

  • $msg->decryption_keys() / $msg->decryption_keys($value)

    Type: String

    Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`.

    Each item is a CloudKMS key resource.

  • $msg->last_operation_errors() / $msg->last_operation_errors($value)

    Type: Message (Google::Container::V1::ClusterService::DatabaseEncryption::OperationError)

    Output only. Records errors seen during DatabaseEncryption update operations.

Enum: DatabaseEncryption::State

  • UNKNOWN => 0

  • ENCRYPTED => 1

  • DECRYPTED => 2

  • ALL_OBJECTS_ENCRYPTION_ENABLED => 3

Enum: DatabaseEncryption::CurrentState

  • CURRENT_STATE_UNSPECIFIED => 0

  • CURRENT_STATE_ENCRYPTED => 7

  • CURRENT_STATE_DECRYPTED => 2

  • CURRENT_STATE_ENCRYPTION_PENDING => 3

  • CURRENT_STATE_ENCRYPTION_ERROR => 4

  • CURRENT_STATE_DECRYPTION_PENDING => 5

  • CURRENT_STATE_DECRYPTION_ERROR => 6

  • CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED => 8

  • CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING => 9

  • CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR => 10

Google::Container::V1::ClusterService::ListUsableSubnetworksRequest

ListUsableSubnetworksRequest requests the list of usable subnetworks available to a user for creating clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    The parent project where subnetworks are usable. Specified in the format `projects/*`.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filtering currently only supports equality on the networkProjectId and must be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.

Google::Container::V1::ClusterService::ListUsableSubnetworksResponse

ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->subnetworks() / $msg->subnetworks($value)

    Type: Message (Google::Container::V1::ClusterService::UsableSubnetwork)

    A list of usable subnetworks in the specified network project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    This token allows you to get the next page of results for list requests. If the number of results is larger than `page_size`, use the `next_page_token` as a value for the query parameter `page_token` in the next request. The value will become empty when there are no more pages.

Google::Container::V1::ClusterService::UsableSubnetworkSecondaryRange

Secondary IP range of a usable subnetwork.

Inherits from Protobuf::Message.

Accessors

  • $msg->range_name() / $msg->range_name($value)

    Type: String

    The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.

  • $msg->ip_cidr_range() / $msg->ip_cidr_range($value)

    Type: String

    The range of IP addresses belonging to this subnetwork secondary range.

  • $msg->status() / $msg->status($value)

    Type: Enum (Google::Container::V1::UsableSubnetworkSecondaryRange::Status)

    This field is to determine the status of the secondary range programmably.

Enum: UsableSubnetworkSecondaryRange::Status

  • UNKNOWN => 0

  • UNUSED => 1

  • IN_USE_SERVICE => 2

  • IN_USE_SHAREABLE_POD => 3

  • IN_USE_MANAGED_POD => 4

Google::Container::V1::ClusterService::UsableSubnetwork

UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.

Inherits from Protobuf::Message.

Accessors

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

  • $msg->network() / $msg->network($value)

    Type: String

    Network Name. Example: projects/my-project/global/networks/my-network

  • $msg->ip_cidr_range() / $msg->ip_cidr_range($value)

    Type: String

    The range of internal addresses that are owned by this subnetwork.

  • $msg->secondary_ip_ranges() / $msg->secondary_ip_ranges($value)

    Type: Message (Google::Container::V1::ClusterService::UsableSubnetworkSecondaryRange)

    Secondary IP ranges.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

Google::Container::V1::ClusterService::ResourceUsageExportConfig

Configuration for exporting cluster resource usages.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::VerticalPodAutoscaling

VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enables vertical pod autoscaling.

Google::Container::V1::ClusterService::DefaultSnatStatus

DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Disables cluster default sNAT rules.

Google::Container::V1::ClusterService::ShieldedNodes

Configuration of Shielded Nodes feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether Shielded Nodes features are enabled on all nodes in this cluster.

Google::Container::V1::ClusterService::VirtualNIC

Configuration of gVNIC feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether gVNIC features are enabled in the node pool.

Google::Container::V1::ClusterService::FastSocket

Configuration of Fast Socket feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether Fast Socket features are enabled in the node pool.

Google::Container::V1::ClusterService::GPUDirectConfig

GPUDirectConfig specifies the GPU direct strategy on the node pool.

Inherits from Protobuf::Message.

Accessors

Enum: GPUDirectConfig::GPUDirectStrategy

  • GPU_DIRECT_STRATEGY_UNSPECIFIED => 0

  • RDMA => 2

Google::Container::V1::ClusterService::NotificationConfig

NotificationConfig is the configuration of notifications.

Inherits from Protobuf::Message.

Accessors

Enum: NotificationConfig::EventType

  • EVENT_TYPE_UNSPECIFIED => 0

  • UPGRADE_AVAILABLE_EVENT => 1

  • UPGRADE_EVENT => 2

  • SECURITY_BULLETIN_EVENT => 3

  • UPGRADE_INFO_EVENT => 4

Google::Container::V1::ClusterService::ConfidentialNodes

ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.

Inherits from Protobuf::Message.

Accessors

Enum: ConfidentialNodes::ConfidentialInstanceType

  • CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED => 0

  • SEV => 1

  • SEV_SNP => 2

  • TDX => 3

Google::Container::V1::ClusterService::UpgradeEvent

UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_type() / $msg->resource_type($value)

    Type: Enum (Google::Container::V1::UpgradeResourceType)

    The resource type that is upgrading.

  • $msg->operation() / $msg->operation($value)

    Type: String

    The operation associated with this upgrade.

  • $msg->operation_start_time() / $msg->operation_start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time when the operation was started.

  • $msg->current_version() / $msg->current_version($value)

    Type: String

    The current version before the upgrade.

  • $msg->target_version() / $msg->target_version($value)

    Type: String

    The target version for the upgrade.

  • $msg->current_emulated_version() / $msg->current_emulated_version($value)

    Type: String

    Output only. The current emulated version before the upgrade.

  • $msg->target_emulated_version() / $msg->target_emulated_version($value)

    Type: String

    Output only. The target emulated version for the upgrade.

  • $msg->resource() / $msg->resource($value)

    Type: String

    Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

Google::Container::V1::ClusterService::UpgradeInfoEvent

UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_type() / $msg->resource_type($value)

    Type: Enum (Google::Container::V1::UpgradeResourceType)

    The resource type associated with the upgrade.

  • $msg->operation() / $msg->operation($value)

    Type: String

    The operation associated with this upgrade.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time when the operation was started.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time when the operation ended.

  • $msg->current_version() / $msg->current_version($value)

    Type: String

    The current version before the upgrade.

  • $msg->target_version() / $msg->target_version($value)

    Type: String

    The target version for the upgrade.

  • $msg->current_emulated_version() / $msg->current_emulated_version($value)

    Type: String

    Output only. The current emulated version before the upgrade.

  • $msg->target_emulated_version() / $msg->target_emulated_version($value)

    Type: String

    Output only. The target emulated version for the upgrade.

  • $msg->resource() / $msg->resource($value)

    Type: String

    Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Container::V1::UpgradeInfoEvent::State)

    Output only. The state of the upgrade.

  • $msg->standard_support_end_time() / $msg->standard_support_end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The end of standard support timestamp.

  • $msg->extended_support_end_time() / $msg->extended_support_end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The end of extended support timestamp.

  • $msg->description() / $msg->description($value)

    Type: String

    A brief description of the event.

  • $msg->event_type() / $msg->event_type($value)

    Type: Enum (Google::Container::V1::UpgradeInfoEvent::EventType)

    The type of the event.

  • $msg->disruption_event() / $msg->disruption_event($value)

    Type: Message (Google::Container::V1::ClusterService::DisruptionEvent)

    The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT.

Enum: UpgradeInfoEvent::State

  • STATE_UNSPECIFIED => 0

  • SCHEDULED => 1

  • STARTED => 3

  • SUCCEEDED => 4

  • FAILED => 5

  • CANCELED => 6

Enum: UpgradeInfoEvent::EventType

  • EVENT_TYPE_UNSPECIFIED => 0

  • END_OF_SUPPORT => 1

  • COS_MILESTONE_VERSION_UPDATE => 2

  • UPGRADE_LIFECYCLE => 3

  • DISRUPTION_EVENT => 4

Google::Container::V1::ClusterService::DisruptionEvent

DisruptionEvent is a notification sent to customers about the disruption event of a resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->disruption_type() / $msg->disruption_type($value)

    Type: Enum (Google::Container::V1::DisruptionEvent::DisruptionType)

    The type of the disruption event.

  • $msg->pdb_blocked_node() / $msg->pdb_blocked_node($value)

    Type: String

    The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.

  • $msg->pdb_blocked_pod() / $msg->pdb_blocked_pod($value)

    Type: Message (Google::Container::V1::ClusterService::DisruptionEvent::PdbBlockedPod)

    The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.

  • $msg->pdb_violation_timeout() / $msg->pdb_violation_timeout($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.

Enum: DisruptionEvent::DisruptionType

  • DISRUPTION_TYPE_UNSPECIFIED => 0

  • POD_NOT_ENOUGH_PDB => 1

  • POD_PDB_VIOLATION => 2

Google::Container::V1::ClusterService::UpgradeAvailableEvent

UpgradeAvailableEvent is a notification sent to customers when a new available version is released.

Inherits from Protobuf::Message.

Accessors

  • $msg->version() / $msg->version($value)

    Type: String

    The release version available for upgrade.

  • $msg->resource_type() / $msg->resource_type($value)

    Type: Enum (Google::Container::V1::UpgradeResourceType)

    The resource type of the release version.

  • $msg->release_channel() / $msg->release_channel($value)

    Type: Message (Google::Container::V1::ClusterService::ReleaseChannel)

    The release channel of the version. If empty, it means a non-channel release.

  • $msg->resource() / $msg->resource($value)

    Type: String

    Optional relative path to the resource. For example, the relative path of the node pool.

Google::Container::V1::ClusterService::SecurityBulletinEvent

SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_type_affected() / $msg->resource_type_affected($value)

    Type: String

    The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

  • $msg->bulletin_id() / $msg->bulletin_id($value)

    Type: String

    The ID of the bulletin corresponding to the vulnerability.

  • $msg->cve_ids() / $msg->cve_ids($value)

    Type: String

    The CVEs associated with this bulletin.

  • $msg->severity() / $msg->severity($value)

    Type: String

    The severity of this bulletin as it relates to GKE.

  • $msg->bulletin_uri() / $msg->bulletin_uri($value)

    Type: String

    The URI link to the bulletin on the website for more information.

  • $msg->brief_description() / $msg->brief_description($value)

    Type: String

    A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

  • $msg->affected_supported_minors() / $msg->affected_supported_minors($value)

    Type: String

    The GKE minor versions affected by this vulnerability.

  • $msg->patched_versions() / $msg->patched_versions($value)

    Type: String

    The GKE versions where this vulnerability is patched.

  • $msg->suggested_upgrade_target() / $msg->suggested_upgrade_target($value)

    Type: String

    This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

  • $msg->manual_steps_required() / $msg->manual_steps_required($value)

    Type: Bool

    If this field is specified, it means there are manual steps that the user must take to make their clusters safe.

  • $msg->mitigated_versions() / $msg->mitigated_versions($value)

    Type: String

    The GKE versions where this vulnerability is mitigated.

Google::Container::V1::ClusterService::Autopilot

Autopilot is the configuration for Autopilot settings on the cluster.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ClusterPolicyConfig

ClusterPolicyConfig stores the configuration for cluster wide policies.

Inherits from Protobuf::Message.

Accessors

  • $msg->no_system_mutation() / $msg->no_system_mutation($value)

    Type: Bool

    Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .

  • $msg->no_system_impersonation() / $msg->no_system_impersonation($value)

    Type: Bool

    Denotes preventing impersonation and CSRs for GKE System users.

  • $msg->no_unsafe_webhooks() / $msg->no_unsafe_webhooks($value)

    Type: Bool

    Denotes preventing unsafe webhooks.

  • $msg->no_standard_node_pools() / $msg->no_standard_node_pools($value)

    Type: Bool

    Denotes preventing standard node pools and requiring only autopilot node pools.

Google::Container::V1::ClusterService::PrivilegedAdmissionConfig

PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->allowlist_paths() / $msg->allowlist_paths($value)

    Type: String

    The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters.

    Paths can be GKE-owned, in the format `gke://<partner_name>/<app_name>/<allowlist_path>`, or customer-owned, in the format `gs://<bucket_name>/<allowlist_path>`.

    Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.

Google::Container::V1::ClusterService::WorkloadPolicyConfig

WorkloadPolicyConfig is the configuration related to GCW workload policy

Inherits from Protobuf::Message.

Accessors

  • $msg->allow_net_admin() / $msg->allow_net_admin($value)

    Type: Bool

    If true, workloads can use NET_ADMIN capability.

  • $msg->autopilot_compatibility_auditing_enabled() / $msg->autopilot_compatibility_auditing_enabled($value)

    Type: Bool

    If true, enables the GCW Auditor that audits workloads on standard clusters.

Google::Container::V1::ClusterService::LoggingConfig

LoggingConfig is cluster logging configuration.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::LoggingComponentConfig

LoggingComponentConfig is cluster logging component configuration.

Inherits from Protobuf::Message.

Accessors

Enum: LoggingComponentConfig::Component

  • COMPONENT_UNSPECIFIED => 0

  • SYSTEM_COMPONENTS => 1

  • WORKLOADS => 2

  • APISERVER => 3

  • SCHEDULER => 4

  • CONTROLLER_MANAGER => 5

  • KCP_SSHD => 7

  • KCP_CONNECTION => 8

  • KCP_HPA => 9

  • KCP_VPA => 10

Google::Container::V1::ClusterService::RayClusterLoggingConfig

RayClusterLoggingConfig specifies configuration of Ray logging.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enable log collection for Ray clusters.

Google::Container::V1::ClusterService::MonitoringConfig

MonitoringConfig is cluster monitoring configuration.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::AdvancedDatapathObservabilityConfig

AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.

Inherits from Protobuf::Message.

Accessors

Enum: AdvancedDatapathObservabilityConfig::RelayMode

  • RELAY_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • INTERNAL_VPC_LB => 3

  • EXTERNAL_LB => 4

Google::Container::V1::ClusterService::RayClusterMonitoringConfig

RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enable metrics collection for Ray clusters.

Google::Container::V1::ClusterService::NodePoolLoggingConfig

NodePoolLoggingConfig specifies logging configuration for node pools.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::LoggingVariantConfig

LoggingVariantConfig specifies the behaviour of the logging component.

Inherits from Protobuf::Message.

Accessors

Enum: LoggingVariantConfig::Variant

  • VARIANT_UNSPECIFIED => 0

  • DEFAULT => 1

  • MAX_THROUGHPUT => 2

Google::Container::V1::ClusterService::MonitoringComponentConfig

MonitoringComponentConfig is cluster monitoring component configuration.

Inherits from Protobuf::Message.

Accessors

Enum: MonitoringComponentConfig::Component

  • COMPONENT_UNSPECIFIED => 0

  • SYSTEM_COMPONENTS => 1

  • APISERVER => 3

  • SCHEDULER => 4

  • CONTROLLER_MANAGER => 5

  • STORAGE => 7

  • HPA => 8

  • POD => 9

  • DAEMONSET => 10

  • DEPLOYMENT => 11

  • STATEFULSET => 12

  • CADVISOR => 13

  • KUBELET => 14

  • DCGM => 15

  • JOBSET => 16

Google::Container::V1::ClusterService::DataplaneV2Config

DataplaneV2Config is the configuration for DPv2.

Inherits from Protobuf::Message.

Accessors

Enum: DataplaneV2Config::ScalabilityMode

  • SCALABILITY_MODE_UNSPECIFIED => 0

  • DISABLED => 3

  • SCALE_OPTIMIZED => 4

Google::Container::V1::ClusterService::ManagedPrometheusConfig

ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::AutoMonitoringConfig

AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.

Inherits from Protobuf::Message.

Accessors

Enum: AutoMonitoringConfig::Scope

  • SCOPE_UNSPECIFIED => 0

  • ALL => 1

  • NONE => 2

Google::Container::V1::ClusterService::PodAutoscaling

PodAutoscaling is used for configuration of parameters for workload autoscaling.

Inherits from Protobuf::Message.

Accessors

Enum: PodAutoscaling::HPAProfile

  • HPA_PROFILE_UNSPECIFIED => 0

  • NONE => 1

  • PERFORMANCE => 2

Google::Container::V1::ClusterService::Fleet

Fleet is the fleet configuration for the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->project() / $msg->project($value)

    Type: String

    The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered.

  • $msg->membership() / $msg->membership($value)

    Type: String

    Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.

  • $msg->pre_registered() / $msg->pre_registered($value)

    Type: Bool

    Output only. Whether the cluster has been registered through the fleet API.

  • $msg->membership_type() / $msg->membership_type($value)

    Type: Enum (Google::Container::V1::Fleet::MembershipType)

    The type of the cluster's fleet membership.

Enum: Fleet::MembershipType

  • MEMBERSHIP_TYPE_UNSPECIFIED => 0

  • LIGHTWEIGHT => 1

Google::Container::V1::ClusterService::ControlPlaneEndpointsConfig

Configuration for all of the cluster's control plane endpoints.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::LocalNvmeSsdBlockConfig

LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs

Inherits from Protobuf::Message.

Accessors

  • $msg->local_ssd_count() / $msg->local_ssd_count($value)

    Type: Int32

    Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.

    A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.

Google::Container::V1::ClusterService::DiskIoScheduler

DiskIoScheduler contains the configuration for the disk IO scheduler.

Inherits from Protobuf::Message.

Accessors

  • $msg->node_system_io_scheduler() / $msg->node_system_io_scheduler($value)

    Type: String

    Optional. Configures the IO scheduler for the boot disk or ephemeral lssd that runs node system workloads. Supported values are `mq-deadline`, `bfq`, `kyber`, `none`.

  • $msg->node_attached_disk_io_scheduler() / $msg->node_attached_disk_io_scheduler($value)

    Type: String

    Optional. Configures the IO scheduler for the attached disks. Supported values are `mq-deadline`, `bfq`, `kyber`, `none`.

Google::Container::V1::ClusterService::EphemeralStorageLocalSsdConfig

EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.

Inherits from Protobuf::Message.

Accessors

  • $msg->local_ssd_count() / $msg->local_ssd_count($value)

    Type: Int32

    Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.

    A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.

  • $msg->data_cache_count() / $msg->data_cache_count($value)

    Type: Int32

    Number of local SSDs to use for GKE Data Cache.

Google::Container::V1::ClusterService::ResourceManagerTags

A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::EnterpriseConfig

EnterpriseConfig is the cluster enterprise configuration.

Deprecated: GKE Enterprise features are now available without an Enterprise tier.

Inherits from Protobuf::Message.

Accessors

Enum: EnterpriseConfig::ClusterTier

  • CLUSTER_TIER_UNSPECIFIED => 0

  • STANDARD => 1

  • ENTERPRISE => 2

Google::Container::V1::ClusterService::SecretManagerConfig

SecretManagerConfig is config for secret manager enablement.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::BootDisk

BootDisk specifies the boot disk configuration for node pools.

Inherits from Protobuf::Message.

Accessors

  • $msg->disk_type() / $msg->disk_type($value)

    Type: String

    Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)

  • $msg->size_gb() / $msg->size_gb($value)

    Type: Int64

    Disk size in GB. Replaces NodeConfig.disk_size_gb

  • $msg->provisioned_iops() / $msg->provisioned_iops($value)

    Type: Int64

    For Hyperdisk-Balanced only, the provisioned IOPS config value.

  • $msg->provisioned_throughput() / $msg->provisioned_throughput($value)

    Type: Int64

    For Hyperdisk-Balanced only, the provisioned throughput config value.

Google::Container::V1::ClusterService::SecondaryBootDisk

SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.

Inherits from Protobuf::Message.

Accessors

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Container::V1::SecondaryBootDisk::Mode)

    Disk mode (container image cache, etc.)

  • $msg->disk_image() / $msg->disk_image($value)

    Type: String

    Fully-qualified resource ID for an existing disk image.

Enum: SecondaryBootDisk::Mode

  • MODE_UNSPECIFIED => 0

  • CONTAINER_IMAGE_CACHE => 1

Google::Container::V1::ClusterService::SecondaryBootDiskUpdateStrategy

SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the future to define different options for updating secondary boot disks.

Inherits from Protobuf::Message.

Google::Container::V1::ClusterService::RollbackSafeUpgrade

RollbackSafeUpgrade is the configuration for the rollback safe upgrade.

Inherits from Protobuf::Message.

Accessors

  • $msg->control_plane_soak_duration() / $msg->control_plane_soak_duration($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}.

Google::Container::V1::ClusterService::FetchClusterUpgradeInfoRequest

FetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.

  • $msg->version() / $msg->version($value)

    Type: String

    API request version that initiates this operation.

Google::Container::V1::ClusterService::ClusterUpgradeInfo

ClusterUpgradeInfo contains the upgrade information of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->minor_target_version() / $msg->minor_target_version($value)

    Type: String

    minor_target_version indicates the target version for minor upgrade.

  • $msg->patch_target_version() / $msg->patch_target_version($value)

    Type: String

    patch_target_version indicates the target version for patch upgrade.

  • $msg->auto_upgrade_status() / $msg->auto_upgrade_status($value)

    Type: Enum (Google::Container::V1::ClusterUpgradeInfo::AutoUpgradeStatus)

    The auto upgrade status.

  • $msg->paused_reason() / $msg->paused_reason($value)

    Type: Enum (Google::Container::V1::ClusterUpgradeInfo::AutoUpgradePausedReason)

    The auto upgrade paused reason.

  • $msg->upgrade_details() / $msg->upgrade_details($value)

    Type: Message (Google::Container::V1::ClusterService::UpgradeDetails)

    The list of past auto upgrades.

  • $msg->end_of_standard_support_timestamp() / $msg->end_of_standard_support_timestamp($value)

    Type: String

    The cluster's current minor version's end of standard support timestamp.

  • $msg->end_of_extended_support_timestamp() / $msg->end_of_extended_support_timestamp($value)

    Type: String

    The cluster's current minor version's end of extended support timestamp.

  • $msg->rollback_safe_upgrade_status() / $msg->rollback_safe_upgrade_status($value)

    Type: Message (Google::Container::V1::ClusterService::RollbackSafeUpgradeStatus)

    Output only. The cluster's rollback-safe upgrade status.

Enum: ClusterUpgradeInfo::AutoUpgradeStatus

  • UNKNOWN => 0

  • ACTIVE => 1

  • MINOR_UPGRADE_PAUSED => 4

  • UPGRADE_PAUSED => 5

Enum: ClusterUpgradeInfo::AutoUpgradePausedReason

  • AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED => 0

  • MAINTENANCE_WINDOW => 1

  • MAINTENANCE_EXCLUSION_NO_UPGRADES => 5

  • MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES => 6

  • CLUSTER_DISRUPTION_BUDGET => 4

  • CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE => 7

  • SYSTEM_CONFIG => 8

Google::Container::V1::ClusterService::RollbackSafeUpgradeStatus

RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Container::V1::RollbackSafeUpgradeStatus::Mode)

    Output only. The mode of the rollback-safe upgrade.

  • $msg->control_plane_upgrade_rollback_end_time() / $msg->control_plane_upgrade_rollback_end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The rollback-safe mode expiration time.

  • $msg->previous_version() / $msg->previous_version($value)

    Type: String

    Output only. The GKE version that the cluster previously used before step-one upgrade.

Enum: RollbackSafeUpgradeStatus::Mode

  • MODE_UNSPECIFIED => 0

  • KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE => 1

Google::Container::V1::ClusterService::UpgradeDetails

UpgradeDetails contains detailed information of each individual upgrade operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Container::V1::UpgradeDetails::State)

    Output only. The state of the upgrade.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The start timestamp of the upgrade.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The end timestamp of the upgrade.

  • $msg->initial_version() / $msg->initial_version($value)

    Type: String

    The version before the upgrade.

  • $msg->target_version() / $msg->target_version($value)

    Type: String

    The version after the upgrade.

  • $msg->start_type() / $msg->start_type($value)

    Type: Enum (Google::Container::V1::UpgradeDetails::StartType)

    The start type of the upgrade.

  • $msg->initial_emulated_version() / $msg->initial_emulated_version($value)

    Type: String

    Output only. The emulated version before the upgrade.

  • $msg->target_emulated_version() / $msg->target_emulated_version($value)

    Type: String

    Output only. The emulated version after the upgrade.

Enum: UpgradeDetails::State

  • UNKNOWN => 0

  • FAILED => 1

  • SUCCEEDED => 2

  • CANCELED => 3

  • RUNNING => 4

Enum: UpgradeDetails::StartType

  • START_TYPE_UNSPECIFIED => 0

  • AUTOMATIC => 1

  • MANUAL => 2

Google::Container::V1::ClusterService::FetchNodePoolUpgradeInfoRequest

FetchNodePoolUpgradeInfoRequest fetches the upgrade information of a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name (project, location, cluster, node pool) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.

  • $msg->version() / $msg->version($value)

    Type: String

    API request version that initiates this operation.

Google::Container::V1::ClusterService::NodePoolUpgradeInfo

NodePoolUpgradeInfo contains the upgrade information of a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->minor_target_version() / $msg->minor_target_version($value)

    Type: String

    minor_target_version indicates the target version for minor upgrade.

  • $msg->patch_target_version() / $msg->patch_target_version($value)

    Type: String

    patch_target_version indicates the target version for patch upgrade.

  • $msg->auto_upgrade_status() / $msg->auto_upgrade_status($value)

    Type: Enum (Google::Container::V1::NodePoolUpgradeInfo::AutoUpgradeStatus)

    The auto upgrade status.

  • $msg->paused_reason() / $msg->paused_reason($value)

    Type: Enum (Google::Container::V1::NodePoolUpgradeInfo::AutoUpgradePausedReason)

    The auto upgrade paused reason.

  • $msg->upgrade_details() / $msg->upgrade_details($value)

    Type: Message (Google::Container::V1::ClusterService::UpgradeDetails)

    The list of past auto upgrades.

  • $msg->end_of_standard_support_timestamp() / $msg->end_of_standard_support_timestamp($value)

    Type: String

    The node pool's current minor version's end of standard support timestamp.

  • $msg->end_of_extended_support_timestamp() / $msg->end_of_extended_support_timestamp($value)

    Type: String

    The node pool's current minor version's end of extended support timestamp.

  • $msg->custom_image_info() / $msg->custom_image_info($value)

    Type: Message (Google::Container::V1::ClusterService::CustomImageInfo)

    Output only. Upgrade info for the node pool specific to the usage of custom images.

Enum: NodePoolUpgradeInfo::AutoUpgradeStatus

  • UNKNOWN => 0

  • ACTIVE => 1

  • MINOR_UPGRADE_PAUSED => 2

  • UPGRADE_PAUSED => 3

Enum: NodePoolUpgradeInfo::AutoUpgradePausedReason

  • AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED => 0

  • MAINTENANCE_WINDOW => 1

  • MAINTENANCE_EXCLUSION_NO_UPGRADES => 2

  • MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES => 3

  • SYSTEM_CONFIG => 4

Google::Container::V1::ClusterService::CustomImageInfo

Contains the custom image info for a node pool.

Inherits from Protobuf::Message.

Accessors

  • $msg->upgrade_message() / $msg->upgrade_message($value)

    Type: String

    Output only. The human-readable upgrade message for the custom image.

Google::Container::V1::ClusterService::CompleteControlPlaneUpgradeRequest

CompleteControlPlaneUpgradeRequest sets the name of target cluster to complete upgrade.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*`.

  • $msg->version() / $msg->version($value)

    Type: String

    Optional. API request version that initiates this operation.

Google::Container::V1::ClusterService::ScheduleUpgradeConfig

Configuration for scheduled upgrades on the cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Whether or not scheduled upgrades are enabled.

Google::Container::V1::ClusterService::GkeAutoUpgradeConfig

GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.

Inherits from Protobuf::Message.

Accessors

Enum: GkeAutoUpgradeConfig::PatchMode

  • PATCH_MODE_UNSPECIFIED => 0

  • ACCELERATED => 1

Google::Container::V1::ClusterService::NetworkTierConfig

NetworkTierConfig contains network tier information.

Inherits from Protobuf::Message.

Accessors

Enum: NetworkTierConfig::NetworkTier

  • NETWORK_TIER_UNSPECIFIED => 0

  • NETWORK_TIER_DEFAULT => 1

  • NETWORK_TIER_PREMIUM => 2

  • NETWORK_TIER_STANDARD => 3

Google::Container::V1::ClusterService::SecretSyncConfig

Configuration for sync Secret Manager secrets as k8s secrets.

Inherits from Protobuf::Message.

Accessors

Google::Container::V1::ClusterService::ManagedOpenTelemetryConfig

ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.

Inherits from Protobuf::Message.

Accessors

Enum: ManagedOpenTelemetryConfig::Scope

  • SCOPE_UNSPECIFIED => 0

  • NONE => 1

  • COLLECTION_AND_INSTRUMENTATION_COMPONENTS => 2

Google::Container::V1::ClusterService::ManagedMachineLearningDiagnosticsConfig

ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE Managed Machine Learning Diagnostics pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enable/Disable Managed Machine Learning Diagnostics.

Google::Container::V1::ClusterService::PodSnapshotConfig

PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether or not the Pod Snapshots feature is enabled.

SEE ALSO

Protobuf, Protobuf::Message, Google::Container::V1::ClusterService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.