Skip to main content

@swamp/gcp/container

v2026.04.23.1

Google Cloud container infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudcontainercloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/container

clusters_nodepools.tsv2026.04.23.1

Global Arguments

ArgumentTypeDescription
nodePool?objectDenotes that nodes belonging to this node pool are Autopilot nodes.
parent?stringThe parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.
accelerators?arrayThe number of the accelerator cards exposed to an instance.
bootDisk?objectDisk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
confidentialNodes?objectDefines the type of technology used by the confidential node.
consolidationDelay?stringConsolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.
containerdConfig?objectList of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `10.0.1.2:5000`
diskSizeGb?stringOptional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
diskType?stringOptional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
etag?stringThe current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.
fastSocket?objectWhether Fast Socket features are enabled in the node pool.
flexStart?booleanFlex Start flag for enabling Flex Start VM.
gcfsConfig?objectWhether to use GCFS.
gvnic?objectWhether gVNIC features are enabled in the node pool.
imageType?stringRequired. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
kubeletConfig?objectOptional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.
labels?objectMap of node label keys and node label values.
linuxNodeConfig?objectEnables enhanced time synchronization using PTP-KVM.
locations?arrayThe desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.
loggingConfig?objectLogging variant deployed on nodes.
machineType?stringOptional. The desired [Google Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.
maxRunDuration?stringThe maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
name?stringThe name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
nodeDrainConfig?objectWhether to respect PDB during node pool deletion.
nodeNetworkConfig?objectImmutable. The accelerator network profile for the node pool. For now the only valid value is "auto". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc.
nodeVersion?stringRequired. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
queuedProvisioning?objectDenotes that this node pool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.
resourceLabels?objectMap of node label keys and node label values.
resourceManagerTags?objectTagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`
storagePools?arrayList of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.
tags?objectList of network tags.
taints?objectEffect for taint.
upgradeSettings?objectOptional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.
windowsNodeConfig?objectOSVersion specifies the Windows node config to be used on the node.
workloadMetadataConfig?objectMode is the configuration for how to expose metadata to workloads running on the node pool.
createCreate a nodePools
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a nodePools
ArgumentTypeDescription
identifierstringThe name of the nodePools
updateUpdate nodePools attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the nodePools
ArgumentTypeDescription
identifierstringThe name of the nodePools
syncSync nodePools state from GCP
complete_upgradecomplete upgrade
fetch_node_pool_upgrade_infofetch node pool upgrade info
rollbackrollback
ArgumentTypeDescription
clusterId?any
name?any
nodePoolId?any
projectId?any
respectPdb?any
zone?any
set_autoscalingset autoscaling
ArgumentTypeDescription
autoscaling?any
clusterId?any
name?any
nodePoolId?any
projectId?any
zone?any
set_managementset management
ArgumentTypeDescription
clusterId?any
management?any
name?any
nodePoolId?any
projectId?any
zone?any
set_sizeset size
ArgumentTypeDescription
clusterId?any
name?any
nodeCount?any
nodePoolId?any
projectId?any
zone?any
clusters.tsv2026.04.23.1

Global Arguments

ArgumentTypeDescription
cluster?objectWhether Cloud Run addon is enabled for this cluster.
parent?stringThe parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
name?stringThe name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
update?objectOutput only. Name of a range.
createCreate a clusters
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a clusters
ArgumentTypeDescription
identifierstringThe name of the clusters
updateUpdate clusters attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the clusters
ArgumentTypeDescription
identifierstringThe name of the clusters
syncSync clusters state from GCP
check_autopilot_compatibilitycheck autopilot compatibility
complete_ip_rotationcomplete ip rotation
ArgumentTypeDescription
clusterId?any
name?any
projectId?any
zone?any
fetch_cluster_upgrade_infofetch cluster upgrade info
get_jwksget jwks
set_addonsset addons
ArgumentTypeDescription
addonsConfig?any
clusterId?any
name?any
projectId?any
zone?any
set_legacy_abacset legacy abac
ArgumentTypeDescription
clusterId?any
enabled?any
name?any
projectId?any
zone?any
set_locationsset locations
ArgumentTypeDescription
clusterId?any
locations?any
name?any
projectId?any
zone?any
set_loggingset logging
ArgumentTypeDescription
clusterId?any
loggingService?any
name?any
projectId?any
zone?any
set_maintenance_policyset maintenance policy
ArgumentTypeDescription
clusterId?any
maintenancePolicy?any
name?any
projectId?any
zone?any
set_master_authset master auth
ArgumentTypeDescription
action?any
clusterId?any
name?any
projectId?any
update?any
zone?any
set_monitoringset monitoring
ArgumentTypeDescription
clusterId?any
monitoringService?any
name?any
projectId?any
zone?any
set_network_policyset network policy
ArgumentTypeDescription
clusterId?any
name?any
networkPolicy?any
projectId?any
zone?any
set_resource_labelsset resource labels
ArgumentTypeDescription
clusterId?any
labelFingerprint?any
name?any
projectId?any
resourceLabels?any
zone?any
start_ip_rotationstart ip rotation
ArgumentTypeDescription
clusterId?any
name?any
projectId?any
rotateCredentials?any
zone?any
update_masterupdate master
ArgumentTypeDescription
clusterId?any
masterVersion?any
name?any
projectId?any
zone?any
aggregated_usablesubnetworks.tsv2026.04.23.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a usableSubnetworks
ArgumentTypeDescription
identifierstringThe name of the usableSubnetworks
syncSync usableSubnetworks state from GCP