feat: add custom node image configuration

feat: add GKE agent sandbox configuration
docs: various documentation improvements

PiperOrigin-RevId: 922506661
This commit is contained in:
Google APIs 2026-05-27 20:37:10 -07:00 committed by Copybara-Service
parent 7496288011
commit cdc919ff59

View file

@ -797,6 +797,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
@ -812,6 +815,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
@ -1424,6 +1429,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.
@ -1851,6 +1860,18 @@ 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 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;
}
// SandboxConfig contains configurations of the sandbox to use for the node.
message SandboxConfig {
// Possible types of sandboxes.
@ -4074,6 +4095,14 @@ message ClusterUpdate {
// The desired GCFS config for the cluster.
GcfsConfig desired_gcfs_config = 109;
// The desired name of the image to use for this node.
// This is used to create clusters using a custom image.
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.
string desired_image_project = 45;
// Configuration of etcd encryption.
DatabaseEncryption desired_database_encryption = 46;
@ -4771,6 +4800,14 @@ message UpdateNodePoolRequest {
// for available image types.
string image_type = 6 [(google.api.field_behavior) = REQUIRED];
// 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
@ -6888,6 +6925,10 @@ message NetworkConfig {
// [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1beta1.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;
}
@ -8183,6 +8224,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];
}
// PodAutoscaling is used for configuration of parameters
// for workload autoscaling.
message PodAutoscaling {