mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
gcloud: Thu Jan 23 10:02:29 UTC 2025
This commit is contained in:
parent
4a036681b1
commit
861d4011dc
116 changed files with 1271 additions and 2834 deletions
|
|
@ -27,6 +27,7 @@ SYNOPSIS
|
|||
[--logging-variant=LOGGING_VARIANT]
|
||||
[--machine-type=MACHINE_TYPE, -m MACHINE_TYPE]
|
||||
[--max-pods-per-node=MAX_PODS_PER_NODE]
|
||||
[--max-run-duration=MAX_RUN_DURATION]
|
||||
[--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1]
|
||||
[--max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE]
|
||||
[--metadata=KEY=VALUE,[KEY=VALUE,...]]
|
||||
|
|
@ -349,6 +350,13 @@ FLAGS
|
|||
|
||||
Must be used in conjunction with '--enable-ip-alias'.
|
||||
|
||||
--max-run-duration=MAX_RUN_DURATION
|
||||
Limit the runtime of each node in the node pool to the specified
|
||||
duration.
|
||||
|
||||
$ gcloud container node-pools create node-pool-1 \
|
||||
--cluster=example-cluster --max-run-duration=3600s
|
||||
|
||||
--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1
|
||||
Number of extra (surge) nodes to be created on each upgrade of the node
|
||||
pool.
|
||||
|
|
@ -685,6 +693,28 @@ FLAGS
|
|||
podPidsLimit integer (The value must be
|
||||
greater than or equal to 1024 and
|
||||
less than 4194304.)
|
||||
containerLogMaxSize positive number plus unit suffix
|
||||
(e.g., '100Mi', '0.2Gi'. The
|
||||
value must be between 10Mi and
|
||||
500Mi.)
|
||||
containerLogMaxFiles integer (The value must be
|
||||
between [2, 10].)
|
||||
imageGcLowThresholdPercent integer (The value must be
|
||||
between [10, 85], and lower than
|
||||
imageGcHighThresholdPercent.)
|
||||
imageGcHighThresholdPercent integer (The value must be
|
||||
between [10, 85], and greater
|
||||
than imageGcLowThresholdPercent.)
|
||||
imageMinimumGcAge interval (e.g., '100s', '1m'. The
|
||||
value must be less than '2m'.)
|
||||
imageMaximumGcAge interval (e.g., '100s', '1m'. The
|
||||
value must be greater than
|
||||
imageMinimumGcAge.)
|
||||
allowedUnsafeSysctls list of sysctls (Allowlisted
|
||||
groups: 'kernel.shm*',
|
||||
'kernel.msg*', 'kernel.sem',
|
||||
'fs.mqueue.*', and 'net.*', and
|
||||
sysctls under the groups.)
|
||||
|
||||
List of supported sysctls in 'linuxConfig'.
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ SYNOPSIS
|
|||
| --enable-image-streaming | --enable-insecure-kubelet-readonly-port
|
||||
| --enable-private-nodes | --enable-queued-provisioning
|
||||
| --labels=[KEY=VALUE,...] | --logging-variant=LOGGING_VARIANT
|
||||
| --max-run-duration=MAX_RUN_DURATION
|
||||
| --network-performance-configs=[PROPERTY=VALUE,...]
|
||||
| --node-labels=[NODE_LABEL,...] | --node-locations=ZONE,[ZONE,...]
|
||||
| --node-taints=[NODE_TAINT,...]
|
||||
|
|
@ -170,6 +171,13 @@ REQUIRED FLAGS
|
|||
'MAX_THROUGHPUT' variant requests more node resources and is able
|
||||
to achieve logging throughput up to 10MB per sec.
|
||||
|
||||
--max-run-duration=MAX_RUN_DURATION
|
||||
Limit the runtime of each node in the node pool to the specified
|
||||
duration.
|
||||
|
||||
$ gcloud container node-pools update node-pool-1 \
|
||||
--cluster=example-cluster --max-run-duration=3600s
|
||||
|
||||
--network-performance-configs=[PROPERTY=VALUE,...]
|
||||
Configures network performance settings for the node pool. If this
|
||||
flag is not specified, the pool will be created with its default
|
||||
|
|
@ -287,6 +295,31 @@ REQUIRED FLAGS
|
|||
podPidsLimit integer (The value must be
|
||||
greater than or equal to 1024
|
||||
and less than 4194304.)
|
||||
containerLogMaxSize positive number plus unit
|
||||
suffix (e.g., '100Mi', '0.2Gi'.
|
||||
The value must be between 10Mi
|
||||
and 500Mi.)
|
||||
containerLogMaxFiles integer (The value must be
|
||||
between [2, 10].)
|
||||
imageGcLowThresholdPercent integer (The value must be
|
||||
between [10, 85], and lower
|
||||
than
|
||||
imageGcHighThresholdPercent.)
|
||||
imageGcHighThresholdPercent integer (The value must be
|
||||
between [10, 85], and greater
|
||||
than
|
||||
imageGcLowThresholdPercent.)
|
||||
imageMinimumGcAge interval (e.g., '100s', '1m'.
|
||||
The value must be less than
|
||||
'2m'.)
|
||||
imageMaximumGcAge interval (e.g., '100s', '1m'.
|
||||
The value must be greater than
|
||||
imageMinimumGcAge.)
|
||||
allowedUnsafeSysctls list of sysctls (Allowlisted
|
||||
groups: 'kernel.shm*',
|
||||
'kernel.msg*', 'kernel.sem',
|
||||
'fs.mqueue.*', and 'net.*', and
|
||||
sysctls under the groups.)
|
||||
|
||||
List of supported sysctls in 'linuxConfig'.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue