Skip to content

Commit

Permalink
feat: Release GKE CloudDNS Cluster Scope (#3820)
Browse files Browse the repository at this point in the history
feat: add WindowsNodeConfig field to v1alpha1, v1beta1, v1
feat: add EphemeralStorageLocalSsdConfig and LocalNvmeSsdBlockConfig APIs to v1alpha1, v1beta1, v1
PiperOrigin-RevId: 497251971
Source-Link: googleapis/googleapis@32fa620
Source-Link: googleapis/googleapis-gen@487ef77
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiNDg3ZWY3NzQ0NWIyNGYwYzAwOTUyY2EzMDIxNDliZjRkMjQxYjkwOCJ9
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
feat: Release GKE CloudDNS Cluster Scope
feat: add WindowsNodeConfig field to v1alpha1, v1beta1, v1
feat: add EphemeralStorageLocalSsdConfig and LocalNvmeSsdBlockConfig APIs to v1alpha1, v1beta1, v1
PiperOrigin-RevId: 497252854
Source-Link: googleapis/googleapis@3b5011d
Source-Link: googleapis/googleapis-gen@289376a
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMjg5Mzc2YTkwMmM5NDk2ZjRmM2NkNzlmMzMwNWNhMzJhMDZjOGY1MCJ9
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 23, 2022
1 parent 5f56d1d commit 076de4c
Show file tree
Hide file tree
Showing 11 changed files with 2,423 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,26 @@ message LinuxNodeConfig {
CgroupMode cgroup_mode = 2;
}

// 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
message WindowsNodeConfig {
// Possible OS version that can be used.
enum OSVersion {
// When OSVersion is not specified
OS_VERSION_UNSPECIFIED = 0;

// LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
OS_VERSION_LTSC2019 = 1;

// LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
OS_VERSION_LTSC2022 = 2;
}

// OSVersion specifies the Windows node config to be used on the node
OSVersion os_version = 1;
}

// Node kubelet configs.
message NodeKubeletConfig {
// Control the CPU management policy on the node.
Expand Down Expand Up @@ -768,6 +788,16 @@ message NodeConfig {

// Logging configuration.
NodePoolLoggingConfig logging_config = 38;

// Parameters that can be configured on Windows nodes.
WindowsNodeConfig windows_node_config = 39;

// Parameters for using raw-block Local NVMe SSDs.
LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;

// Parameters for the node ephemeral storage using Local SSDs.
// If unspecified, ephemeral storage is backed by the boot disk.
EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
}

// Specifies options for controlling advanced machine features.
Expand Down Expand Up @@ -2300,6 +2330,9 @@ message UpdateNodePoolRequest {
// The resource labels for the node pool to use to annotate any related
// Google Compute Engine resources.
ResourceLabels resource_labels = 33;

// Parameters that can be configured on Windows nodes.
WindowsNodeConfig windows_node_config = 34;
}

// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
Expand Down Expand Up @@ -4005,6 +4038,9 @@ message DNSConfig {
// Default value, will be inferred as cluster scope.
DNS_SCOPE_UNSPECIFIED = 0;

// DNS records are accessible from within the cluster.
CLUSTER_SCOPE = 1;

// DNS records are accessible from within the VPC.
VPC_SCOPE = 2;
}
Expand Down Expand Up @@ -4556,3 +4592,29 @@ enum IPv6AccessType {
// Access type external (all v6 addresses are external IPs)
EXTERNAL = 2;
}

// LocalNvmeSsdBlockConfig contains configuration for using raw-block local
// NVMe SSD.
message LocalNvmeSsdBlockConfig {
// The number of raw-block local NVMe SSD disks to be attached to the node.
// Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
// 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.
int32 local_ssd_count = 1;
}

// EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
// storage using Local SSD.
message EphemeralStorageLocalSsdConfig {
// Number of local SSDs to use to back ephemeral storage. Uses NVMe
// interfaces. Each local SSD is 375 GB in size.
// If zero, it means to disable using local SSDs as ephemeral storage.
// 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.
int32 local_ssd_count = 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,26 @@ message LinuxNodeConfig {
CgroupMode cgroup_mode = 2;
}

// 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
message WindowsNodeConfig {
// Possible OS version that can be used.
enum OSVersion {
// When OSVersion is not specified
OS_VERSION_UNSPECIFIED = 0;

// LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
OS_VERSION_LTSC2019 = 1;

// LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
OS_VERSION_LTSC2022 = 2;
}

// OSVersion specifies the Windows node config to be used on the node
OSVersion os_version = 1;
}

// Node kubelet configs.
message NodeKubeletConfig {
// Control the CPU management policy on the node.
Expand Down Expand Up @@ -762,6 +782,17 @@ message NodeConfig {

// Logging configuration.
NodePoolLoggingConfig logging_config = 38;

// Parameters that can be configured on Windows nodes.
WindowsNodeConfig windows_node_config = 39;

// Parameters for using raw-block Local NVMe SSDs.
LocalNvmeSsdBlockConfig local_nvme_ssd_block_config = 40;

// Parameters for the node ephemeral storage using Local SSDs.
// If unspecified, ephemeral storage is backed by the boot disk.
// This field is functionally equivalent to the ephemeral_storage_config
EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41;
}

// Specifies options for controlling advanced machine features.
Expand Down Expand Up @@ -888,6 +919,32 @@ message EphemeralStorageConfig {
int32 local_ssd_count = 1;
}

// LocalNvmeSsdBlockConfig contains configuration for using raw-block local
// NVMe SSDs
message LocalNvmeSsdBlockConfig {
// The number of raw-block local NVMe SSD disks to be attached to the node.
// Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
// 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.
int32 local_ssd_count = 1;
}

// EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
// storage using Local SSDs.
message EphemeralStorageLocalSsdConfig {
// Number of local SSDs to use to back ephemeral storage. Uses NVMe
// interfaces. Each local SSD is 375 GB in size.
// If zero, it means to disable using local SSDs as ephemeral storage.
// 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.
int32 local_ssd_count = 1;
}

// GcfsConfig contains configurations of Google Container File System.
message GcfsConfig {
// Whether to use GCFS.
Expand Down Expand Up @@ -2564,6 +2621,9 @@ message UpdateNodePoolRequest {
// The resource labels for the node pool to use to annotate any related
// Google Compute Engine resources.
ResourceLabels resource_labels = 33;

// Parameters that can be configured on Windows nodes.
WindowsNodeConfig windows_node_config = 34;
}

// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
Expand Down
Loading

0 comments on commit 076de4c

Please sign in to comment.