vkcs.MlplatformSparkK8s
Explore with Pulumi AI
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:
- Availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- Cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - Ip
Pool string - required string → ID of the ip pool. Changing this creates a new resource
- Network
Id string - required string → ID of the network. Changing this creates a new resource
- Node
Groups List<MlplatformSpark K8s Node Group> - list → Cluster's node groups configuration
- Registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- Delete
After doubleInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- Environment
Variables 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'sregion
. - Spark
Configuration 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
- Subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- Suspend
After doubleInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- Timeouts
Mlplatform
Spark K8s Timeouts
- Availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- Cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - Ip
Pool string - required string → ID of the ip pool. Changing this creates a new resource
- Network
Id string - required string → ID of the network. Changing this creates a new resource
- Node
Groups []MlplatformSpark K8s Node Group Args - list → Cluster's node groups configuration
- Registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- Delete
After float64Inactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- Environment
Variables 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'sregion
. - Spark
Configuration 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
- Subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- Suspend
After float64Inactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- Timeouts
Mlplatform
Spark K8s Timeouts Args
- availability
Zone String - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode String - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - ip
Pool String - required string → ID of the ip pool. Changing this creates a new resource
- network
Id String - required string → ID of the network. Changing this creates a new resource
- node
Groups List<MlplatformSpark K8s Node Group> - list → Cluster's node groups configuration
- registry
Id String - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- delete
After DoubleInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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'sregion
. - spark
Configuration 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
- subnet
Id String - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After DoubleInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts
- availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - ip
Pool string - required string → ID of the ip pool. Changing this creates a new resource
- network
Id string - required string → ID of the network. Changing this creates a new resource
- node
Groups MlplatformSpark K8s Node Group[] - list → Cluster's node groups configuration
- registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- delete
After numberInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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'sregion
. - spark
Configuration 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
- subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After numberInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts
- 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
orPROD
. 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[MlplatformSpark K8s Node Group Args] - 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_ floatinactive_ min - 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'sregion
. - 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_ floatinactive_ min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts Args
- availability
Zone String - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode String - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - ip
Pool String - required string → ID of the ip pool. Changing this creates a new resource
- network
Id String - required string → ID of the network. Changing this creates a new resource
- node
Groups List<Property Map> - list → Cluster's node groups configuration
- registry
Id String - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- delete
After NumberInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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'sregion
. - spark
Configuration 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
- subnet
Id String - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After NumberInactive Min - 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:
- Control
Instance stringId - string → ID of the control instance
- History
Server stringUrl - string → URL of the history server
- Id string
- The provider-assigned unique ID for this managed resource.
- Inactive
Min double - number → Current time of cluster inactivity, in minutes
- S3Bucket
Name string - string → S3 bucket name
- Control
Instance stringId - string → ID of the control instance
- History
Server stringUrl - string → URL of the history server
- Id string
- The provider-assigned unique ID for this managed resource.
- Inactive
Min float64 - number → Current time of cluster inactivity, in minutes
- S3Bucket
Name string - string → S3 bucket name
- control
Instance StringId - string → ID of the control instance
- history
Server StringUrl - string → URL of the history server
- id String
- The provider-assigned unique ID for this managed resource.
- inactive
Min Double - number → Current time of cluster inactivity, in minutes
- s3Bucket
Name String - string → S3 bucket name
- control
Instance stringId - string → ID of the control instance
- history
Server stringUrl - string → URL of the history server
- id string
- The provider-assigned unique ID for this managed resource.
- inactive
Min number - number → Current time of cluster inactivity, in minutes
- s3Bucket
Name string - string → S3 bucket name
- control_
instance_ strid - string → ID of the control instance
- history_
server_ strurl - 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_ strname - string → S3 bucket name
- control
Instance StringId - string → ID of the control instance
- history
Server StringUrl - string → URL of the history server
- id String
- The provider-assigned unique ID for this managed resource.
- inactive
Min Number - number → Current time of cluster inactivity, in minutes
- s3Bucket
Name 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.
- Availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- Cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - Control
Instance stringId - string → ID of the control instance
- Delete
After doubleInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- Environment
Variables 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
- History
Server stringUrl - string → URL of the history server
- Inactive
Min double - number → Current time of cluster inactivity, in minutes
- Ip
Pool 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
- Network
Id string - required string → ID of the network. Changing this creates a new resource
- Node
Groups List<MlplatformSpark K8s Node Group> - list → Cluster's node groups configuration
- Region string
- optional string → The
region
in which ML Platform client is obtained, defaults to the provider'sregion
. - Registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- S3Bucket
Name string - string → S3 bucket name
- Spark
Configuration 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
- Subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- Suspend
After doubleInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- Timeouts
Mlplatform
Spark K8s Timeouts
- Availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- Cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - Control
Instance stringId - string → ID of the control instance
- Delete
After float64Inactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- Environment
Variables 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
- History
Server stringUrl - string → URL of the history server
- Inactive
Min float64 - number → Current time of cluster inactivity, in minutes
- Ip
Pool 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
- Network
Id string - required string → ID of the network. Changing this creates a new resource
- Node
Groups []MlplatformSpark K8s Node Group Args - list → Cluster's node groups configuration
- Region string
- optional string → The
region
in which ML Platform client is obtained, defaults to the provider'sregion
. - Registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- S3Bucket
Name string - string → S3 bucket name
- Spark
Configuration 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
- Subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- Suspend
After float64Inactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- Timeouts
Mlplatform
Spark K8s Timeouts Args
- availability
Zone String - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode String - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - control
Instance StringId - string → ID of the control instance
- delete
After DoubleInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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
- history
Server StringUrl - string → URL of the history server
- inactive
Min Double - number → Current time of cluster inactivity, in minutes
- ip
Pool 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
- network
Id String - required string → ID of the network. Changing this creates a new resource
- node
Groups List<MlplatformSpark K8s Node Group> - list → Cluster's node groups configuration
- region String
- optional string → The
region
in which ML Platform client is obtained, defaults to the provider'sregion
. - registry
Id String - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- s3Bucket
Name String - string → S3 bucket name
- spark
Configuration 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
- subnet
Id String - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After DoubleInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts
- availability
Zone string - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode string - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - control
Instance stringId - string → ID of the control instance
- delete
After numberInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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
- history
Server stringUrl - string → URL of the history server
- inactive
Min number - number → Current time of cluster inactivity, in minutes
- ip
Pool 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
- network
Id string - required string → ID of the network. Changing this creates a new resource
- node
Groups MlplatformSpark K8s Node Group[] - list → Cluster's node groups configuration
- region string
- optional string → The
region
in which ML Platform client is obtained, defaults to the provider'sregion
. - registry
Id string - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- s3Bucket
Name string - string → S3 bucket name
- spark
Configuration 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
- subnet
Id string - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After numberInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts
- 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
orPROD
. Changing this creates a new resource - control_
instance_ strid - string → ID of the control instance
- delete_
after_ floatinactive_ min - 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_ strurl - 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[MlplatformSpark K8s Node Group Args] - list → Cluster's node groups configuration
- region str
- optional string → The
region
in which ML Platform client is obtained, defaults to the provider'sregion
. - registry_
id str - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- s3_
bucket_ strname - 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_ floatinactive_ min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts
Mlplatform
Spark K8s Timeouts Args
- availability
Zone String - required string → The availability zone in which to create the resource. Changing this creates a new resource
- cluster
Mode String - required string → Cluster Mode. Should be
DEV
orPROD
. Changing this creates a new resource - control
Instance StringId - string → ID of the control instance
- delete
After NumberInactive Min - optional number → Timeout of cluster inactivity before deletion, in minutes. Changing this creates a new resource
- environment
Variables 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
- history
Server StringUrl - string → URL of the history server
- inactive
Min Number - number → Current time of cluster inactivity, in minutes
- ip
Pool 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
- network
Id String - required string → ID of the network. Changing this creates a new resource
- node
Groups 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'sregion
. - registry
Id String - required string → ID of the K8S registry to use with cluster. Changing this creates a new resource
- s3Bucket
Name String - string → S3 bucket name
- spark
Configuration 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
- subnet
Id String - optional string → ID of the subnet. Changing this creates a new resource
- suspend
After NumberInactive Min - optional number → Timeout of cluster inactivity before suspending, in minutes. Changing this creates a new resource
- timeouts Property Map
Supporting Types
MlplatformSparkK8sNodeGroup, MlplatformSparkK8sNodeGroupArgs
- Autoscaling
Enabled bool - required boolean → Enables autoscaling for node group
- Flavor
Id string - required string → ID of the flavor to be used in nodes
- Max
Nodes double - optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
- Min
Nodes double - optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
- Node
Count double - optional number → Count of nodes in node group
- Autoscaling
Enabled bool - required boolean → Enables autoscaling for node group
- Flavor
Id string - required string → ID of the flavor to be used in nodes
- Max
Nodes float64 - optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
- Min
Nodes float64 - optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
- Node
Count float64 - optional number → Count of nodes in node group
- autoscaling
Enabled Boolean - required boolean → Enables autoscaling for node group
- flavor
Id String - required string → ID of the flavor to be used in nodes
- max
Nodes Double - optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
- min
Nodes Double - optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
- node
Count Double - optional number → Count of nodes in node group
- autoscaling
Enabled boolean - required boolean → Enables autoscaling for node group
- flavor
Id string - required string → ID of the flavor to be used in nodes
- max
Nodes number - optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
- min
Nodes number - optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
- node
Count 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
- autoscaling
Enabled Boolean - required boolean → Enables autoscaling for node group
- flavor
Id String - required string → ID of the flavor to be used in nodes
- max
Nodes Number - optional number → Maximum number of nodes in node group. It is used only when autoscaling is enabled
- min
Nodes Number - optional number → Minimum count of nodes in node group. It is used only when autoscaling is enabled
- node
Count 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.