Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.linode;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.linode.LkeNodePoolArgs;
import com.pulumi.linode.Utilities;
import com.pulumi.linode.inputs.LkeNodePoolState;
import com.pulumi.linode.outputs.LkeNodePoolAutoscaler;
import com.pulumi.linode.outputs.LkeNodePoolNode;
import com.pulumi.linode.outputs.LkeNodePoolTaint;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* ## Import
*
* LKE Node Pools can be imported using the `cluster_id,id`, e.g.
*
* ```sh
* $ pulumi import linode:index/lkeNodePool:LkeNodePool my_pool 150003,12345
* ```
*
*/
@ResourceType(type="linode:index/lkeNodePool:LkeNodePool")
public class LkeNodePool extends com.pulumi.resources.CustomResource {
@Export(name="autoscaler", refs={LkeNodePoolAutoscaler.class}, tree="[0]")
private Output* @Nullable */ LkeNodePoolAutoscaler> autoscaler;
public Output> autoscaler() {
return Codegen.optional(this.autoscaler);
}
/**
* ID of the LKE Cluster where to create the current Node Pool.
*
*/
@Export(name="clusterId", refs={Integer.class}, tree="[0]")
private Output clusterId;
/**
* @return ID of the LKE Cluster where to create the current Node Pool.
*
*/
public Output clusterId() {
return this.clusterId;
}
/**
* The disk encryption policy for nodes in this pool.
*
*/
@Export(name="diskEncryption", refs={String.class}, tree="[0]")
private Output diskEncryption;
/**
* @return The disk encryption policy for nodes in this pool.
*
*/
public Output diskEncryption() {
return this.diskEncryption;
}
/**
* A map attribute containing key-value pairs to be added as labels to nodes in the node pool. Labels help classify your nodes and to easily select subsets of objects. To learn more, review [Add Labels and Taints to your LKE Node Pools](https://www.linode.com/docs/products/compute/kubernetes/guides/deploy-and-manage-cluster-with-the-linode-api/#add-labels-and-taints-to-your-lke-node-pools).
*
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
*
* * `taint` - (Optional) Kubernetes taints to add to node pool nodes. Taints help control how pods are scheduled onto nodes, specifically allowing them to repel certain pods. To learn more, review [Add Labels and Taints to your LKE Node Pools](https://www.linode.com/docs/products/compute/kubernetes/guides/deploy-and-manage-cluster-with-the-linode-api/#add-labels-and-taints-to-your-lke-node-pools).
*
*/
@Export(name="labels", refs={Map.class,String.class}, tree="[0,1,1]")
private Output