1. Packages
  2. Vkcs Provider
  3. API Docs
  4. MlplatformSparkK8s
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.MlplatformSparkK8s

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a ML Platform Spark K8S cluster resource.

    New since v0.7.0.

    Create MlplatformSparkK8s Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MlplatformSparkK8s(name: string, args: MlplatformSparkK8sArgs, opts?: CustomResourceOptions);
    @overload
    def MlplatformSparkK8s(resource_name: str,
                           args: MlplatformSparkK8sArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def MlplatformSparkK8s(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           registry_id: Optional[str] = None,
                           network_id: Optional[str] = None,
                           node_groups: Optional[Sequence[MlplatformSparkK8sNodeGroupArgs]] = None,
                           availability_zone: Optional[str] = None,
                           ip_pool: Optional[str] = None,
                           cluster_mode: Optional[str] = None,
                           suspend_after_inactive_min: Optional[float] = None,
                           region: Optional[str] = None,
                           name: Optional[str] = None,
                           environment_variables: Optional[str] = None,
                           spark_configuration: Optional[str] = None,
                           subnet_id: Optional[str] = None,
                           delete_after_inactive_min: Optional[float] = None,
                           timeouts: Optional[MlplatformSparkK8sTimeoutsArgs] = None)
    func NewMlplatformSparkK8s(ctx *Context, name string, args MlplatformSparkK8sArgs, opts ...ResourceOption) (*MlplatformSparkK8s, error)
    public MlplatformSparkK8s(string name, MlplatformSparkK8sArgs args, CustomResourceOptions? opts = null)
    public MlplatformSparkK8s(String name, MlplatformSparkK8sArgs args)
    public MlplatformSparkK8s(String name, MlplatformSparkK8sArgs args, CustomResourceOptions options)
    
    type: vkcs:MlplatformSparkK8s
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MlplatformSparkK8sArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MlplatformSparkK8sArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MlplatformSparkK8sArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MlplatformSparkK8sArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MlplatformSparkK8sArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var mlplatformSparkK8sResource = new Vkcs.MlplatformSparkK8s("mlplatformSparkK8sResource", new()
    {
        RegistryId = "string",
        NetworkId = "string",
        NodeGroups = new[]
        {
            new Vkcs.Inputs.MlplatformSparkK8sNodeGroupArgs
            {
                AutoscalingEnabled = false,
                FlavorId = "string",
                MaxNodes = 0,
                MinNodes = 0,
                NodeCount = 0,
            },
        },
        AvailabilityZone = "string",
        IpPool = "string",
        ClusterMode = "string",
        SuspendAfterInactiveMin = 0,
        Region = "string",
        Name = "string",
        EnvironmentVariables = "string",
        SparkConfiguration = "string",
        SubnetId = "string",
        DeleteAfterInactiveMin = 0,
        Timeouts = new Vkcs.Inputs.MlplatformSparkK8sTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := vkcs.NewMlplatformSparkK8s(ctx, "mlplatformSparkK8sResource", &vkcs.MlplatformSparkK8sArgs{
    	RegistryId: pulumi.String("string"),
    	NetworkId:  pulumi.String("string"),
    	NodeGroups: vkcs.MlplatformSparkK8sNodeGroupArray{
    		&vkcs.MlplatformSparkK8sNodeGroupArgs{
    			AutoscalingEnabled: pulumi.Bool(false),
    			FlavorId:           pulumi.String("string"),
    			MaxNodes:           pulumi.Float64(0),
    			MinNodes:           pulumi.Float64(0),
    			NodeCount:          pulumi.Float64(0),
    		},
    	},
    	AvailabilityZone:        pulumi.String("string"),
    	IpPool:                  pulumi.String("string"),
    	ClusterMode:             pulumi.String("string"),
    	SuspendAfterInactiveMin: pulumi.Float64(0),
    	Region:                  pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	EnvironmentVariables:    pulumi.String("string"),
    	SparkConfiguration:      pulumi.String("string"),
    	SubnetId:                pulumi.String("string"),
    	DeleteAfterInactiveMin:  pulumi.Float64(0),
    	Timeouts: &vkcs.MlplatformSparkK8sTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var mlplatformSparkK8sResource = new MlplatformSparkK8s("mlplatformSparkK8sResource", MlplatformSparkK8sArgs.builder()
        .registryId("string")
        .networkId("string")
        .nodeGroups(MlplatformSparkK8sNodeGroupArgs.builder()
            .autoscalingEnabled(false)
            .flavorId("string")
            .maxNodes(0)
            .minNodes(0)
            .nodeCount(0)
            .build())
        .availabilityZone("string")
        .ipPool("string")
        .clusterMode("string")
        .suspendAfterInactiveMin(0)
        .region("string")
        .name("string")
        .environmentVariables("string")
        .sparkConfiguration("string")
        .subnetId("string")
        .deleteAfterInactiveMin(0)
        .timeouts(MlplatformSparkK8sTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    mlplatform_spark_k8s_resource = vkcs.MlplatformSparkK8s("mlplatformSparkK8sResource",
        registry_id="string",
        network_id="string",
        node_groups=[{
            "autoscaling_enabled": False,
            "flavor_id": "string",
            "max_nodes": 0,
            "min_nodes": 0,
            "node_count": 0,
        }],
        availability_zone="string",
        ip_pool="string",
        cluster_mode="string",
        suspend_after_inactive_min=0,
        region="string",
        name="string",
        environment_variables="string",
        spark_configuration="string",
        subnet_id="string",
        delete_after_inactive_min=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const mlplatformSparkK8sResource = new vkcs.MlplatformSparkK8s("mlplatformSparkK8sResource", {
        registryId: "string",
        networkId: "string",
        nodeGroups: [{
            autoscalingEnabled: false,
            flavorId: "string",
            maxNodes: 0,
            minNodes: 0,
            nodeCount: 0,
        }],
        availabilityZone: "string",
        ipPool: "string",
        clusterMode: "string",
        suspendAfterInactiveMin: 0,
        region: "string",
        name: "string",
        environmentVariables: "string",
        sparkConfiguration: "string",
        subnetId: "string",
        deleteAfterInactiveMin: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: vkcs:MlplatformSparkK8s
    properties:
        availabilityZone: string
        clusterMode: string
        deleteAfterInactiveMin: 0
        environmentVariables: string
        ipPool: string
        name: string
        networkId: string
        nodeGroups:
            - autoscalingEnabled: false
              flavorId: string
              maxNodes: 0
              minNodes: 0
              nodeCount: 0
        region: string
        registryId: string
        sparkConfiguration: string
        subnetId: string
        suspendAfterInactiveMin: 0
        timeouts:
            create: string
            delete: string
            update: string
    

    MlplatformSparkK8s Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MlplatformSparkK8s resource accepts the following input properties:

    AvailabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    ClusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    IpPool string
    required string → ID of the ip pool. Changing this creates a new resource
    NetworkId string
    required string → ID of the network. Changing this creates a new resource
    NodeGroups List<MlplatformSparkK8sNodeGroup>
    list → Cluster's node groups configuration
    RegistryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    DeleteAfterInactiveMin double
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    EnvironmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    Name string
    required string → Cluster name. Changing this creates a new resource
    Region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    SparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    SubnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    SuspendAfterInactiveMin double
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    Timeouts MlplatformSparkK8sTimeouts
    AvailabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    ClusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    IpPool string
    required string → ID of the ip pool. Changing this creates a new resource
    NetworkId string
    required string → ID of the network. Changing this creates a new resource
    NodeGroups []MlplatformSparkK8sNodeGroupArgs
    list → Cluster's node groups configuration
    RegistryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    DeleteAfterInactiveMin float64
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    EnvironmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    Name string
    required string → Cluster name. Changing this creates a new resource
    Region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    SparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    SubnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    SuspendAfterInactiveMin float64
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    Timeouts MlplatformSparkK8sTimeoutsArgs
    availabilityZone String
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode String
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ipPool String
    required string → ID of the ip pool. Changing this creates a new resource
    networkId String
    required string → ID of the network. Changing this creates a new resource
    nodeGroups List<MlplatformSparkK8sNodeGroup>
    list → Cluster's node groups configuration
    registryId String
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    deleteAfterInactiveMin Double
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables String
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    name String
    required string → Cluster name. Changing this creates a new resource
    region String
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    sparkConfiguration String
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId String
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin Double
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeouts
    availabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ipPool string
    required string → ID of the ip pool. Changing this creates a new resource
    networkId string
    required string → ID of the network. Changing this creates a new resource
    nodeGroups MlplatformSparkK8sNodeGroup[]
    list → Cluster's node groups configuration
    registryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    deleteAfterInactiveMin number
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    name string
    required string → Cluster name. Changing this creates a new resource
    region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    sparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin number
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeouts
    availability_zone str
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    cluster_mode str
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ip_pool str
    required string → ID of the ip pool. Changing this creates a new resource
    network_id str
    required string → ID of the network. Changing this creates a new resource
    node_groups Sequence[MlplatformSparkK8sNodeGroupArgs]
    list → Cluster's node groups configuration
    registry_id str
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    delete_after_inactive_min float
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environment_variables str
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    name str
    required string → Cluster name. Changing this creates a new resource
    region str
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    spark_configuration str
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnet_id str
    optional string → ID of the subnet. Changing this creates a new resource
    suspend_after_inactive_min float
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeoutsArgs
    availabilityZone String
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode String
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ipPool String
    required string → ID of the ip pool. Changing this creates a new resource
    networkId String
    required string → ID of the network. Changing this creates a new resource
    nodeGroups List<Property Map>
    list → Cluster's node groups configuration
    registryId String
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    deleteAfterInactiveMin Number
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables String
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    name String
    required string → Cluster name. Changing this creates a new resource
    region String
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    sparkConfiguration String
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId String
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin Number
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MlplatformSparkK8s resource produces the following output properties:

    ControlInstanceId string
    string → ID of the control instance
    HistoryServerUrl string
    string → URL of the history server
    Id string
    The provider-assigned unique ID for this managed resource.
    InactiveMin double
    number → Current time of cluster inactivity, in minutes
    S3BucketName string
    string → S3 bucket name
    ControlInstanceId string
    string → ID of the control instance
    HistoryServerUrl string
    string → URL of the history server
    Id string
    The provider-assigned unique ID for this managed resource.
    InactiveMin float64
    number → Current time of cluster inactivity, in minutes
    S3BucketName string
    string → S3 bucket name
    controlInstanceId String
    string → ID of the control instance
    historyServerUrl String
    string → URL of the history server
    id String
    The provider-assigned unique ID for this managed resource.
    inactiveMin Double
    number → Current time of cluster inactivity, in minutes
    s3BucketName String
    string → S3 bucket name
    controlInstanceId string
    string → ID of the control instance
    historyServerUrl string
    string → URL of the history server
    id string
    The provider-assigned unique ID for this managed resource.
    inactiveMin number
    number → Current time of cluster inactivity, in minutes
    s3BucketName string
    string → S3 bucket name
    control_instance_id str
    string → ID of the control instance
    history_server_url str
    string → URL of the history server
    id str
    The provider-assigned unique ID for this managed resource.
    inactive_min float
    number → Current time of cluster inactivity, in minutes
    s3_bucket_name str
    string → S3 bucket name
    controlInstanceId String
    string → ID of the control instance
    historyServerUrl String
    string → URL of the history server
    id String
    The provider-assigned unique ID for this managed resource.
    inactiveMin Number
    number → Current time of cluster inactivity, in minutes
    s3BucketName String
    string → S3 bucket name

    Look up Existing MlplatformSparkK8s Resource

    Get an existing MlplatformSparkK8s resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MlplatformSparkK8sState, opts?: CustomResourceOptions): MlplatformSparkK8s
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            cluster_mode: Optional[str] = None,
            control_instance_id: Optional[str] = None,
            delete_after_inactive_min: Optional[float] = None,
            environment_variables: Optional[str] = None,
            history_server_url: Optional[str] = None,
            inactive_min: Optional[float] = None,
            ip_pool: Optional[str] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None,
            node_groups: Optional[Sequence[MlplatformSparkK8sNodeGroupArgs]] = None,
            region: Optional[str] = None,
            registry_id: Optional[str] = None,
            s3_bucket_name: Optional[str] = None,
            spark_configuration: Optional[str] = None,
            subnet_id: Optional[str] = None,
            suspend_after_inactive_min: Optional[float] = None,
            timeouts: Optional[MlplatformSparkK8sTimeoutsArgs] = None) -> MlplatformSparkK8s
    func GetMlplatformSparkK8s(ctx *Context, name string, id IDInput, state *MlplatformSparkK8sState, opts ...ResourceOption) (*MlplatformSparkK8s, error)
    public static MlplatformSparkK8s Get(string name, Input<string> id, MlplatformSparkK8sState? state, CustomResourceOptions? opts = null)
    public static MlplatformSparkK8s get(String name, Output<String> id, MlplatformSparkK8sState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:MlplatformSparkK8s    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    ClusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ControlInstanceId string
    string → ID of the control instance
    DeleteAfterInactiveMin double
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    EnvironmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    HistoryServerUrl string
    string → URL of the history server
    InactiveMin double
    number → Current time of cluster inactivity, in minutes
    IpPool string
    required string → ID of the ip pool. Changing this creates a new resource
    Name string
    required string → Cluster name. Changing this creates a new resource
    NetworkId string
    required string → ID of the network. Changing this creates a new resource
    NodeGroups List<MlplatformSparkK8sNodeGroup>
    list → Cluster's node groups configuration
    Region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    RegistryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    S3BucketName string
    string → S3 bucket name
    SparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    SubnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    SuspendAfterInactiveMin double
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    Timeouts MlplatformSparkK8sTimeouts
    AvailabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    ClusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    ControlInstanceId string
    string → ID of the control instance
    DeleteAfterInactiveMin float64
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    EnvironmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    HistoryServerUrl string
    string → URL of the history server
    InactiveMin float64
    number → Current time of cluster inactivity, in minutes
    IpPool string
    required string → ID of the ip pool. Changing this creates a new resource
    Name string
    required string → Cluster name. Changing this creates a new resource
    NetworkId string
    required string → ID of the network. Changing this creates a new resource
    NodeGroups []MlplatformSparkK8sNodeGroupArgs
    list → Cluster's node groups configuration
    Region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    RegistryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    S3BucketName string
    string → S3 bucket name
    SparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    SubnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    SuspendAfterInactiveMin float64
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    Timeouts MlplatformSparkK8sTimeoutsArgs
    availabilityZone String
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode String
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    controlInstanceId String
    string → ID of the control instance
    deleteAfterInactiveMin Double
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables String
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    historyServerUrl String
    string → URL of the history server
    inactiveMin Double
    number → Current time of cluster inactivity, in minutes
    ipPool String
    required string → ID of the ip pool. Changing this creates a new resource
    name String
    required string → Cluster name. Changing this creates a new resource
    networkId String
    required string → ID of the network. Changing this creates a new resource
    nodeGroups List<MlplatformSparkK8sNodeGroup>
    list → Cluster's node groups configuration
    region String
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    registryId String
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    s3BucketName String
    string → S3 bucket name
    sparkConfiguration String
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId String
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin Double
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeouts
    availabilityZone string
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode string
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    controlInstanceId string
    string → ID of the control instance
    deleteAfterInactiveMin number
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables string
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    historyServerUrl string
    string → URL of the history server
    inactiveMin number
    number → Current time of cluster inactivity, in minutes
    ipPool string
    required string → ID of the ip pool. Changing this creates a new resource
    name string
    required string → Cluster name. Changing this creates a new resource
    networkId string
    required string → ID of the network. Changing this creates a new resource
    nodeGroups MlplatformSparkK8sNodeGroup[]
    list → Cluster's node groups configuration
    region string
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    registryId string
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    s3BucketName string
    string → S3 bucket name
    sparkConfiguration string
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId string
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin number
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeouts
    availability_zone str
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    cluster_mode str
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    control_instance_id str
    string → ID of the control instance
    delete_after_inactive_min float
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environment_variables str
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    history_server_url str
    string → URL of the history server
    inactive_min float
    number → Current time of cluster inactivity, in minutes
    ip_pool str
    required string → ID of the ip pool. Changing this creates a new resource
    name str
    required string → Cluster name. Changing this creates a new resource
    network_id str
    required string → ID of the network. Changing this creates a new resource
    node_groups Sequence[MlplatformSparkK8sNodeGroupArgs]
    list → Cluster's node groups configuration
    region str
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    registry_id str
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    s3_bucket_name str
    string → S3 bucket name
    spark_configuration str
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnet_id str
    optional string → ID of the subnet. Changing this creates a new resource
    suspend_after_inactive_min float
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts MlplatformSparkK8sTimeoutsArgs
    availabilityZone String
    required string → The availability zone in which to create the resource. Changing this creates a new resource
    clusterMode String
    required string → Cluster Mode. Should be DEV or PROD. Changing this creates a new resource
    controlInstanceId String
    string → ID of the control instance
    deleteAfterInactiveMin Number
    optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
    environmentVariables String
    optional string → Environment variables. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    historyServerUrl String
    string → URL of the history server
    inactiveMin Number
    number → Current time of cluster inactivity, in minutes
    ipPool String
    required string → ID of the ip pool. Changing this creates a new resource
    name String
    required string → Cluster name. Changing this creates a new resource
    networkId String
    required string → ID of the network. Changing this creates a new resource
    nodeGroups List<Property Map>
    list → Cluster's node groups configuration
    region String
    optional string → The region in which ML Platform client is obtained, defaults to the provider's region.
    registryId String
    required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
    s3BucketName String
    string → S3 bucket name
    sparkConfiguration String
    optional string → Spark configuration. Read more about this parameter here: https://cloud.vk.com/docs/en/ml/spark-to-k8s/instructions/create. Changing this creates a new resource
    subnetId String
    optional string → ID of the subnet. Changing this creates a new resource
    suspendAfterInactiveMin Number
    optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
    timeouts Property Map

    Supporting Types

    MlplatformSparkK8sNodeGroup, MlplatformSparkK8sNodeGroupArgs

    AutoscalingEnabled bool
    required boolean → Enables autoscaling for node group
    FlavorId string
    required string → ID of the flavor to be used in nodes
    MaxNodes double
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    MinNodes double
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    NodeCount double
    optional number → Count of nodes in node group
    AutoscalingEnabled bool
    required boolean → Enables autoscaling for node group
    FlavorId string
    required string → ID of the flavor to be used in nodes
    MaxNodes float64
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    MinNodes float64
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    NodeCount float64
    optional number → Count of nodes in node group
    autoscalingEnabled Boolean
    required boolean → Enables autoscaling for node group
    flavorId String
    required string → ID of the flavor to be used in nodes
    maxNodes Double
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    minNodes Double
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    nodeCount Double
    optional number → Count of nodes in node group
    autoscalingEnabled boolean
    required boolean → Enables autoscaling for node group
    flavorId string
    required string → ID of the flavor to be used in nodes
    maxNodes number
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    minNodes number
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    nodeCount number
    optional number → Count of nodes in node group
    autoscaling_enabled bool
    required boolean → Enables autoscaling for node group
    flavor_id str
    required string → ID of the flavor to be used in nodes
    max_nodes float
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    min_nodes float
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    node_count float
    optional number → Count of nodes in node group
    autoscalingEnabled Boolean
    required boolean → Enables autoscaling for node group
    flavorId String
    required string → ID of the flavor to be used in nodes
    maxNodes Number
    optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
    minNodes Number
    optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
    nodeCount Number
    optional number → Count of nodes in node group

    MlplatformSparkK8sTimeouts, MlplatformSparkK8sTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    ML Platform Spark K8S cluster can be imported using the id, e.g.

    $ pulumi import vkcs:index/mlplatformSparkK8s:MlplatformSparkK8s mysparkk8s 32cc47a5-9726-454f-bffa-6723f21fbbc7
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs