Skip to content

Commit 4ee4389

Browse files
feat: [Container] Add SwapConfig to enable and configure swap memory for node pools (#8880)
* feat: Add SwapConfig to enable and configure swap memory for node pools feat: Add GPUDirectConfig to configure GPU Direct for node pools feat: Add consolidation_delay to configure Cluster Autoscaler node consolidation delay feat: Add RegistryHostConfig to ContainerdConfig for containerd registry host configuration feat: Add SliceControllerConfig to AddonsConfig to manage the Slice Controller addon feat: Add ManagedOpenTelemetryConfig to Cluster to manage the OpenTelemetry pipeline feat: Add NodeDrainConfig to NodePool to configure node draining behavior feat: Add AutopilotGeneralProfile to ClusterAutoscaling to configure Autopilot profiles feat: Add SHORT_LIVED as a NodePoolUpdateStrategy feat: Add DRAINING status to AdditionalIPRangesConfig for subnet draining feat: Allow specifying subnetwork in NodeNetworkConfig during node pool creation feat: Add DisruptionEvent to provide details on node disruption events docs: A comment for field `sysctls` in message `.google.container.v1.LinuxNodeConfig` is changed docs: A comment for field `subnetwork` in message `.google.container.v1.NodeNetworkConfig` is changed docs: A comment for field `gcp_secret_manager_certificate_config` in message `.google.container.v1.ContainerdConfig` is changed docs: A comment for field `cluster_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed docs: A comment for field `node_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed docs: A comment for field `services_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed docs: A comment for field `cluster_ipv4_cidr` in message `.google.container.v1.Cluster` is changed docs: A comment for field `services_ipv4_cidr` in message `.google.container.v1.Cluster` is changed docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1.Cluster` is changed docs: A comment for field `recurrence` in message `.google.container.v1.RecurringTimeWindow` is changed PiperOrigin-RevId: 859731311 Source-Link: googleapis/googleapis@928703e Source-Link: googleapis/googleapis-gen@22be7aa Copy-Tag: eyJwIjoiQ29udGFpbmVyLy5Pd2xCb3QueWFtbCIsImgiOiIyMmJlN2FhNTgxYmIxMGFhNzk4ZTIwMGJmNTMxZmVhMzc0OTI1N2E0In0= * 🦉 Updates from OwlBot post-processor 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>
1 parent d1fdcdd commit 4ee4389

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3349
-56
lines changed
4.5 KB
Binary file not shown.

Container/src/V1/AdditionalIPRangesConfig.php

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Container/src/V1/AdditionalIPRangesConfig/Status.php

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Container/src/V1/AddonsConfig.php

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Container/src/V1/Client/ClusterManagerClient.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,25 @@ public static function cryptoKeyVersionName(
225225
]);
226226
}
227227

228+
/**
229+
* Formats a string containing the fully-qualified path to represent a subnetwork
230+
* resource.
231+
*
232+
* @param string $project
233+
* @param string $region
234+
* @param string $subnetwork
235+
*
236+
* @return string The formatted subnetwork resource.
237+
*/
238+
public static function subnetworkName(string $project, string $region, string $subnetwork): string
239+
{
240+
return self::getPathTemplate('subnetwork')->render([
241+
'project' => $project,
242+
'region' => $region,
243+
'subnetwork' => $subnetwork,
244+
]);
245+
}
246+
228247
/**
229248
* Formats a string containing the fully-qualified path to represent a topic
230249
* resource.
@@ -248,6 +267,7 @@ public static function topicName(string $project, string $topic): string
248267
* Template: Pattern
249268
* - caPool: projects/{project}/locations/{location}/caPools/{ca_pool}
250269
* - cryptoKeyVersion: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
270+
* - subnetwork: projects/{project}/regions/{region}/subnetworks/{subnetwork}
251271
* - topic: projects/{project}/topics/{topic}
252272
*
253273
* The optional $template argument can be supplied to specify a particular pattern,

Container/src/V1/Cluster.php

Lines changed: 56 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)