Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,9 @@ message LinuxNodeConfig {
// 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
Expand All @@ -798,6 +801,8 @@ message LinuxNodeConfig {
// 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
Expand Down Expand Up @@ -1413,6 +1418,10 @@ message NodeConfig {
// for available image types.
string image_type = 5;

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

// 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.
Expand Down Expand Up @@ -1827,6 +1836,15 @@ message ShieldedInstanceConfig {
bool enable_integrity_monitoring = 2;
}

// CustomImageConfig contains the information r
message CustomImageConfig {
// The name of the image to use for this node.
string image = 1;

// The project containing the image to use for this node.
string image_project = 3;
}

// SandboxConfig contains configurations of the sandbox to use for the node.
message SandboxConfig {
// Possible types of sandboxes.
Expand Down Expand Up @@ -2282,6 +2300,10 @@ message AddonsConfig {
SliceControllerConfig slice_controller_config = 26
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for the AgentSandbox addon.
AgentSandboxConfig agent_sandbox_config = 28
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for NodeReadinessController add-on.
NodeReadinessConfig node_readiness_config = 29
[(google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -2496,6 +2518,12 @@ message SlurmOperatorConfig {
bool enabled = 1;
}

// Configuration for the AgentSandbox addon.
message AgentSandboxConfig {
// Optional. Whether AgentSandbox is enabled for this cluster.
bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Configuration for the GKE Node Readiness Controller.
message NodeReadinessConfig {
// Optional. Whether the GKE Node Readiness Controller is enabled for this
Expand Down Expand Up @@ -3568,6 +3596,16 @@ message ClusterUpdate {
// NOTE: Set the "desired_node_pool" field as well.
string desired_image_type = 8;

// 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.
string desired_image = 44;

// 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.
string desired_image_project = 45;

// Configuration of etcd encryption.
DatabaseEncryption desired_database_encryption = 46;

Expand Down Expand Up @@ -4334,6 +4372,14 @@ message UpdateNodePoolRequest {
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 8;

// The desired name of the image name to use for this node.
// This is used to create clusters using a custom image.
string image = 10;

// The project containing the desired image to use for this node pool.
// This is used to create clusters using a custom image.
string image_project = 11;

// 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
Expand Down Expand Up @@ -6288,6 +6334,10 @@ message NetworkConfig {
// [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
optional bool default_enable_private_nodes = 22;

// Optional. DataplaneV2Config specifies the DPv2 configuration.
optional DataplaneV2Config dataplane_v2_config = 23
[(google.api.field_behavior) = OPTIONAL];

// Disable L4 load balancer VPC firewalls to enable firewall policies.
optional bool disable_l4_lb_firewall_reconciliation = 24;
}
Expand Down Expand Up @@ -7438,6 +7488,25 @@ enum DatapathProvider {
ADVANCED_DATAPATH = 2;
}

// DataplaneV2Config is the configuration for DPv2.
message DataplaneV2Config {
// Options on how to scale the cluster.
enum ScalabilityMode {
// Default value.
SCALABILITY_MODE_UNSPECIFIED = 0;

// Disables the scale optimized mode for DPv2.
DISABLED = 3;

// Enables the scale optimized mode for DPv2.
SCALE_OPTIMIZED = 4;
}

// Optional. Scalability mode for the cluster.
optional ScalabilityMode scalability_mode = 1
[(google.api.field_behavior) = OPTIONAL];
}

// Strategy used for node pool update.
enum NodePoolUpdateStrategy {
// Default value if unset. GKE internally defaults the update strategy to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1865,9 +1865,6 @@ message CustomImageConfig {
// The name of the image to use for this node.
string image = 1;

// The name of the image family to use for this node.
string image_family = 2;

// The project containing the image to use for this node.
string image_project = 3;
}
Expand Down
Loading
Loading