Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
feat: add compact placement feature for node pools (#312)
Browse files Browse the repository at this point in the history
* chore: update to gapic-generator-python 1.5.0

feat: add support for `google.cloud.<api>.__version__`
PiperOrigin-RevId: 484665853

Source-Link: googleapis/googleapis@8eb249a

Source-Link: googleapis/googleapis-gen@c8aa327
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add APIs for GKE Control Plane Logs

---
feat: GKE cluster's control plan/node-pool network isolation

Users now can change the network isolation for your public cluster's control plane.
By default, when a new public cluster is created, GKE assigns a public IP address (external endpoint) to the control plane and provisions
public nodes. New APIs allows to change cluster network isolation of the control plane and/or node-pool from the internet

---
feat: add nodeconfig resource_labels api

---
feat: add API to enable GKE Gateway controller
PiperOrigin-RevId: 486164143

Source-Link: googleapis/googleapis@e4a656d

Source-Link: googleapis/googleapis-gen@9e757e1
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU3NTdlMWQ3MTcxZTFlOTJiZjRkYWU1NDhhMzg1NjNjZGQ0ZmI2NSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add APIs for GKE Control Plane Logs

---
feat: GKE cluster's control plan/node-pool network isolation

Users now can change the network isolation for your public cluster's control plane.
By default, when a new public cluster is created, GKE assigns a public IP address (external endpoint) to the control plane and provisions
public nodes. New APIs allows to change cluster network isolation of the control plane and/or node-pool from the internet

---
feat: add nodeconfig resource_labels api

---
feat: add API to enable GKE Gateway controller
PiperOrigin-RevId: 486164478

Source-Link: googleapis/googleapis@30e2c3b

Source-Link: googleapis/googleapis-gen@73ec334
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzNlYzMzNDg5OTBmYjMwOGQzYjYwMGEwOTQwYWU4NTJkNDcyNDdlZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update version in gapic_version.py

* add .release-please-manifest.json with correct version

* add owlbot.py to exclude generated gapic_version.py

* set manifest to true in .github/release-please.yml

* add release-please-config.json

* chore: Update to gapic-generator-python 1.6.0

feat(python): Add typing to proto.Message based class attributes

feat(python): Snippetgen handling of repeated enum field

PiperOrigin-RevId: 487326846

Source-Link: googleapis/googleapis@da380c7

Source-Link: googleapis/googleapis-gen@61ef576
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: new APIs added to reflect updates to the filestore service

- Add ENTERPRISE Tier
- Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot
- Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare
- Add ConnectMode to NetworkConfig (for Private Service Access support)
- New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING)
- Add SuspensionReason (for KMS related suspension)
- Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled

PiperOrigin-RevId: 487492758

Source-Link: googleapis/googleapis@5be5981

Source-Link: googleapis/googleapis-gen@ab0e217
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update path to snippet metadata json

* chore: Update gapic-generator-python to v1.6.1

PiperOrigin-RevId: 488036204

Source-Link: googleapis/googleapis@08f275f

Source-Link: googleapis/googleapis-gen@555c094
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add compact placement feature for node pools

Use a compact placement policy to specify that nodes within the node pool should be placed in closer physical proximity to each other within a zone. Having nodes closer to each other can reduce network latency between nodes, which can be useful for tightly-coupled batch workloads.

PiperOrigin-RevId: 488490422

Source-Link: googleapis/googleapis@452324b

Source-Link: googleapis/googleapis-gen@008d00f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4ZDAwZjYxOWY4MzE5ZWI1ODRmMjZkYTU2YzFjYTI2ZTY1YmNkNiJ9

* 🦉 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>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people committed Nov 22, 2022
1 parent 82fff0b commit 944001d
Show file tree
Hide file tree
Showing 34 changed files with 2,803 additions and 2,233 deletions.
1 change: 1 addition & 0 deletions .github/release-please.yml
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
@@ -0,0 +1,3 @@
{
".": "2.13.0"
}
1 change: 0 additions & 1 deletion docs/container_v1/types.rst
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Container v1 API

.. automodule:: google.cloud.container_v1.types
:members:
:undoc-members:
:show-inheritance:
1 change: 0 additions & 1 deletion docs/container_v1beta1/types.rst
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Container v1beta1 API

.. automodule:: google.cloud.container_v1beta1.types
:members:
:undoc-members:
:show-inheritance:
8 changes: 8 additions & 0 deletions google/cloud/container/__init__.py
Expand Up @@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.container import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.container_v1.services.cluster_manager.async_client import (
ClusterManagerAsyncClient,
Expand Down Expand Up @@ -51,6 +55,7 @@
DeleteNodePoolRequest,
DnsCacheConfig,
DNSConfig,
GatewayAPIConfig,
GcePersistentDiskCsiDriverConfig,
GcfsConfig,
GcpFilestoreCsiDriverConfig,
Expand Down Expand Up @@ -123,6 +128,7 @@
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
ResourceLabels,
ResourceLimit,
ResourceUsageExportConfig,
RollbackNodePoolUpgradeRequest,
Expand Down Expand Up @@ -194,6 +200,7 @@
"DeleteNodePoolRequest",
"DnsCacheConfig",
"DNSConfig",
"GatewayAPIConfig",
"GcePersistentDiskCsiDriverConfig",
"GcfsConfig",
"GcpFilestoreCsiDriverConfig",
Expand Down Expand Up @@ -263,6 +270,7 @@
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
"ResourceLabels",
"ResourceLimit",
"ResourceUsageExportConfig",
"RollbackNodePoolUpgradeRequest",
Expand Down
16 changes: 16 additions & 0 deletions google/cloud/container/gapic_version.py
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.13.0" # {x-release-please-version}
8 changes: 8 additions & 0 deletions google/cloud/container_v1/__init__.py
Expand Up @@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.container import gapic_version as package_version

__version__ = package_version.__version__


from .services.cluster_manager import ClusterManagerAsyncClient, ClusterManagerClient
from .types.cluster_service import (
Expand Down Expand Up @@ -46,6 +50,7 @@
DeleteNodePoolRequest,
DnsCacheConfig,
DNSConfig,
GatewayAPIConfig,
GcePersistentDiskCsiDriverConfig,
GcfsConfig,
GcpFilestoreCsiDriverConfig,
Expand Down Expand Up @@ -118,6 +123,7 @@
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
ResourceLabels,
ResourceLimit,
ResourceUsageExportConfig,
RollbackNodePoolUpgradeRequest,
Expand Down Expand Up @@ -191,6 +197,7 @@
"DeleteNodePoolRequest",
"DnsCacheConfig",
"GPUSharingConfig",
"GatewayAPIConfig",
"GcePersistentDiskCsiDriverConfig",
"GcfsConfig",
"GcpFilestoreCsiDriverConfig",
Expand Down Expand Up @@ -262,6 +269,7 @@
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
"ResourceLabels",
"ResourceLimit",
"ResourceUsageExportConfig",
"RollbackNodePoolUpgradeRequest",
Expand Down

0 comments on commit 944001d

Please sign in to comment.