Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [google-cloud-container] add Provisioning Request API #12030

Merged
merged 2 commits into from
Nov 17, 2023
Merged
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 @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -5638,6 +5638,9 @@ class NodePool(proto.Message):
on the value of node pool fields, and may be
sent on update requests to ensure the client has
an up-to-date value before proceeding.
queued_provisioning (google.cloud.container_v1.types.NodePool.QueuedProvisioning):
Specifies the configuration of queued
provisioning.
best_effort_provisioning (google.cloud.container_v1.types.BestEffortProvisioning):
Enable best effort provisioning for nodes
"""
Expand Down Expand Up @@ -5916,6 +5919,23 @@ class Type(proto.Enum):
number=3,
)

class QueuedProvisioning(proto.Message):
r"""QueuedProvisioning defines the queued provisioning used by
the node pool.

Attributes:
enabled (bool):
Denotes that this nodepool is QRM specific,
meaning nodes can be only obtained through
queuing via the Cluster Autoscaler
ProvisioningRequest API.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)

name: str = proto.Field(
proto.STRING,
number=1,
Expand Down Expand Up @@ -6002,6 +6022,11 @@ class Type(proto.Enum):
proto.STRING,
number=110,
)
queued_provisioning: QueuedProvisioning = proto.Field(
proto.MESSAGE,
number=112,
message=QueuedProvisioning,
)
best_effort_provisioning: "BestEffortProvisioning" = proto.Field(
proto.MESSAGE,
number=113,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.34.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.34.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.34.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Loading