1. Packages
  2. Packages
  3. CoreWeave Provider
  4. API Docs
  5. getCksCluster
Viewing docs for CoreWeave v1.0.1
published on Monday, May 18, 2026 by Pulumi
coreweave logo
Viewing docs for CoreWeave v1.0.1
published on Monday, May 18, 2026 by Pulumi

    Query information about an existing CoreWeave Kubernetes Service (CKS) cluster by ID. See the CKS API reference.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as coreweave from "@pulumi/coreweave";
    
    const _default = coreweave.getCksCluster({
        id: "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
    });
    
    import pulumi
    import pulumi_coreweave as coreweave
    
    default = coreweave.get_cks_cluster(id="1063bce6-6e5b-4b0a-b73a-7e6106b2a77c")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := coreweave.GetCksCluster(ctx, &coreweave.LookupCksClusterArgs{
    			Id: "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CoreWeave = Pulumi.CoreWeave;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = CoreWeave.GetCksCluster.Invoke(new()
        {
            Id = "1063bce6-6e5b-4b0a-b73a-7e6106b2a77c",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coreweave.CoreweaveFunctions;
    import com.pulumi.coreweave.inputs.GetCksClusterArgs;
    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) {
            final var default = CoreweaveFunctions.getCksCluster(GetCksClusterArgs.builder()
                .id("1063bce6-6e5b-4b0a-b73a-7e6106b2a77c")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: coreweave:getCksCluster
          arguments:
            id: 1063bce6-6e5b-4b0a-b73a-7e6106b2a77c
    
    Example coming soon!
    

    Using getCksCluster

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCksCluster(args: GetCksClusterArgs, opts?: InvokeOptions): Promise<GetCksClusterResult>
    function getCksClusterOutput(args: GetCksClusterOutputArgs, opts?: InvokeOptions): Output<GetCksClusterResult>
    def get_cks_cluster(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCksClusterResult
    def get_cks_cluster_output(id: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCksClusterResult]
    func LookupCksCluster(ctx *Context, args *LookupCksClusterArgs, opts ...InvokeOption) (*LookupCksClusterResult, error)
    func LookupCksClusterOutput(ctx *Context, args *LookupCksClusterOutputArgs, opts ...InvokeOption) LookupCksClusterResultOutput

    > Note: This function is named LookupCksCluster in the Go SDK.

    public static class GetCksCluster 
    {
        public static Task<GetCksClusterResult> InvokeAsync(GetCksClusterArgs args, InvokeOptions? opts = null)
        public static Output<GetCksClusterResult> Invoke(GetCksClusterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCksClusterResult> getCksCluster(GetCksClusterArgs args, InvokeOptions options)
    public static Output<GetCksClusterResult> getCksCluster(GetCksClusterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: coreweave:index/getCksCluster:getCksCluster
      arguments:
        # arguments dictionary
    data "coreweave_getckscluster" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The ID of the cluster.
    Id string
    The ID of the cluster.
    id string
    The ID of the cluster.
    id String
    The ID of the cluster.
    id string
    The ID of the cluster.
    id str
    The ID of the cluster.
    id String
    The ID of the cluster.

    getCksCluster Result

    The following output properties are available:

    AdditionalServerSans List<string>
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    ApiServerEndpoint string
    The API server endpoint of the cluster.
    AuditPolicy string
    The audit policy of the cluster.
    AuthnWebhook Pulumi.CoreWeave.Outputs.GetCksClusterAuthnWebhook
    The authentication webhook configuration of the cluster.
    AuthzWebhook Pulumi.CoreWeave.Outputs.GetCksClusterAuthzWebhook
    The authorization webhook configuration of the cluster.
    Id string
    The ID of the cluster.
    InternalLbCidrNames List<string>
    The internal load balancer CIDR names of the cluster.
    InternalLbCidrNamesV6s List<string>
    The IPv6 internal load balancer CIDR names of the cluster.
    Name string
    The name of the cluster.
    NodePortRange Pulumi.CoreWeave.Outputs.GetCksClusterNodePortRange
    The Kubernetes Service NodePort range.
    Oidc Pulumi.CoreWeave.Outputs.GetCksClusterOidc
    The OIDC configuration of the cluster.
    PodCidrName string
    The pod CIDR name of the cluster.
    PodCidrNameV6 string
    The IPv6 pod CIDR name of the cluster.
    Public bool
    Whether the cluster is public.
    ServiceAccountOidcIssuerUrl string
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    ServiceCidrName string
    The service CIDR name of the cluster.
    ServiceCidrNameV6 string
    The IPv6 service CIDR name of the cluster.
    SharedStorageClusterId string
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    Status string
    The status of the cluster.
    Version string
    The version of the cluster.
    VpcId string
    The VPC ID of the cluster.
    Zone string
    The zone of the cluster.
    AdditionalServerSans []string
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    ApiServerEndpoint string
    The API server endpoint of the cluster.
    AuditPolicy string
    The audit policy of the cluster.
    AuthnWebhook GetCksClusterAuthnWebhook
    The authentication webhook configuration of the cluster.
    AuthzWebhook GetCksClusterAuthzWebhook
    The authorization webhook configuration of the cluster.
    Id string
    The ID of the cluster.
    InternalLbCidrNames []string
    The internal load balancer CIDR names of the cluster.
    InternalLbCidrNamesV6s []string
    The IPv6 internal load balancer CIDR names of the cluster.
    Name string
    The name of the cluster.
    NodePortRange GetCksClusterNodePortRange
    The Kubernetes Service NodePort range.
    Oidc GetCksClusterOidc
    The OIDC configuration of the cluster.
    PodCidrName string
    The pod CIDR name of the cluster.
    PodCidrNameV6 string
    The IPv6 pod CIDR name of the cluster.
    Public bool
    Whether the cluster is public.
    ServiceAccountOidcIssuerUrl string
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    ServiceCidrName string
    The service CIDR name of the cluster.
    ServiceCidrNameV6 string
    The IPv6 service CIDR name of the cluster.
    SharedStorageClusterId string
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    Status string
    The status of the cluster.
    Version string
    The version of the cluster.
    VpcId string
    The VPC ID of the cluster.
    Zone string
    The zone of the cluster.
    additional_server_sans list(string)
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    api_server_endpoint string
    The API server endpoint of the cluster.
    audit_policy string
    The audit policy of the cluster.
    authn_webhook object
    The authentication webhook configuration of the cluster.
    authz_webhook object
    The authorization webhook configuration of the cluster.
    id string
    The ID of the cluster.
    internal_lb_cidr_names list(string)
    The internal load balancer CIDR names of the cluster.
    internal_lb_cidr_names_v6s list(string)
    The IPv6 internal load balancer CIDR names of the cluster.
    name string
    The name of the cluster.
    node_port_range object
    The Kubernetes Service NodePort range.
    oidc object
    The OIDC configuration of the cluster.
    pod_cidr_name string
    The pod CIDR name of the cluster.
    pod_cidr_name_v6 string
    The IPv6 pod CIDR name of the cluster.
    public bool
    Whether the cluster is public.
    service_account_oidc_issuer_url string
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    service_cidr_name string
    The service CIDR name of the cluster.
    service_cidr_name_v6 string
    The IPv6 service CIDR name of the cluster.
    shared_storage_cluster_id string
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    status string
    The status of the cluster.
    version string
    The version of the cluster.
    vpc_id string
    The VPC ID of the cluster.
    zone string
    The zone of the cluster.
    additionalServerSans List<String>
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    apiServerEndpoint String
    The API server endpoint of the cluster.
    auditPolicy String
    The audit policy of the cluster.
    authnWebhook GetCksClusterAuthnWebhook
    The authentication webhook configuration of the cluster.
    authzWebhook GetCksClusterAuthzWebhook
    The authorization webhook configuration of the cluster.
    id String
    The ID of the cluster.
    internalLbCidrNames List<String>
    The internal load balancer CIDR names of the cluster.
    internalLbCidrNamesV6s List<String>
    The IPv6 internal load balancer CIDR names of the cluster.
    name String
    The name of the cluster.
    nodePortRange GetCksClusterNodePortRange
    The Kubernetes Service NodePort range.
    oidc GetCksClusterOidc
    The OIDC configuration of the cluster.
    podCidrName String
    The pod CIDR name of the cluster.
    podCidrNameV6 String
    The IPv6 pod CIDR name of the cluster.
    public_ Boolean
    Whether the cluster is public.
    serviceAccountOidcIssuerUrl String
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    serviceCidrName String
    The service CIDR name of the cluster.
    serviceCidrNameV6 String
    The IPv6 service CIDR name of the cluster.
    sharedStorageClusterId String
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    status String
    The status of the cluster.
    version String
    The version of the cluster.
    vpcId String
    The VPC ID of the cluster.
    zone String
    The zone of the cluster.
    additionalServerSans string[]
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    apiServerEndpoint string
    The API server endpoint of the cluster.
    auditPolicy string
    The audit policy of the cluster.
    authnWebhook GetCksClusterAuthnWebhook
    The authentication webhook configuration of the cluster.
    authzWebhook GetCksClusterAuthzWebhook
    The authorization webhook configuration of the cluster.
    id string
    The ID of the cluster.
    internalLbCidrNames string[]
    The internal load balancer CIDR names of the cluster.
    internalLbCidrNamesV6s string[]
    The IPv6 internal load balancer CIDR names of the cluster.
    name string
    The name of the cluster.
    nodePortRange GetCksClusterNodePortRange
    The Kubernetes Service NodePort range.
    oidc GetCksClusterOidc
    The OIDC configuration of the cluster.
    podCidrName string
    The pod CIDR name of the cluster.
    podCidrNameV6 string
    The IPv6 pod CIDR name of the cluster.
    public boolean
    Whether the cluster is public.
    serviceAccountOidcIssuerUrl string
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    serviceCidrName string
    The service CIDR name of the cluster.
    serviceCidrNameV6 string
    The IPv6 service CIDR name of the cluster.
    sharedStorageClusterId string
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    status string
    The status of the cluster.
    version string
    The version of the cluster.
    vpcId string
    The VPC ID of the cluster.
    zone string
    The zone of the cluster.
    additional_server_sans Sequence[str]
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    api_server_endpoint str
    The API server endpoint of the cluster.
    audit_policy str
    The audit policy of the cluster.
    authn_webhook GetCksClusterAuthnWebhook
    The authentication webhook configuration of the cluster.
    authz_webhook GetCksClusterAuthzWebhook
    The authorization webhook configuration of the cluster.
    id str
    The ID of the cluster.
    internal_lb_cidr_names Sequence[str]
    The internal load balancer CIDR names of the cluster.
    internal_lb_cidr_names_v6s Sequence[str]
    The IPv6 internal load balancer CIDR names of the cluster.
    name str
    The name of the cluster.
    node_port_range GetCksClusterNodePortRange
    The Kubernetes Service NodePort range.
    oidc GetCksClusterOidc
    The OIDC configuration of the cluster.
    pod_cidr_name str
    The pod CIDR name of the cluster.
    pod_cidr_name_v6 str
    The IPv6 pod CIDR name of the cluster.
    public bool
    Whether the cluster is public.
    service_account_oidc_issuer_url str
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    service_cidr_name str
    The service CIDR name of the cluster.
    service_cidr_name_v6 str
    The IPv6 service CIDR name of the cluster.
    shared_storage_cluster_id str
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    status str
    The status of the cluster.
    version str
    The version of the cluster.
    vpc_id str
    The VPC ID of the cluster.
    zone str
    The zone of the cluster.
    additionalServerSans List<String>
    Additional Subject Alternative Names (SANs) included in the Kubernetes API server TLS certificate.
    apiServerEndpoint String
    The API server endpoint of the cluster.
    auditPolicy String
    The audit policy of the cluster.
    authnWebhook Property Map
    The authentication webhook configuration of the cluster.
    authzWebhook Property Map
    The authorization webhook configuration of the cluster.
    id String
    The ID of the cluster.
    internalLbCidrNames List<String>
    The internal load balancer CIDR names of the cluster.
    internalLbCidrNamesV6s List<String>
    The IPv6 internal load balancer CIDR names of the cluster.
    name String
    The name of the cluster.
    nodePortRange Property Map
    The Kubernetes Service NodePort range.
    oidc Property Map
    The OIDC configuration of the cluster.
    podCidrName String
    The pod CIDR name of the cluster.
    podCidrNameV6 String
    The IPv6 pod CIDR name of the cluster.
    public Boolean
    Whether the cluster is public.
    serviceAccountOidcIssuerUrl String
    The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the --service-account-issuer flag on the kube-apiserver.
    serviceCidrName String
    The service CIDR name of the cluster.
    serviceCidrNameV6 String
    The IPv6 service CIDR name of the cluster.
    sharedStorageClusterId String
    The clusterId of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
    status String
    The status of the cluster.
    version String
    The version of the cluster.
    vpcId String
    The VPC ID of the cluster.
    zone String
    The zone of the cluster.

    Supporting Types

    GetCksClusterAuthnWebhook

    Ca string
    The CA certificate of the authentication webhook.
    Server string
    The server URL of the authentication webhook.
    Ca string
    The CA certificate of the authentication webhook.
    Server string
    The server URL of the authentication webhook.
    ca string
    The CA certificate of the authentication webhook.
    server string
    The server URL of the authentication webhook.
    ca String
    The CA certificate of the authentication webhook.
    server String
    The server URL of the authentication webhook.
    ca string
    The CA certificate of the authentication webhook.
    server string
    The server URL of the authentication webhook.
    ca str
    The CA certificate of the authentication webhook.
    server str
    The server URL of the authentication webhook.
    ca String
    The CA certificate of the authentication webhook.
    server String
    The server URL of the authentication webhook.

    GetCksClusterAuthzWebhook

    Ca string
    The CA certificate of the authorization webhook.
    Server string
    The server URL of the authorization webhook.
    Ca string
    The CA certificate of the authorization webhook.
    Server string
    The server URL of the authorization webhook.
    ca string
    The CA certificate of the authorization webhook.
    server string
    The server URL of the authorization webhook.
    ca String
    The CA certificate of the authorization webhook.
    server String
    The server URL of the authorization webhook.
    ca string
    The CA certificate of the authorization webhook.
    server string
    The server URL of the authorization webhook.
    ca str
    The CA certificate of the authorization webhook.
    server str
    The server URL of the authorization webhook.
    ca String
    The CA certificate of the authorization webhook.
    server String
    The server URL of the authorization webhook.

    GetCksClusterNodePortRange

    End int
    End of the NodePort range.
    Start int
    Start of the NodePort range.
    End int
    End of the NodePort range.
    Start int
    Start of the NodePort range.
    end number
    End of the NodePort range.
    start number
    Start of the NodePort range.
    end Integer
    End of the NodePort range.
    start Integer
    Start of the NodePort range.
    end number
    End of the NodePort range.
    start number
    Start of the NodePort range.
    end int
    End of the NodePort range.
    start int
    Start of the NodePort range.
    end Number
    End of the NodePort range.
    start Number
    Start of the NodePort range.

    GetCksClusterOidc

    ClientId string
    The client ID of the OIDC configuration.
    IssuerUrl string
    The issuer URL of the OIDC configuration.
    ClientId string
    The client ID of the OIDC configuration.
    IssuerUrl string
    The issuer URL of the OIDC configuration.
    client_id string
    The client ID of the OIDC configuration.
    issuer_url string
    The issuer URL of the OIDC configuration.
    clientId String
    The client ID of the OIDC configuration.
    issuerUrl String
    The issuer URL of the OIDC configuration.
    clientId string
    The client ID of the OIDC configuration.
    issuerUrl string
    The issuer URL of the OIDC configuration.
    client_id str
    The client ID of the OIDC configuration.
    issuer_url str
    The issuer URL of the OIDC configuration.
    clientId String
    The client ID of the OIDC configuration.
    issuerUrl String
    The issuer URL of the OIDC configuration.

    Package Details

    Repository
    coreweave pulumi/pulumi-coreweave
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the coreweave Terraform Provider.
    coreweave logo
    Viewing docs for CoreWeave v1.0.1
    published on Monday, May 18, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.