| Package | Description |
|---|---|
| com.google.api.services.container.model |
| Modifier and Type | Method and Description |
|---|---|
NodeConfig |
NodeConfig.clone() |
NodeConfig |
NodePool.getConfig()
The node configuration of the pool.
|
NodeConfig |
Cluster.getNodeConfig()
Parameters used in creating the cluster's nodes.
|
NodeConfig |
NodeConfig.set(String fieldName,
Object value) |
NodeConfig |
NodeConfig.setAccelerators(List<AcceleratorConfig> accelerators)
A list of hardware accelerators to be attached to each node.
|
NodeConfig |
NodeConfig.setDiskSizeGb(Integer diskSizeGb)
Size of the disk attached to each node, specified in GB.
|
NodeConfig |
NodeConfig.setDiskType(String diskType)
Type of the disk attached to each node (e.g.
|
NodeConfig |
NodeConfig.setImageType(String imageType)
The image type to use for this node.
|
NodeConfig |
NodeConfig.setLabels(Map<String,String> labels)
The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
NodeConfig |
NodeConfig.setLocalSsdCount(Integer localSsdCount)
The number of local SSD disks to be attached to the node.
|
NodeConfig |
NodeConfig.setMachineType(String machineType)
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g.
|
NodeConfig |
NodeConfig.setMetadata(Map<String,String> metadata)
The metadata key/value pairs assigned to instances in the cluster.
|
NodeConfig |
NodeConfig.setMinCpuPlatform(String minCpuPlatform)
Minimum CPU platform to be used by this instance.
|
NodeConfig |
NodeConfig.setOauthScopes(List<String> oauthScopes)
The set of Google API scopes to be made available on all of the node VMs under the "default"
service account.
|
NodeConfig |
NodeConfig.setPreemptible(Boolean preemptible)
Whether the nodes are created as preemptible VM instances.
|
NodeConfig |
NodeConfig.setReservationAffinity(ReservationAffinity reservationAffinity)
The optional reservation affinity.
|
NodeConfig |
NodeConfig.setSandboxConfig(SandboxConfig sandboxConfig)
Sandbox configuration for this node.
|
NodeConfig |
NodeConfig.setServiceAccount(String serviceAccount)
The Google Cloud Platform Service Account to be used by the node VMs.
|
NodeConfig |
NodeConfig.setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig)
Shielded Instance options.
|
NodeConfig |
NodeConfig.setTags(List<String> tags)
The list of instance tags applied to all nodes.
|
NodeConfig |
NodeConfig.setTaints(List<NodeTaint> taints)
List of kubernetes taints to be applied to each node.
|
NodeConfig |
NodeConfig.setWorkloadMetadataConfig(WorkloadMetadataConfig workloadMetadataConfig)
The workload metadata configuration for this node.
|
| Modifier and Type | Method and Description |
|---|---|
NodePool |
NodePool.setConfig(NodeConfig config)
The node configuration of the pool.
|
Cluster |
Cluster.setNodeConfig(NodeConfig nodeConfig)
Parameters used in creating the cluster's nodes.
|
Copyright © 2011–2020 Google. All rights reserved.