Spotinst v3.96.0 published on Wednesday, Sep 25, 2024 by Pulumi
spotinst.gke.OceanImport
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";
const example = new spotinst.gke.OceanImport("example", {
clusterName: "example-cluster-name",
controllerClusterId: "example-controller-123124",
location: "us-central1-a",
minSize: 0,
maxSize: 2,
desiredCapacity: 0,
whitelists: [
"n1-standard-1",
"n1-standard-2",
],
backendServices: [{
serviceName: "example-backend-service",
locationType: "regional",
scheme: "INTERNAL",
namedPorts: [{
name: "http",
ports: [
"80",
"8080",
],
}],
}],
rootVolumeType: "pd-ssd",
shieldedInstanceConfig: {
enableSecureBoot: true,
enableIntegrityMonitoring: true,
},
useAsTemplateOnly: false,
});
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.gke.OceanImport("example",
cluster_name="example-cluster-name",
controller_cluster_id="example-controller-123124",
location="us-central1-a",
min_size=0,
max_size=2,
desired_capacity=0,
whitelists=[
"n1-standard-1",
"n1-standard-2",
],
backend_services=[{
"service_name": "example-backend-service",
"location_type": "regional",
"scheme": "INTERNAL",
"named_ports": [{
"name": "http",
"ports": [
"80",
"8080",
],
}],
}],
root_volume_type="pd-ssd",
shielded_instance_config={
"enable_secure_boot": True,
"enable_integrity_monitoring": True,
},
use_as_template_only=False)
package main
import (
"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/gke"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gke.NewOceanImport(ctx, "example", &gke.OceanImportArgs{
ClusterName: pulumi.String("example-cluster-name"),
ControllerClusterId: pulumi.String("example-controller-123124"),
Location: pulumi.String("us-central1-a"),
MinSize: pulumi.Int(0),
MaxSize: pulumi.Int(2),
DesiredCapacity: pulumi.Int(0),
Whitelists: pulumi.StringArray{
pulumi.String("n1-standard-1"),
pulumi.String("n1-standard-2"),
},
BackendServices: gke.OceanImportBackendServiceArray{
&gke.OceanImportBackendServiceArgs{
ServiceName: pulumi.String("example-backend-service"),
LocationType: pulumi.String("regional"),
Scheme: pulumi.String("INTERNAL"),
NamedPorts: gke.OceanImportBackendServiceNamedPortArray{
&gke.OceanImportBackendServiceNamedPortArgs{
Name: pulumi.String("http"),
Ports: pulumi.StringArray{
pulumi.String("80"),
pulumi.String("8080"),
},
},
},
},
},
RootVolumeType: pulumi.String("pd-ssd"),
ShieldedInstanceConfig: &gke.OceanImportShieldedInstanceConfigArgs{
EnableSecureBoot: pulumi.Bool(true),
EnableIntegrityMonitoring: pulumi.Bool(true),
},
UseAsTemplateOnly: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SpotInst = Pulumi.SpotInst;
return await Deployment.RunAsync(() =>
{
var example = new SpotInst.Gke.OceanImport("example", new()
{
ClusterName = "example-cluster-name",
ControllerClusterId = "example-controller-123124",
Location = "us-central1-a",
MinSize = 0,
MaxSize = 2,
DesiredCapacity = 0,
Whitelists = new[]
{
"n1-standard-1",
"n1-standard-2",
},
BackendServices = new[]
{
new SpotInst.Gke.Inputs.OceanImportBackendServiceArgs
{
ServiceName = "example-backend-service",
LocationType = "regional",
Scheme = "INTERNAL",
NamedPorts = new[]
{
new SpotInst.Gke.Inputs.OceanImportBackendServiceNamedPortArgs
{
Name = "http",
Ports = new[]
{
"80",
"8080",
},
},
},
},
},
RootVolumeType = "pd-ssd",
ShieldedInstanceConfig = new SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfigArgs
{
EnableSecureBoot = true,
EnableIntegrityMonitoring = true,
},
UseAsTemplateOnly = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.gke.OceanImport;
import com.pulumi.spotinst.gke.OceanImportArgs;
import com.pulumi.spotinst.gke.inputs.OceanImportBackendServiceArgs;
import com.pulumi.spotinst.gke.inputs.OceanImportShieldedInstanceConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new OceanImport("example", OceanImportArgs.builder()
.clusterName("example-cluster-name")
.controllerClusterId("example-controller-123124")
.location("us-central1-a")
.minSize(0)
.maxSize(2)
.desiredCapacity(0)
.whitelists(
"n1-standard-1",
"n1-standard-2")
.backendServices(OceanImportBackendServiceArgs.builder()
.serviceName("example-backend-service")
.locationType("regional")
.scheme("INTERNAL")
.namedPorts(OceanImportBackendServiceNamedPortArgs.builder()
.name("http")
.ports(
80,
8080)
.build())
.build())
.rootVolumeType("pd-ssd")
.shieldedInstanceConfig(OceanImportShieldedInstanceConfigArgs.builder()
.enableSecureBoot(true)
.enableIntegrityMonitoring(true)
.build())
.useAsTemplateOnly(false)
.build());
}
}
resources:
example:
type: spotinst:gke:OceanImport
properties:
clusterName: example-cluster-name
controllerClusterId: example-controller-123124
location: us-central1-a
minSize: 0
maxSize: 2
desiredCapacity: 0
whitelists:
- n1-standard-1
- n1-standard-2
backendServices:
- serviceName: example-backend-service
locationType: regional
scheme: INTERNAL
namedPorts:
- name: http
ports:
- 80
- 8080
rootVolumeType: pd-ssd
shieldedInstanceConfig:
enableSecureBoot: true
enableIntegrityMonitoring: true
useAsTemplateOnly: false
output "ocean_id" {
value = spotinst_ocean_gke_import.example.id
}
Create OceanImport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanImport(name: string, args: OceanImportArgs, opts?: CustomResourceOptions);
@overload
def OceanImport(resource_name: str,
args: OceanImportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanImport(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
location: Optional[str] = None,
min_size: Optional[int] = None,
root_volume_type: Optional[str] = None,
controller_cluster_id: Optional[str] = None,
desired_capacity: Optional[int] = None,
backend_services: Optional[Sequence[OceanImportBackendServiceArgs]] = None,
max_size: Optional[int] = None,
autoscaler: Optional[OceanImportAutoscalerArgs] = None,
blacklists: Optional[Sequence[str]] = None,
scheduled_tasks: Optional[Sequence[OceanImportScheduledTaskArgs]] = None,
shielded_instance_config: Optional[OceanImportShieldedInstanceConfigArgs] = None,
strategies: Optional[Sequence[OceanImportStrategyArgs]] = None,
update_policy: Optional[OceanImportUpdatePolicyArgs] = None,
use_as_template_only: Optional[bool] = None,
whitelists: Optional[Sequence[str]] = None)
func NewOceanImport(ctx *Context, name string, args OceanImportArgs, opts ...ResourceOption) (*OceanImport, error)
public OceanImport(string name, OceanImportArgs args, CustomResourceOptions? opts = null)
public OceanImport(String name, OceanImportArgs args)
public OceanImport(String name, OceanImportArgs args, CustomResourceOptions options)
type: spotinst:gke:OceanImport
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 OceanImportArgs
- 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 OceanImportArgs
- 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 OceanImportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanImportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanImportArgs
- 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 oceanImportResource = new SpotInst.Gke.OceanImport("oceanImportResource", new()
{
ClusterName = "string",
Location = "string",
MinSize = 0,
RootVolumeType = "string",
ControllerClusterId = "string",
DesiredCapacity = 0,
BackendServices = new[]
{
new SpotInst.Gke.Inputs.OceanImportBackendServiceArgs
{
ServiceName = "string",
LocationType = "string",
NamedPorts = new[]
{
new SpotInst.Gke.Inputs.OceanImportBackendServiceNamedPortArgs
{
Name = "string",
Ports = new[]
{
"string",
},
},
},
Scheme = "string",
},
},
MaxSize = 0,
Autoscaler = new SpotInst.Gke.Inputs.OceanImportAutoscalerArgs
{
AutoHeadroomPercentage = 0,
Cooldown = 0,
Down = new SpotInst.Gke.Inputs.OceanImportAutoscalerDownArgs
{
EvaluationPeriods = 0,
MaxScaleDownPercentage = 0,
},
EnableAutomaticAndManualHeadroom = false,
Headroom = new SpotInst.Gke.Inputs.OceanImportAutoscalerHeadroomArgs
{
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
NumOfUnits = 0,
},
IsAutoConfig = false,
IsEnabled = false,
ResourceLimits = new SpotInst.Gke.Inputs.OceanImportAutoscalerResourceLimitsArgs
{
MaxMemoryGib = 0,
MaxVcpu = 0,
},
},
Blacklists = new[]
{
"string",
},
ScheduledTasks = new[]
{
new SpotInst.Gke.Inputs.OceanImportScheduledTaskArgs
{
ShutdownHours = new SpotInst.Gke.Inputs.OceanImportScheduledTaskShutdownHoursArgs
{
TimeWindows = new[]
{
"string",
},
IsEnabled = false,
},
Tasks = new[]
{
new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskArgs
{
CronExpression = "string",
IsEnabled = false,
TaskType = "string",
TaskParameters = new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskTaskParametersArgs
{
ClusterRoll = new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
RespectPdb = false,
},
},
},
},
},
},
ShieldedInstanceConfig = new SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfigArgs
{
EnableIntegrityMonitoring = false,
EnableSecureBoot = false,
},
Strategies = new[]
{
new SpotInst.Gke.Inputs.OceanImportStrategyArgs
{
DrainingTimeout = 0,
PreemptiblePercentage = 0,
ProvisioningModel = "string",
ShouldUtilizeCommitments = false,
},
},
UpdatePolicy = new SpotInst.Gke.Inputs.OceanImportUpdatePolicyArgs
{
ShouldRoll = false,
ConditionedRoll = false,
RollConfig = new SpotInst.Gke.Inputs.OceanImportUpdatePolicyRollConfigArgs
{
BatchSizePercentage = 0,
BatchMinHealthyPercentage = 0,
LaunchSpecIds = new[]
{
"string",
},
RespectPdb = false,
},
},
UseAsTemplateOnly = false,
Whitelists = new[]
{
"string",
},
});
example, err := gke.NewOceanImport(ctx, "oceanImportResource", &gke.OceanImportArgs{
ClusterName: pulumi.String("string"),
Location: pulumi.String("string"),
MinSize: pulumi.Int(0),
RootVolumeType: pulumi.String("string"),
ControllerClusterId: pulumi.String("string"),
DesiredCapacity: pulumi.Int(0),
BackendServices: gke.OceanImportBackendServiceArray{
&gke.OceanImportBackendServiceArgs{
ServiceName: pulumi.String("string"),
LocationType: pulumi.String("string"),
NamedPorts: gke.OceanImportBackendServiceNamedPortArray{
&gke.OceanImportBackendServiceNamedPortArgs{
Name: pulumi.String("string"),
Ports: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Scheme: pulumi.String("string"),
},
},
MaxSize: pulumi.Int(0),
Autoscaler: &gke.OceanImportAutoscalerArgs{
AutoHeadroomPercentage: pulumi.Int(0),
Cooldown: pulumi.Int(0),
Down: &gke.OceanImportAutoscalerDownArgs{
EvaluationPeriods: pulumi.Int(0),
MaxScaleDownPercentage: pulumi.Float64(0),
},
EnableAutomaticAndManualHeadroom: pulumi.Bool(false),
Headroom: &gke.OceanImportAutoscalerHeadroomArgs{
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(0),
},
IsAutoConfig: pulumi.Bool(false),
IsEnabled: pulumi.Bool(false),
ResourceLimits: &gke.OceanImportAutoscalerResourceLimitsArgs{
MaxMemoryGib: pulumi.Int(0),
MaxVcpu: pulumi.Int(0),
},
},
Blacklists: pulumi.StringArray{
pulumi.String("string"),
},
ScheduledTasks: gke.OceanImportScheduledTaskArray{
&gke.OceanImportScheduledTaskArgs{
ShutdownHours: &gke.OceanImportScheduledTaskShutdownHoursArgs{
TimeWindows: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
},
Tasks: gke.OceanImportScheduledTaskTaskArray{
&gke.OceanImportScheduledTaskTaskArgs{
CronExpression: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
TaskType: pulumi.String("string"),
TaskParameters: &gke.OceanImportScheduledTaskTaskTaskParametersArgs{
ClusterRoll: &gke.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
RespectPdb: pulumi.Bool(false),
},
},
},
},
},
},
ShieldedInstanceConfig: &gke.OceanImportShieldedInstanceConfigArgs{
EnableIntegrityMonitoring: pulumi.Bool(false),
EnableSecureBoot: pulumi.Bool(false),
},
Strategies: gke.OceanImportStrategyArray{
&gke.OceanImportStrategyArgs{
DrainingTimeout: pulumi.Int(0),
PreemptiblePercentage: pulumi.Int(0),
ProvisioningModel: pulumi.String("string"),
ShouldUtilizeCommitments: pulumi.Bool(false),
},
},
UpdatePolicy: &gke.OceanImportUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
ConditionedRoll: pulumi.Bool(false),
RollConfig: &gke.OceanImportUpdatePolicyRollConfigArgs{
BatchSizePercentage: pulumi.Int(0),
BatchMinHealthyPercentage: pulumi.Int(0),
LaunchSpecIds: pulumi.StringArray{
pulumi.String("string"),
},
RespectPdb: pulumi.Bool(false),
},
},
UseAsTemplateOnly: pulumi.Bool(false),
Whitelists: pulumi.StringArray{
pulumi.String("string"),
},
})
var oceanImportResource = new OceanImport("oceanImportResource", OceanImportArgs.builder()
.clusterName("string")
.location("string")
.minSize(0)
.rootVolumeType("string")
.controllerClusterId("string")
.desiredCapacity(0)
.backendServices(OceanImportBackendServiceArgs.builder()
.serviceName("string")
.locationType("string")
.namedPorts(OceanImportBackendServiceNamedPortArgs.builder()
.name("string")
.ports("string")
.build())
.scheme("string")
.build())
.maxSize(0)
.autoscaler(OceanImportAutoscalerArgs.builder()
.autoHeadroomPercentage(0)
.cooldown(0)
.down(OceanImportAutoscalerDownArgs.builder()
.evaluationPeriods(0)
.maxScaleDownPercentage(0)
.build())
.enableAutomaticAndManualHeadroom(false)
.headroom(OceanImportAutoscalerHeadroomArgs.builder()
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.numOfUnits(0)
.build())
.isAutoConfig(false)
.isEnabled(false)
.resourceLimits(OceanImportAutoscalerResourceLimitsArgs.builder()
.maxMemoryGib(0)
.maxVcpu(0)
.build())
.build())
.blacklists("string")
.scheduledTasks(OceanImportScheduledTaskArgs.builder()
.shutdownHours(OceanImportScheduledTaskShutdownHoursArgs.builder()
.timeWindows("string")
.isEnabled(false)
.build())
.tasks(OceanImportScheduledTaskTaskArgs.builder()
.cronExpression("string")
.isEnabled(false)
.taskType("string")
.taskParameters(OceanImportScheduledTaskTaskTaskParametersArgs.builder()
.clusterRoll(OceanImportScheduledTaskTaskTaskParametersClusterRollArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.respectPdb(false)
.build())
.build())
.build())
.build())
.shieldedInstanceConfig(OceanImportShieldedInstanceConfigArgs.builder()
.enableIntegrityMonitoring(false)
.enableSecureBoot(false)
.build())
.strategies(OceanImportStrategyArgs.builder()
.drainingTimeout(0)
.preemptiblePercentage(0)
.provisioningModel("string")
.shouldUtilizeCommitments(false)
.build())
.updatePolicy(OceanImportUpdatePolicyArgs.builder()
.shouldRoll(false)
.conditionedRoll(false)
.rollConfig(OceanImportUpdatePolicyRollConfigArgs.builder()
.batchSizePercentage(0)
.batchMinHealthyPercentage(0)
.launchSpecIds("string")
.respectPdb(false)
.build())
.build())
.useAsTemplateOnly(false)
.whitelists("string")
.build());
ocean_import_resource = spotinst.gke.OceanImport("oceanImportResource",
cluster_name="string",
location="string",
min_size=0,
root_volume_type="string",
controller_cluster_id="string",
desired_capacity=0,
backend_services=[spotinst.gke.OceanImportBackendServiceArgs(
service_name="string",
location_type="string",
named_ports=[spotinst.gke.OceanImportBackendServiceNamedPortArgs(
name="string",
ports=["string"],
)],
scheme="string",
)],
max_size=0,
autoscaler=spotinst.gke.OceanImportAutoscalerArgs(
auto_headroom_percentage=0,
cooldown=0,
down=spotinst.gke.OceanImportAutoscalerDownArgs(
evaluation_periods=0,
max_scale_down_percentage=0,
),
enable_automatic_and_manual_headroom=False,
headroom=spotinst.gke.OceanImportAutoscalerHeadroomArgs(
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
num_of_units=0,
),
is_auto_config=False,
is_enabled=False,
resource_limits=spotinst.gke.OceanImportAutoscalerResourceLimitsArgs(
max_memory_gib=0,
max_vcpu=0,
),
),
blacklists=["string"],
scheduled_tasks=[spotinst.gke.OceanImportScheduledTaskArgs(
shutdown_hours=spotinst.gke.OceanImportScheduledTaskShutdownHoursArgs(
time_windows=["string"],
is_enabled=False,
),
tasks=[spotinst.gke.OceanImportScheduledTaskTaskArgs(
cron_expression="string",
is_enabled=False,
task_type="string",
task_parameters=spotinst.gke.OceanImportScheduledTaskTaskTaskParametersArgs(
cluster_roll=spotinst.gke.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs(
batch_min_healthy_percentage=0,
batch_size_percentage=0,
comment="string",
respect_pdb=False,
),
),
)],
)],
shielded_instance_config=spotinst.gke.OceanImportShieldedInstanceConfigArgs(
enable_integrity_monitoring=False,
enable_secure_boot=False,
),
strategies=[spotinst.gke.OceanImportStrategyArgs(
draining_timeout=0,
preemptible_percentage=0,
provisioning_model="string",
should_utilize_commitments=False,
)],
update_policy=spotinst.gke.OceanImportUpdatePolicyArgs(
should_roll=False,
conditioned_roll=False,
roll_config=spotinst.gke.OceanImportUpdatePolicyRollConfigArgs(
batch_size_percentage=0,
batch_min_healthy_percentage=0,
launch_spec_ids=["string"],
respect_pdb=False,
),
),
use_as_template_only=False,
whitelists=["string"])
const oceanImportResource = new spotinst.gke.OceanImport("oceanImportResource", {
clusterName: "string",
location: "string",
minSize: 0,
rootVolumeType: "string",
controllerClusterId: "string",
desiredCapacity: 0,
backendServices: [{
serviceName: "string",
locationType: "string",
namedPorts: [{
name: "string",
ports: ["string"],
}],
scheme: "string",
}],
maxSize: 0,
autoscaler: {
autoHeadroomPercentage: 0,
cooldown: 0,
down: {
evaluationPeriods: 0,
maxScaleDownPercentage: 0,
},
enableAutomaticAndManualHeadroom: false,
headroom: {
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
numOfUnits: 0,
},
isAutoConfig: false,
isEnabled: false,
resourceLimits: {
maxMemoryGib: 0,
maxVcpu: 0,
},
},
blacklists: ["string"],
scheduledTasks: [{
shutdownHours: {
timeWindows: ["string"],
isEnabled: false,
},
tasks: [{
cronExpression: "string",
isEnabled: false,
taskType: "string",
taskParameters: {
clusterRoll: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
respectPdb: false,
},
},
}],
}],
shieldedInstanceConfig: {
enableIntegrityMonitoring: false,
enableSecureBoot: false,
},
strategies: [{
drainingTimeout: 0,
preemptiblePercentage: 0,
provisioningModel: "string",
shouldUtilizeCommitments: false,
}],
updatePolicy: {
shouldRoll: false,
conditionedRoll: false,
rollConfig: {
batchSizePercentage: 0,
batchMinHealthyPercentage: 0,
launchSpecIds: ["string"],
respectPdb: false,
},
},
useAsTemplateOnly: false,
whitelists: ["string"],
});
type: spotinst:gke:OceanImport
properties:
autoscaler:
autoHeadroomPercentage: 0
cooldown: 0
down:
evaluationPeriods: 0
maxScaleDownPercentage: 0
enableAutomaticAndManualHeadroom: false
headroom:
cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
isAutoConfig: false
isEnabled: false
resourceLimits:
maxMemoryGib: 0
maxVcpu: 0
backendServices:
- locationType: string
namedPorts:
- name: string
ports:
- string
scheme: string
serviceName: string
blacklists:
- string
clusterName: string
controllerClusterId: string
desiredCapacity: 0
location: string
maxSize: 0
minSize: 0
rootVolumeType: string
scheduledTasks:
- shutdownHours:
isEnabled: false
timeWindows:
- string
tasks:
- cronExpression: string
isEnabled: false
taskParameters:
clusterRoll:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
respectPdb: false
taskType: string
shieldedInstanceConfig:
enableIntegrityMonitoring: false
enableSecureBoot: false
strategies:
- drainingTimeout: 0
preemptiblePercentage: 0
provisioningModel: string
shouldUtilizeCommitments: false
updatePolicy:
conditionedRoll: false
rollConfig:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
launchSpecIds:
- string
respectPdb: false
shouldRoll: false
useAsTemplateOnly: false
whitelists:
- string
OceanImport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OceanImport resource accepts the following input properties:
- Cluster
Name string - The GKE cluster name.
- Location string
- The zone the master cluster is located in.
- Autoscaler
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- Backend
Services List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service> - Describes the backend service configurations.
- Blacklists List<string>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Desired
Capacity int - The number of instances to launch and maintain in the cluster.
- Max
Size int - The upper limit of instances the cluster can scale up to.
- Min
Size int - The lower limit of instances the cluster can scale down to.
- Root
Volume stringType - The root volume disk type.
- Scheduled
Tasks List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task> - Set scheduling object.
- Shielded
Instance Pulumi.Config Spot Inst. Gke. Inputs. Ocean Import Shielded Instance Config - The Ocean shielded instance configuration object.
- Strategies
List<Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Strategy> - Strategy object.
- Update
Policy Pulumi.Spot Inst. Gke. Inputs. Ocean Import Update Policy - Use
As boolTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- Whitelists List<string>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- Cluster
Name string - The GKE cluster name.
- Location string
- The zone the master cluster is located in.
- Autoscaler
Ocean
Import Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- Backend
Services []OceanImport Backend Service Args - Describes the backend service configurations.
- Blacklists []string
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Desired
Capacity int - The number of instances to launch and maintain in the cluster.
- Max
Size int - The upper limit of instances the cluster can scale up to.
- Min
Size int - The lower limit of instances the cluster can scale down to.
- Root
Volume stringType - The root volume disk type.
- Scheduled
Tasks []OceanImport Scheduled Task Args - Set scheduling object.
- Shielded
Instance OceanConfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- Strategies
[]Ocean
Import Strategy Args - Strategy object.
- Update
Policy OceanImport Update Policy Args - Use
As boolTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- Whitelists []string
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- cluster
Name String - The GKE cluster name.
- location String
- The zone the master cluster is located in.
- autoscaler
Ocean
Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- backend
Services List<OceanImport Backend Service> - Describes the backend service configurations.
- blacklists List<String>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- controller
Cluster StringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity Integer - The number of instances to launch and maintain in the cluster.
- max
Size Integer - The upper limit of instances the cluster can scale up to.
- min
Size Integer - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<OceanImport Scheduled Task> - Set scheduling object.
- shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
List<Ocean
Import Strategy> - Strategy object.
- update
Policy OceanImport Update Policy - use
As BooleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists List<String>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- cluster
Name string - The GKE cluster name.
- location string
- The zone the master cluster is located in.
- autoscaler
Ocean
Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- backend
Services OceanImport Backend Service[] - Describes the backend service configurations.
- blacklists string[]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity number - The number of instances to launch and maintain in the cluster.
- max
Size number - The upper limit of instances the cluster can scale up to.
- min
Size number - The lower limit of instances the cluster can scale down to.
- root
Volume stringType - The root volume disk type.
- scheduled
Tasks OceanImport Scheduled Task[] - Set scheduling object.
- shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
Ocean
Import Strategy[] - Strategy object.
- update
Policy OceanImport Update Policy - use
As booleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists string[]
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- cluster_
name str - The GKE cluster name.
- location str
- The zone the master cluster is located in.
- autoscaler
Ocean
Import Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- backend_
services Sequence[OceanImport Backend Service Args] - Describes the backend service configurations.
- blacklists Sequence[str]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- controller_
cluster_ strid - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired_
capacity int - The number of instances to launch and maintain in the cluster.
- max_
size int - The upper limit of instances the cluster can scale up to.
- min_
size int - The lower limit of instances the cluster can scale down to.
- root_
volume_ strtype - The root volume disk type.
- scheduled_
tasks Sequence[OceanImport Scheduled Task Args] - Set scheduling object.
- shielded_
instance_ Oceanconfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- strategies
Sequence[Ocean
Import Strategy Args] - Strategy object.
- update_
policy OceanImport Update Policy Args - use_
as_ booltemplate_ only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists Sequence[str]
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- cluster
Name String - The GKE cluster name.
- location String
- The zone the master cluster is located in.
- autoscaler Property Map
- The Ocean Kubernetes Autoscaler object.
- backend
Services List<Property Map> - Describes the backend service configurations.
- blacklists List<String>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- controller
Cluster StringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity Number - The number of instances to launch and maintain in the cluster.
- max
Size Number - The upper limit of instances the cluster can scale up to.
- min
Size Number - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<Property Map> - Set scheduling object.
- shielded
Instance Property MapConfig - The Ocean shielded instance configuration object.
- strategies List<Property Map>
- Strategy object.
- update
Policy Property Map - use
As BooleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists List<String>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
Outputs
All input properties are implicitly available as output properties. Additionally, the OceanImport resource produces the following output properties:
- Cluster
Controller stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Controller stringId - Id string
- The provider-assigned unique ID for this managed resource.
- cluster
Controller StringId - id String
- The provider-assigned unique ID for this managed resource.
- cluster
Controller stringId - id string
- The provider-assigned unique ID for this managed resource.
- cluster_
controller_ strid - id str
- The provider-assigned unique ID for this managed resource.
- cluster
Controller StringId - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OceanImport Resource
Get an existing OceanImport 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?: OceanImportState, opts?: CustomResourceOptions): OceanImport
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
autoscaler: Optional[OceanImportAutoscalerArgs] = None,
backend_services: Optional[Sequence[OceanImportBackendServiceArgs]] = None,
blacklists: Optional[Sequence[str]] = None,
cluster_controller_id: Optional[str] = None,
cluster_name: Optional[str] = None,
controller_cluster_id: Optional[str] = None,
desired_capacity: Optional[int] = None,
location: Optional[str] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
root_volume_type: Optional[str] = None,
scheduled_tasks: Optional[Sequence[OceanImportScheduledTaskArgs]] = None,
shielded_instance_config: Optional[OceanImportShieldedInstanceConfigArgs] = None,
strategies: Optional[Sequence[OceanImportStrategyArgs]] = None,
update_policy: Optional[OceanImportUpdatePolicyArgs] = None,
use_as_template_only: Optional[bool] = None,
whitelists: Optional[Sequence[str]] = None) -> OceanImport
func GetOceanImport(ctx *Context, name string, id IDInput, state *OceanImportState, opts ...ResourceOption) (*OceanImport, error)
public static OceanImport Get(string name, Input<string> id, OceanImportState? state, CustomResourceOptions? opts = null)
public static OceanImport get(String name, Output<String> id, OceanImportState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Autoscaler
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- Backend
Services List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service> - Describes the backend service configurations.
- Blacklists List<string>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Cluster
Controller stringId - Cluster
Name string - The GKE cluster name.
- Controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Desired
Capacity int - The number of instances to launch and maintain in the cluster.
- Location string
- The zone the master cluster is located in.
- Max
Size int - The upper limit of instances the cluster can scale up to.
- Min
Size int - The lower limit of instances the cluster can scale down to.
- Root
Volume stringType - The root volume disk type.
- Scheduled
Tasks List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task> - Set scheduling object.
- Shielded
Instance Pulumi.Config Spot Inst. Gke. Inputs. Ocean Import Shielded Instance Config - The Ocean shielded instance configuration object.
- Strategies
List<Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Strategy> - Strategy object.
- Update
Policy Pulumi.Spot Inst. Gke. Inputs. Ocean Import Update Policy - Use
As boolTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- Whitelists List<string>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- Autoscaler
Ocean
Import Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- Backend
Services []OceanImport Backend Service Args - Describes the backend service configurations.
- Blacklists []string
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Cluster
Controller stringId - Cluster
Name string - The GKE cluster name.
- Controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Desired
Capacity int - The number of instances to launch and maintain in the cluster.
- Location string
- The zone the master cluster is located in.
- Max
Size int - The upper limit of instances the cluster can scale up to.
- Min
Size int - The lower limit of instances the cluster can scale down to.
- Root
Volume stringType - The root volume disk type.
- Scheduled
Tasks []OceanImport Scheduled Task Args - Set scheduling object.
- Shielded
Instance OceanConfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- Strategies
[]Ocean
Import Strategy Args - Strategy object.
- Update
Policy OceanImport Update Policy Args - Use
As boolTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- Whitelists []string
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- autoscaler
Ocean
Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- backend
Services List<OceanImport Backend Service> - Describes the backend service configurations.
- blacklists List<String>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- cluster
Controller StringId - cluster
Name String - The GKE cluster name.
- controller
Cluster StringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity Integer - The number of instances to launch and maintain in the cluster.
- location String
- The zone the master cluster is located in.
- max
Size Integer - The upper limit of instances the cluster can scale up to.
- min
Size Integer - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<OceanImport Scheduled Task> - Set scheduling object.
- shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
List<Ocean
Import Strategy> - Strategy object.
- update
Policy OceanImport Update Policy - use
As BooleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists List<String>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- autoscaler
Ocean
Import Autoscaler - The Ocean Kubernetes Autoscaler object.
- backend
Services OceanImport Backend Service[] - Describes the backend service configurations.
- blacklists string[]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- cluster
Controller stringId - cluster
Name string - The GKE cluster name.
- controller
Cluster stringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity number - The number of instances to launch and maintain in the cluster.
- location string
- The zone the master cluster is located in.
- max
Size number - The upper limit of instances the cluster can scale up to.
- min
Size number - The lower limit of instances the cluster can scale down to.
- root
Volume stringType - The root volume disk type.
- scheduled
Tasks OceanImport Scheduled Task[] - Set scheduling object.
- shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
Ocean
Import Strategy[] - Strategy object.
- update
Policy OceanImport Update Policy - use
As booleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists string[]
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- autoscaler
Ocean
Import Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- backend_
services Sequence[OceanImport Backend Service Args] - Describes the backend service configurations.
- blacklists Sequence[str]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- cluster_
controller_ strid - cluster_
name str - The GKE cluster name.
- controller_
cluster_ strid - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired_
capacity int - The number of instances to launch and maintain in the cluster.
- location str
- The zone the master cluster is located in.
- max_
size int - The upper limit of instances the cluster can scale up to.
- min_
size int - The lower limit of instances the cluster can scale down to.
- root_
volume_ strtype - The root volume disk type.
- scheduled_
tasks Sequence[OceanImport Scheduled Task Args] - Set scheduling object.
- shielded_
instance_ Oceanconfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- strategies
Sequence[Ocean
Import Strategy Args] - Strategy object.
- update_
policy OceanImport Update Policy Args - use_
as_ booltemplate_ only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists Sequence[str]
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
- autoscaler Property Map
- The Ocean Kubernetes Autoscaler object.
- backend
Services List<Property Map> - Describes the backend service configurations.
- blacklists List<String>
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- cluster
Controller StringId - cluster
Name String - The GKE cluster name.
- controller
Cluster StringId - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- desired
Capacity Number - The number of instances to launch and maintain in the cluster.
- location String
- The zone the master cluster is located in.
- max
Size Number - The upper limit of instances the cluster can scale up to.
- min
Size Number - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<Property Map> - Set scheduling object.
- shielded
Instance Property MapConfig - The Ocean shielded instance configuration object.
- strategies List<Property Map>
- Strategy object.
- update
Policy Property Map - use
As BooleanTemplate Only - launch specification defined on the Ocean object will function only as a template for virtual node groups.
- whitelists List<String>
- Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
Supporting Types
OceanImportAutoscaler, OceanImportAutoscalerArgs
- Auto
Headroom intPercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- Cooldown int
- Cooldown period between scaling actions.
- Down
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler Down - Auto Scaling scale down operations.
- Enable
Automatic boolAnd Manual Headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- Headroom
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler Headroom - Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- Is
Auto boolConfig - Automatically configure and optimize headroom resources.
- Is
Enabled bool - Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits Pulumi.Spot Inst. Gke. Inputs. Ocean Import Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- Auto
Headroom intPercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- Cooldown int
- Cooldown period between scaling actions.
- Down
Ocean
Import Autoscaler Down - Auto Scaling scale down operations.
- Enable
Automatic boolAnd Manual Headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- Headroom
Ocean
Import Autoscaler Headroom - Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- Is
Auto boolConfig - Automatically configure and optimize headroom resources.
- Is
Enabled bool - Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits OceanImport Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- auto
Headroom IntegerPercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- cooldown Integer
- Cooldown period between scaling actions.
- down
Ocean
Import Autoscaler Down - Auto Scaling scale down operations.
- enable
Automatic BooleanAnd Manual Headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- headroom
Ocean
Import Autoscaler Headroom - Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- is
Auto BooleanConfig - Automatically configure and optimize headroom resources.
- is
Enabled Boolean - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanImport Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- auto
Headroom numberPercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- cooldown number
- Cooldown period between scaling actions.
- down
Ocean
Import Autoscaler Down - Auto Scaling scale down operations.
- enable
Automatic booleanAnd Manual Headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- headroom
Ocean
Import Autoscaler Headroom - Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- is
Auto booleanConfig - Automatically configure and optimize headroom resources.
- is
Enabled boolean - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanImport Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- auto_
headroom_ intpercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- cooldown int
- Cooldown period between scaling actions.
- down
Ocean
Import Autoscaler Down - Auto Scaling scale down operations.
- enable_
automatic_ booland_ manual_ headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- headroom
Ocean
Import Autoscaler Headroom - Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- is_
auto_ boolconfig - Automatically configure and optimize headroom resources.
- is_
enabled bool - Enable the Ocean Kubernetes Autoscaler.
- resource_
limits OceanImport Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- auto
Headroom NumberPercentage - Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
- cooldown Number
- Cooldown period between scaling actions.
- down Property Map
- Auto Scaling scale down operations.
- enable
Automatic BooleanAnd Manual Headroom - enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
- headroom Property Map
- Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
- is
Auto BooleanConfig - Automatically configure and optimize headroom resources.
- is
Enabled Boolean - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits Property Map - Optionally set upper and lower bounds on the resource usage of the cluster.
OceanImportAutoscalerDown, OceanImportAutoscalerDownArgs
- Evaluation
Periods int - The number of evaluation periods that should accumulate before a scale down action takes place.
- Max
Scale doubleDown Percentage - Would represent the maximum % to scale-down. Number between 1-100.
- Evaluation
Periods int - The number of evaluation periods that should accumulate before a scale down action takes place.
- Max
Scale float64Down Percentage - Would represent the maximum % to scale-down. Number between 1-100.
- evaluation
Periods Integer - The number of evaluation periods that should accumulate before a scale down action takes place.
- max
Scale DoubleDown Percentage - Would represent the maximum % to scale-down. Number between 1-100.
- evaluation
Periods number - The number of evaluation periods that should accumulate before a scale down action takes place.
- max
Scale numberDown Percentage - Would represent the maximum % to scale-down. Number between 1-100.
- evaluation_
periods int - The number of evaluation periods that should accumulate before a scale down action takes place.
- max_
scale_ floatdown_ percentage - Would represent the maximum % to scale-down. Number between 1-100.
- evaluation
Periods Number - The number of evaluation periods that should accumulate before a scale down action takes place.
- max
Scale NumberDown Percentage - Would represent the maximum % to scale-down. Number between 1-100.
OceanImportAutoscalerHeadroom, OceanImportAutoscalerHeadroomArgs
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - How much GPU allocate for headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - How much GPU allocate for headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per IntegerUnit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per IntegerUnit - How much GPU allocate for headroom unit.
- memory
Per IntegerUnit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- num
Of IntegerUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per numberUnit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per numberUnit - How much GPU allocate for headroom unit.
- memory
Per numberUnit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- num
Of numberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu_
per_ intunit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu_
per_ intunit - How much GPU allocate for headroom unit.
- memory_
per_ intunit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- num_
of_ intunits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per NumberUnit - Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per NumberUnit - How much GPU allocate for headroom unit.
- memory
Per NumberUnit - Optionally configure the amount of memory (MiB) to allocate the headroom.
- num
Of NumberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
OceanImportAutoscalerResourceLimits, OceanImportAutoscalerResourceLimitsArgs
- Max
Memory intGib - The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- Max
Memory intGib - The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory IntegerGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Integer - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory numberGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu number - The maximum cpu in vCpu units that can be allocated to the cluster.
- max_
memory_ intgib - The maximum memory in GiB units that can be allocated to the cluster.
- max_
vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory NumberGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Number - The maximum cpu in vCpu units that can be allocated to the cluster.
OceanImportBackendService, OceanImportBackendServiceArgs
- Service
Name string - The name of the backend service.
- Location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - Named
Ports List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service Named Port> - Scheme string
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
- Service
Name string - The name of the backend service.
- Location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - Named
Ports []OceanImport Backend Service Named Port - Scheme string
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
- service
Name String - The name of the backend service.
- location
Type String - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports List<OceanImport Backend Service Named Port> - scheme String
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
- service
Name string - The name of the backend service.
- location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports OceanImport Backend Service Named Port[] - scheme string
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
- service_
name str - The name of the backend service.
- location_
type str - Sets which location the backend services will be active. Valid values:
regional
,global
. - named_
ports Sequence[OceanImport Backend Service Named Port] - scheme str
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
- service
Name String - The name of the backend service.
- location
Type String - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports List<Property Map> - scheme String
- Use when
location_type
isregional
. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values:INTERNAL
,EXTERNAL
.
OceanImportBackendServiceNamedPort, OceanImportBackendServiceNamedPortArgs
OceanImportScheduledTask, OceanImportScheduledTaskArgs
- Shutdown
Hours Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task Shutdown Hours - Set shutdown hours for cluster object.
- Tasks
List<Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Scheduled Task Task> - The scheduling tasks for the cluster.
- Shutdown
Hours OceanImport Scheduled Task Shutdown Hours - Set shutdown hours for cluster object.
- Tasks
[]Ocean
Import Scheduled Task Task - The scheduling tasks for the cluster.
- shutdown
Hours OceanImport Scheduled Task Shutdown Hours - Set shutdown hours for cluster object.
- tasks
List<Ocean
Import Scheduled Task Task> - The scheduling tasks for the cluster.
- shutdown
Hours OceanImport Scheduled Task Shutdown Hours - Set shutdown hours for cluster object.
- tasks
Ocean
Import Scheduled Task Task[] - The scheduling tasks for the cluster.
- shutdown_
hours OceanImport Scheduled Task Shutdown Hours - Set shutdown hours for cluster object.
- tasks
Sequence[Ocean
Import Scheduled Task Task] - The scheduling tasks for the cluster.
- shutdown
Hours Property Map - Set shutdown hours for cluster object.
- tasks List<Property Map>
- The scheduling tasks for the cluster.
OceanImportScheduledTaskShutdownHours, OceanImportScheduledTaskShutdownHoursArgs
- Time
Windows List<string> - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - Is
Enabled bool - Flag to enable / disable the shutdown hours.
Example:
true
- Time
Windows []string - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - Is
Enabled bool - Flag to enable / disable the shutdown hours.
Example:
true
- time
Windows List<String> - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - is
Enabled Boolean - Flag to enable / disable the shutdown hours.
Example:
true
- time
Windows string[] - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - is
Enabled boolean - Flag to enable / disable the shutdown hours.
Example:
true
- time_
windows Sequence[str] - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - is_
enabled bool - Flag to enable / disable the shutdown hours.
Example:
true
- time
Windows List<String> - Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled =
true
. API Times are in UTC Example: Fri:15:30-Wed:14:30 - is
Enabled Boolean - Flag to enable / disable the shutdown hours.
Example:
true
OceanImportScheduledTaskTask, OceanImportScheduledTaskTaskArgs
- Cron
Expression string - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- Is
Enabled bool - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- Task
Type string - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- Task
Parameters Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task Task Task Parameters - The scheduling parameters for the cluster.
- Cron
Expression string - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- Is
Enabled bool - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- Task
Type string - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- Task
Parameters OceanImport Scheduled Task Task Task Parameters - The scheduling parameters for the cluster.
- cron
Expression String - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- is
Enabled Boolean - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- task
Type String - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- task
Parameters OceanImport Scheduled Task Task Task Parameters - The scheduling parameters for the cluster.
- cron
Expression string - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- is
Enabled boolean - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- task
Type string - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- task
Parameters OceanImport Scheduled Task Task Task Parameters - The scheduling parameters for the cluster.
- cron_
expression str - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- is_
enabled bool - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- task_
type str - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- task_
parameters OceanImport Scheduled Task Task Task Parameters - The scheduling parameters for the cluster.
- cron
Expression String - A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object Example: 0 1 * * *
- is
Enabled Boolean - Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
- task
Type String - Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
- task
Parameters Property Map - The scheduling parameters for the cluster.
OceanImportScheduledTaskTaskTaskParameters, OceanImportScheduledTaskTaskTaskParametersArgs
- Cluster
Roll Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task Task Task Parameters Cluster Roll - The cluster roll parameters for the cluster.
- Cluster
Roll OceanImport Scheduled Task Task Task Parameters Cluster Roll - The cluster roll parameters for the cluster.
- cluster
Roll OceanImport Scheduled Task Task Task Parameters Cluster Roll - The cluster roll parameters for the cluster.
- cluster
Roll OceanImport Scheduled Task Task Task Parameters Cluster Roll - The cluster roll parameters for the cluster.
- cluster_
roll OceanImport Scheduled Task Task Task Parameters Cluster Roll - The cluster roll parameters for the cluster.
- cluster
Roll Property Map - The cluster roll parameters for the cluster.
OceanImportScheduledTaskTaskTaskParametersClusterRoll, OceanImportScheduledTaskTaskTaskParametersClusterRollArgs
- Batch
Min intHealthy Percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Batch
Size intPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- Comment string
- Add a comment description for the roll. The comment is limited to 256 chars.
- Respect
Pdb bool - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
- Batch
Min intHealthy Percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Batch
Size intPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- Comment string
- Add a comment description for the roll. The comment is limited to 256 chars.
- Respect
Pdb bool - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
- batch
Min IntegerHealthy Percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size IntegerPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- comment String
- Add a comment description for the roll. The comment is limited to 256 chars.
- respect
Pdb Boolean - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
- batch
Min numberHealthy Percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size numberPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- comment string
- Add a comment description for the roll. The comment is limited to 256 chars.
- respect
Pdb boolean - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
- batch_
min_ inthealthy_ percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch_
size_ intpercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- comment str
- Add a comment description for the roll. The comment is limited to 256 chars.
- respect_
pdb bool - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
- batch
Min NumberHealthy Percentage - Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size NumberPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
- comment String
- Add a comment description for the roll. The comment is limited to 256 chars.
- respect
Pdb Boolean - During the roll, if the parameter is set to true we honor PDB during the instance replacement.
OceanImportShieldedInstanceConfig, OceanImportShieldedInstanceConfigArgs
- Enable
Integrity boolMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- Enable
Secure boolBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- Enable
Integrity boolMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- Enable
Secure boolBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity BooleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure BooleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity booleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure booleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable_
integrity_ boolmonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable_
secure_ boolboot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity BooleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure BooleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
OceanImportStrategy, OceanImportStrategyArgs
- Draining
Timeout int - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- Preemptible
Percentage int - Defines the desired preemptible percentage for the cluster.
- Provisioning
Model string - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - Should
Utilize boolCommitments - Enable committed use discounts utilization.
- Draining
Timeout int - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- Preemptible
Percentage int - Defines the desired preemptible percentage for the cluster.
- Provisioning
Model string - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - Should
Utilize boolCommitments - Enable committed use discounts utilization.
- draining
Timeout Integer - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- preemptible
Percentage Integer - Defines the desired preemptible percentage for the cluster.
- provisioning
Model String - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - should
Utilize BooleanCommitments - Enable committed use discounts utilization.
- draining
Timeout number - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- preemptible
Percentage number - Defines the desired preemptible percentage for the cluster.
- provisioning
Model string - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - should
Utilize booleanCommitments - Enable committed use discounts utilization.
- draining_
timeout int - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- preemptible_
percentage int - Defines the desired preemptible percentage for the cluster.
- provisioning_
model str - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - should_
utilize_ boolcommitments - Enable committed use discounts utilization.
- draining
Timeout Number - The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
- preemptible
Percentage Number - Defines the desired preemptible percentage for the cluster.
- provisioning
Model String - Define the provisioning model of the launched instances. Valid values:
SPOT
,PREEMPTIBLE
. - should
Utilize BooleanCommitments - Enable committed use discounts utilization.
OceanImportUpdatePolicy, OceanImportUpdatePolicyArgs
- Should
Roll bool - Enables the roll.
- Conditioned
Roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- Roll
Config Pulumi.Spot Inst. Gke. Inputs. Ocean Import Update Policy Roll Config - Holds the roll configuration.
- Should
Roll bool - Enables the roll.
- Conditioned
Roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- Roll
Config OceanImport Update Policy Roll Config - Holds the roll configuration.
- should
Roll Boolean - Enables the roll.
- conditioned
Roll Boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config OceanImport Update Policy Roll Config - Holds the roll configuration.
- should
Roll boolean - Enables the roll.
- conditioned
Roll boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config OceanImport Update Policy Roll Config - Holds the roll configuration.
- should_
roll bool - Enables the roll.
- conditioned_
roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll_
config OceanImport Update Policy Roll Config - Holds the roll configuration.
- should
Roll Boolean - Enables the roll.
- conditioned
Roll Boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config Property Map - Holds the roll configuration.
OceanImportUpdatePolicyRollConfig, OceanImportUpdatePolicyRollConfigArgs
- Batch
Size intPercentage - Sets the percentage of the instances to deploy in each batch.
- Batch
Min intHealthy Percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Launch
Spec List<string>Ids - List of Virtual Node Group identifiers to be rolled.
- Respect
Pdb bool - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
- Batch
Size intPercentage - Sets the percentage of the instances to deploy in each batch.
- Batch
Min intHealthy Percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Launch
Spec []stringIds - List of Virtual Node Group identifiers to be rolled.
- Respect
Pdb bool - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
- batch
Size IntegerPercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Min IntegerHealthy Percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- launch
Spec List<String>Ids - List of Virtual Node Group identifiers to be rolled.
- respect
Pdb Boolean - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
- batch
Size numberPercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Min numberHealthy Percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- launch
Spec string[]Ids - List of Virtual Node Group identifiers to be rolled.
- respect
Pdb boolean - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
- batch_
size_ intpercentage - Sets the percentage of the instances to deploy in each batch.
- batch_
min_ inthealthy_ percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- launch_
spec_ Sequence[str]ids - List of Virtual Node Group identifiers to be rolled.
- respect_
pdb bool - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
- batch
Size NumberPercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Min NumberHealthy Percentage - Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- launch
Spec List<String>Ids - List of Virtual Node Group identifiers to be rolled.
- respect
Pdb Boolean - Default:
false
. During the roll, if the parameter is set totrue
we honor PDB during the instance replacement.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.