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

Commit

Permalink
docs: Minor formatting (#411)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0

PiperOrigin-RevId: 563436317

Source-Link: https://togithub.com/googleapis/googleapis/commit/42fd37b18d706f6f51f52f209973b3b2c28f509a

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 13, 2023
1 parent 1072d00 commit 96ddca6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
8 changes: 7 additions & 1 deletion google/cloud/container_v1/types/cluster_service.py
Expand Up @@ -426,6 +426,7 @@ class NodeKubeletConfig(proto.Message):
problems while still having your pods to be in
Guaranteed QoS class by specifying the CPU
limits.
The default value is 'true' if unspecified.
cpu_cfs_quota_period (str):
Set the CPU CFS quota period value 'cpu.cfs_period_us'.
Expand All @@ -437,6 +438,7 @@ class NodeKubeletConfig(proto.Message):
pod_pids_limit (int):
Set the Pod PID limits. See
https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
Controls the maximum number of processes allowed
to run in a pod. The value must be greater than
or equal to 1024 and less than 4194304.
Expand Down Expand Up @@ -491,6 +493,7 @@ class NodeConfig(proto.Message):
Size of the disk attached to each node,
specified in GB. The smallest allowed disk size
is 10GB.
If unspecified, the default disk size is 100GB.
oauth_scopes (MutableSequence[str]):
The set of Google API scopes to be made available on all of
Expand Down Expand Up @@ -590,7 +593,6 @@ class NodeConfig(proto.Message):
preemptible (bool):
Whether the nodes are created as preemptible
VM instances. See:
https://cloud.google.com/compute/docs/instances/preemptible
for more information about preemptible VM
instances.
Expand Down Expand Up @@ -1423,6 +1425,7 @@ class MasterAuth(proto.Message):
clusters v1.6.0 and later, basic authentication
can be disabled by leaving username unspecified
(or setting it to the empty string).
Warning: basic authentication is deprecated, and
will be removed in GKE control plane versions
1.19 and newer. For a list of recommended
Expand Down Expand Up @@ -6593,6 +6596,7 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
Size of the disk attached to each node,
specified in GB. The smallest allowed disk size
is 10GB.
If unspecified, the default disk size is 100GB.
disk_type (str):
Type of the disk attached to each node (e.g.
Expand Down Expand Up @@ -7827,6 +7831,7 @@ class CheckAutopilotCompatibilityResponse(proto.Message):
class ReleaseChannel(proto.Message):
r"""ReleaseChannel indicates which release channel a cluster is
subscribed to. Release channels are arranged in order of risk.
When a cluster is subscribed to a release channel, Google
maintains both the master version and the node version. Node
auto-upgrade defaults to true and cannot be disabled.
Expand All @@ -7847,6 +7852,7 @@ class Channel(proto.Enum):
RAPID channel is offered on an early access
basis for customers who want to test new
releases.
WARNING: Versions available in the RAPID Channel
may be subject to unresolved issues with no
known workaround and are not subject to any
Expand Down
Expand Up @@ -2841,13 +2841,15 @@ async def sample_get_node_pool():
(maxUnavailable + maxSurge) determines
the level of parallelism (how many nodes
are being upgraded at the same time).
Note: upgrades inevitably introduce some
disruption since workloads need to be
moved from old nodes to new, upgraded
ones. Even if maxUnavailable=0, this
holds true. (Disruption stays within the
limits of PodDisruptionBudget, if it is
configured.)
Consider a hypothetical node pool with 5
nodes having maxSurge=2,
maxUnavailable=1. This means the upgrade
Expand Down
Expand Up @@ -2999,13 +2999,15 @@ def sample_get_node_pool():
(maxUnavailable + maxSurge) determines
the level of parallelism (how many nodes
are being upgraded at the same time).
Note: upgrades inevitably introduce some
disruption since workloads need to be
moved from old nodes to new, upgraded
ones. Even if maxUnavailable=0, this
holds true. (Disruption stays within the
limits of PodDisruptionBudget, if it is
configured.)
Consider a hypothetical node pool with 5
nodes having maxSurge=2,
maxUnavailable=1. This means the upgrade
Expand Down
9 changes: 8 additions & 1 deletion google/cloud/container_v1beta1/types/cluster_service.py
Expand Up @@ -424,6 +424,7 @@ class NodeKubeletConfig(proto.Message):
problems while still having your pods to be in
Guaranteed QoS class by specifying the CPU
limits.
The default value is 'true' if unspecified.
cpu_cfs_quota_period (str):
Set the CPU CFS quota period value 'cpu.cfs_period_us'.
Expand All @@ -435,6 +436,7 @@ class NodeKubeletConfig(proto.Message):
pod_pids_limit (int):
Set the Pod PID limits. See
https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
Controls the maximum number of processes allowed
to run in a pod. The value must be greater than
or equal to 1024 and less than 4194304.
Expand Down Expand Up @@ -489,6 +491,7 @@ class NodeConfig(proto.Message):
Size of the disk attached to each node,
specified in GB. The smallest allowed disk size
is 10GB.
If unspecified, the default disk size is 100GB.
oauth_scopes (MutableSequence[str]):
The set of Google API scopes to be made available on all of
Expand Down Expand Up @@ -588,7 +591,6 @@ class NodeConfig(proto.Message):
preemptible (bool):
Whether the nodes are created as preemptible
VM instances. See:
https://cloud.google.com/compute/docs/instances/preemptible
for more information about preemptible VM
instances.
Expand Down Expand Up @@ -1575,6 +1577,7 @@ class MasterAuth(proto.Message):
clusters v1.6.0 and later, basic authentication
can be disabled by leaving username unspecified
(or setting it to the empty string).
Warning: basic authentication is deprecated, and
will be removed in GKE control plane versions
1.19 and newer. For a list of recommended
Expand Down Expand Up @@ -3829,6 +3832,7 @@ class ClusterUpdate(proto.Message):
The Kubernetes version to change the master
to. The only valid value is the latest supported
version.
Users may specify either explicit versions
offered by Kubernetes Engine or version aliases,
which have the following behavior:
Expand Down Expand Up @@ -7292,6 +7296,7 @@ class AutoprovisioningNodePoolDefaults(proto.Message):
Size of the disk attached to each node,
specified in GB. The smallest allowed disk size
is 10GB.
If unspecified, the default disk size is 100GB.
disk_type (str):
Type of the disk attached to each node (e.g.
Expand Down Expand Up @@ -9272,6 +9277,7 @@ class CheckAutopilotCompatibilityResponse(proto.Message):
class ReleaseChannel(proto.Message):
r"""ReleaseChannel indicates which release channel a cluster is
subscribed to. Release channels are arranged in order of risk.
When a cluster is subscribed to a release channel, Google
maintains both the master version and the node version. Node
auto-upgrade defaults to true and cannot be disabled.
Expand All @@ -9292,6 +9298,7 @@ class Channel(proto.Enum):
RAPID channel is offered on an early access
basis for customers who want to test new
releases.
WARNING: Versions available in the RAPID Channel
may be subject to unresolved issues with no
known workaround and are not subject to any
Expand Down

0 comments on commit 96ddca6

Please sign in to comment.