K8s Cluster
Provides an EDAS K8s cluster resource. For information about EDAS K8s Cluster and how to use it, seeWhat is EDAS K8s Cluster.
NOTE: Available in 1.93.0+
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.edas.K8sCluster;
import com.pulumi.alicloud.edas.K8sClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new K8sCluster("default", K8sClusterArgs.builder()
.csClusterId("xxxx-xxx-xxx")
.build());
}
}
Content copied to clipboard
Import
EDAS cluster can be imported using the id, e.g.
$ pulumi import alicloud:edas/k8sCluster:K8sCluster cluster cluster_id
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
The ID of the namespace where you want to import. You can call the ListUserDefineRegion operation to query the namespace ID.
Link copied to clipboard