Spotinst v3.94.0 published on Friday, Sep 20, 2024 by Pulumi
spotinst.oceancd.RolloutSpec
Explore with Pulumi AI
Manages a Spotinst OceanCD Rollout Spec resource.
Create RolloutSpec Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RolloutSpec(name: string, args: RolloutSpecArgs, opts?: CustomResourceOptions);
@overload
def RolloutSpec(resource_name: str,
args: RolloutSpecArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RolloutSpec(resource_name: str,
opts: Optional[ResourceOptions] = None,
rollout_spec_name: Optional[str] = None,
strategy: Optional[RolloutSpecStrategyArgs] = None,
failure_policy: Optional[RolloutSpecFailurePolicyArgs] = None,
spot_deployment: Optional[RolloutSpecSpotDeploymentArgs] = None,
spot_deployments: Optional[Sequence[RolloutSpecSpotDeploymentArgs]] = None,
traffic: Optional[RolloutSpecTrafficArgs] = None)
func NewRolloutSpec(ctx *Context, name string, args RolloutSpecArgs, opts ...ResourceOption) (*RolloutSpec, error)
public RolloutSpec(string name, RolloutSpecArgs args, CustomResourceOptions? opts = null)
public RolloutSpec(String name, RolloutSpecArgs args)
public RolloutSpec(String name, RolloutSpecArgs args, CustomResourceOptions options)
type: spotinst:oceancd:RolloutSpec
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 RolloutSpecArgs
- 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 RolloutSpecArgs
- 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 RolloutSpecArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RolloutSpecArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RolloutSpecArgs
- 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 rolloutSpecResource = new SpotInst.Oceancd.RolloutSpec("rolloutSpecResource", new()
{
RolloutSpecName = "string",
Strategy = new SpotInst.Oceancd.Inputs.RolloutSpecStrategyArgs
{
StrategyName = "string",
Args = new[]
{
new SpotInst.Oceancd.Inputs.RolloutSpecStrategyArgArgs
{
ArgName = "string",
ArgValue = "string",
ValueFrom = new SpotInst.Oceancd.Inputs.RolloutSpecStrategyArgValueFromArgs
{
FieldRef = new SpotInst.Oceancd.Inputs.RolloutSpecStrategyArgValueFromFieldRefArgs
{
FieldPath = "string",
},
},
},
},
},
FailurePolicy = new SpotInst.Oceancd.Inputs.RolloutSpecFailurePolicyArgs
{
Action = "string",
},
SpotDeployment = new SpotInst.Oceancd.Inputs.RolloutSpecSpotDeploymentArgs
{
SpotDeploymentsClusterId = "string",
SpotDeploymentsName = "string",
SpotDeploymentsNamespace = "string",
},
SpotDeployments = new[]
{
new SpotInst.Oceancd.Inputs.RolloutSpecSpotDeploymentArgs
{
SpotDeploymentsClusterId = "string",
SpotDeploymentsName = "string",
SpotDeploymentsNamespace = "string",
},
},
Traffic = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficArgs
{
Alb = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficAlbArgs
{
AlbIngress = "string",
AlbRootService = "string",
ServicePort = 0,
AlbAnnotationPrefix = "string",
StickinessConfig = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficAlbStickinessConfigArgs
{
DurationSeconds = 0,
Enabled = false,
},
},
Ambassador = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficAmbassadorArgs
{
Mappings = new[]
{
"string",
},
},
CanaryService = "string",
Istio = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficIstioArgs
{
VirtualServices = new[]
{
new SpotInst.Oceancd.Inputs.RolloutSpecTrafficIstioVirtualServiceArgs
{
VirtualServiceName = "string",
TlsRoutes = new[]
{
new SpotInst.Oceancd.Inputs.RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs
{
Port = 0,
SniHosts = new[]
{
"string",
},
},
},
VirtualServiceRoutes = new[]
{
"string",
},
},
},
DestinationRule = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficIstioDestinationRuleArgs
{
CanarySubsetName = "string",
DestinationRuleName = "string",
StableSubsetName = "string",
},
},
Nginx = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficNginxArgs
{
StableIngress = "string",
AdditionalIngressAnnotation = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs
{
CanaryByHeader = "string",
Key1 = "string",
},
NginxAnnotationPrefix = "string",
},
PingPong = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficPingPongArgs
{
PingService = "string",
PongService = "string",
},
Smi = new SpotInst.Oceancd.Inputs.RolloutSpecTrafficSmiArgs
{
SmiRootService = "string",
TrafficSplitName = "string",
},
StableService = "string",
},
});
example, err := oceancd.NewRolloutSpec(ctx, "rolloutSpecResource", &oceancd.RolloutSpecArgs{
RolloutSpecName: pulumi.String("string"),
Strategy: &oceancd.RolloutSpecStrategyArgs{
StrategyName: pulumi.String("string"),
Args: oceancd.RolloutSpecStrategyArgArray{
&oceancd.RolloutSpecStrategyArgArgs{
ArgName: pulumi.String("string"),
ArgValue: pulumi.String("string"),
ValueFrom: &oceancd.RolloutSpecStrategyArgValueFromArgs{
FieldRef: &oceancd.RolloutSpecStrategyArgValueFromFieldRefArgs{
FieldPath: pulumi.String("string"),
},
},
},
},
},
FailurePolicy: &oceancd.RolloutSpecFailurePolicyArgs{
Action: pulumi.String("string"),
},
SpotDeployment: &oceancd.RolloutSpecSpotDeploymentArgs{
SpotDeploymentsClusterId: pulumi.String("string"),
SpotDeploymentsName: pulumi.String("string"),
SpotDeploymentsNamespace: pulumi.String("string"),
},
SpotDeployments: oceancd.RolloutSpecSpotDeploymentArray{
&oceancd.RolloutSpecSpotDeploymentArgs{
SpotDeploymentsClusterId: pulumi.String("string"),
SpotDeploymentsName: pulumi.String("string"),
SpotDeploymentsNamespace: pulumi.String("string"),
},
},
Traffic: &oceancd.RolloutSpecTrafficArgs{
Alb: &oceancd.RolloutSpecTrafficAlbArgs{
AlbIngress: pulumi.String("string"),
AlbRootService: pulumi.String("string"),
ServicePort: pulumi.Int(0),
AlbAnnotationPrefix: pulumi.String("string"),
StickinessConfig: &oceancd.RolloutSpecTrafficAlbStickinessConfigArgs{
DurationSeconds: pulumi.Int(0),
Enabled: pulumi.Bool(false),
},
},
Ambassador: &oceancd.RolloutSpecTrafficAmbassadorArgs{
Mappings: pulumi.StringArray{
pulumi.String("string"),
},
},
CanaryService: pulumi.String("string"),
Istio: &oceancd.RolloutSpecTrafficIstioArgs{
VirtualServices: oceancd.RolloutSpecTrafficIstioVirtualServiceArray{
&oceancd.RolloutSpecTrafficIstioVirtualServiceArgs{
VirtualServiceName: pulumi.String("string"),
TlsRoutes: oceancd.RolloutSpecTrafficIstioVirtualServiceTlsRouteArray{
&oceancd.RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs{
Port: pulumi.Int(0),
SniHosts: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VirtualServiceRoutes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DestinationRule: &oceancd.RolloutSpecTrafficIstioDestinationRuleArgs{
CanarySubsetName: pulumi.String("string"),
DestinationRuleName: pulumi.String("string"),
StableSubsetName: pulumi.String("string"),
},
},
Nginx: &oceancd.RolloutSpecTrafficNginxArgs{
StableIngress: pulumi.String("string"),
AdditionalIngressAnnotation: &oceancd.RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs{
CanaryByHeader: pulumi.String("string"),
Key1: pulumi.String("string"),
},
NginxAnnotationPrefix: pulumi.String("string"),
},
PingPong: &oceancd.RolloutSpecTrafficPingPongArgs{
PingService: pulumi.String("string"),
PongService: pulumi.String("string"),
},
Smi: &oceancd.RolloutSpecTrafficSmiArgs{
SmiRootService: pulumi.String("string"),
TrafficSplitName: pulumi.String("string"),
},
StableService: pulumi.String("string"),
},
})
var rolloutSpecResource = new RolloutSpec("rolloutSpecResource", RolloutSpecArgs.builder()
.rolloutSpecName("string")
.strategy(RolloutSpecStrategyArgs.builder()
.strategyName("string")
.args(RolloutSpecStrategyArgArgs.builder()
.argName("string")
.argValue("string")
.valueFrom(RolloutSpecStrategyArgValueFromArgs.builder()
.fieldRef(RolloutSpecStrategyArgValueFromFieldRefArgs.builder()
.fieldPath("string")
.build())
.build())
.build())
.build())
.failurePolicy(RolloutSpecFailurePolicyArgs.builder()
.action("string")
.build())
.spotDeployment(RolloutSpecSpotDeploymentArgs.builder()
.spotDeploymentsClusterId("string")
.spotDeploymentsName("string")
.spotDeploymentsNamespace("string")
.build())
.spotDeployments(RolloutSpecSpotDeploymentArgs.builder()
.spotDeploymentsClusterId("string")
.spotDeploymentsName("string")
.spotDeploymentsNamespace("string")
.build())
.traffic(RolloutSpecTrafficArgs.builder()
.alb(RolloutSpecTrafficAlbArgs.builder()
.albIngress("string")
.albRootService("string")
.servicePort(0)
.albAnnotationPrefix("string")
.stickinessConfig(RolloutSpecTrafficAlbStickinessConfigArgs.builder()
.durationSeconds(0)
.enabled(false)
.build())
.build())
.ambassador(RolloutSpecTrafficAmbassadorArgs.builder()
.mappings("string")
.build())
.canaryService("string")
.istio(RolloutSpecTrafficIstioArgs.builder()
.virtualServices(RolloutSpecTrafficIstioVirtualServiceArgs.builder()
.virtualServiceName("string")
.tlsRoutes(RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs.builder()
.port(0)
.sniHosts("string")
.build())
.virtualServiceRoutes("string")
.build())
.destinationRule(RolloutSpecTrafficIstioDestinationRuleArgs.builder()
.canarySubsetName("string")
.destinationRuleName("string")
.stableSubsetName("string")
.build())
.build())
.nginx(RolloutSpecTrafficNginxArgs.builder()
.stableIngress("string")
.additionalIngressAnnotation(RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs.builder()
.canaryByHeader("string")
.key1("string")
.build())
.nginxAnnotationPrefix("string")
.build())
.pingPong(RolloutSpecTrafficPingPongArgs.builder()
.pingService("string")
.pongService("string")
.build())
.smi(RolloutSpecTrafficSmiArgs.builder()
.smiRootService("string")
.trafficSplitName("string")
.build())
.stableService("string")
.build())
.build());
rollout_spec_resource = spotinst.oceancd.RolloutSpec("rolloutSpecResource",
rollout_spec_name="string",
strategy=spotinst.oceancd.RolloutSpecStrategyArgs(
strategy_name="string",
args=[spotinst.oceancd.RolloutSpecStrategyArgArgs(
arg_name="string",
arg_value="string",
value_from=spotinst.oceancd.RolloutSpecStrategyArgValueFromArgs(
field_ref=spotinst.oceancd.RolloutSpecStrategyArgValueFromFieldRefArgs(
field_path="string",
),
),
)],
),
failure_policy=spotinst.oceancd.RolloutSpecFailurePolicyArgs(
action="string",
),
spot_deployment=spotinst.oceancd.RolloutSpecSpotDeploymentArgs(
spot_deployments_cluster_id="string",
spot_deployments_name="string",
spot_deployments_namespace="string",
),
spot_deployments=[spotinst.oceancd.RolloutSpecSpotDeploymentArgs(
spot_deployments_cluster_id="string",
spot_deployments_name="string",
spot_deployments_namespace="string",
)],
traffic=spotinst.oceancd.RolloutSpecTrafficArgs(
alb=spotinst.oceancd.RolloutSpecTrafficAlbArgs(
alb_ingress="string",
alb_root_service="string",
service_port=0,
alb_annotation_prefix="string",
stickiness_config=spotinst.oceancd.RolloutSpecTrafficAlbStickinessConfigArgs(
duration_seconds=0,
enabled=False,
),
),
ambassador=spotinst.oceancd.RolloutSpecTrafficAmbassadorArgs(
mappings=["string"],
),
canary_service="string",
istio=spotinst.oceancd.RolloutSpecTrafficIstioArgs(
virtual_services=[spotinst.oceancd.RolloutSpecTrafficIstioVirtualServiceArgs(
virtual_service_name="string",
tls_routes=[spotinst.oceancd.RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs(
port=0,
sni_hosts=["string"],
)],
virtual_service_routes=["string"],
)],
destination_rule=spotinst.oceancd.RolloutSpecTrafficIstioDestinationRuleArgs(
canary_subset_name="string",
destination_rule_name="string",
stable_subset_name="string",
),
),
nginx=spotinst.oceancd.RolloutSpecTrafficNginxArgs(
stable_ingress="string",
additional_ingress_annotation=spotinst.oceancd.RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs(
canary_by_header="string",
key1="string",
),
nginx_annotation_prefix="string",
),
ping_pong=spotinst.oceancd.RolloutSpecTrafficPingPongArgs(
ping_service="string",
pong_service="string",
),
smi=spotinst.oceancd.RolloutSpecTrafficSmiArgs(
smi_root_service="string",
traffic_split_name="string",
),
stable_service="string",
))
const rolloutSpecResource = new spotinst.oceancd.RolloutSpec("rolloutSpecResource", {
rolloutSpecName: "string",
strategy: {
strategyName: "string",
args: [{
argName: "string",
argValue: "string",
valueFrom: {
fieldRef: {
fieldPath: "string",
},
},
}],
},
failurePolicy: {
action: "string",
},
spotDeployment: {
spotDeploymentsClusterId: "string",
spotDeploymentsName: "string",
spotDeploymentsNamespace: "string",
},
spotDeployments: [{
spotDeploymentsClusterId: "string",
spotDeploymentsName: "string",
spotDeploymentsNamespace: "string",
}],
traffic: {
alb: {
albIngress: "string",
albRootService: "string",
servicePort: 0,
albAnnotationPrefix: "string",
stickinessConfig: {
durationSeconds: 0,
enabled: false,
},
},
ambassador: {
mappings: ["string"],
},
canaryService: "string",
istio: {
virtualServices: [{
virtualServiceName: "string",
tlsRoutes: [{
port: 0,
sniHosts: ["string"],
}],
virtualServiceRoutes: ["string"],
}],
destinationRule: {
canarySubsetName: "string",
destinationRuleName: "string",
stableSubsetName: "string",
},
},
nginx: {
stableIngress: "string",
additionalIngressAnnotation: {
canaryByHeader: "string",
key1: "string",
},
nginxAnnotationPrefix: "string",
},
pingPong: {
pingService: "string",
pongService: "string",
},
smi: {
smiRootService: "string",
trafficSplitName: "string",
},
stableService: "string",
},
});
type: spotinst:oceancd:RolloutSpec
properties:
failurePolicy:
action: string
rolloutSpecName: string
spotDeployment:
spotDeploymentsClusterId: string
spotDeploymentsName: string
spotDeploymentsNamespace: string
spotDeployments:
- spotDeploymentsClusterId: string
spotDeploymentsName: string
spotDeploymentsNamespace: string
strategy:
args:
- argName: string
argValue: string
valueFrom:
fieldRef:
fieldPath: string
strategyName: string
traffic:
alb:
albAnnotationPrefix: string
albIngress: string
albRootService: string
servicePort: 0
stickinessConfig:
durationSeconds: 0
enabled: false
ambassador:
mappings:
- string
canaryService: string
istio:
destinationRule:
canarySubsetName: string
destinationRuleName: string
stableSubsetName: string
virtualServices:
- tlsRoutes:
- port: 0
sniHosts:
- string
virtualServiceName: string
virtualServiceRoutes:
- string
nginx:
additionalIngressAnnotation:
canaryByHeader: string
key1: string
nginxAnnotationPrefix: string
stableIngress: string
pingPong:
pingService: string
pongService: string
smi:
smiRootService: string
trafficSplitName: string
stableService: string
RolloutSpec 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 RolloutSpec resource accepts the following input properties:
- Rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- Strategy
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Strategy - Determines the Ocean CD strategy
- Failure
Policy Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Failure Policy - Holds information on how to react when failure happens.
- Spot
Deployment Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Spot Deployment - Represents the SpotDeployment selector.
- Spot
Deployments List<Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Spot Deployment> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - Traffic
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- Rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- Strategy
Rollout
Spec Strategy Args - Determines the Ocean CD strategy
- Failure
Policy RolloutSpec Failure Policy Args - Holds information on how to react when failure happens.
- Spot
Deployment RolloutSpec Spot Deployment Args - Represents the SpotDeployment selector.
- Spot
Deployments []RolloutSpec Spot Deployment Args - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - Traffic
Rollout
Spec Traffic Args - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- rollout
Spec StringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- strategy
Rollout
Spec Strategy - Determines the Ocean CD strategy
- failure
Policy RolloutSpec Failure Policy - Holds information on how to react when failure happens.
- spot
Deployment RolloutSpec Spot Deployment - Represents the SpotDeployment selector.
- spot
Deployments List<RolloutSpec Spot Deployment> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - traffic
Rollout
Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- strategy
Rollout
Spec Strategy - Determines the Ocean CD strategy
- failure
Policy RolloutSpec Failure Policy - Holds information on how to react when failure happens.
- spot
Deployment RolloutSpec Spot Deployment - Represents the SpotDeployment selector.
- spot
Deployments RolloutSpec Spot Deployment[] - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - traffic
Rollout
Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- rollout_
spec_ strname - Identifier name for Ocean CD Rollout Spec. Must be unique
- strategy
Rollout
Spec Strategy Args - Determines the Ocean CD strategy
- failure_
policy RolloutSpec Failure Policy Args - Holds information on how to react when failure happens.
- spot_
deployment RolloutSpec Spot Deployment Args - Represents the SpotDeployment selector.
- spot_
deployments Sequence[RolloutSpec Spot Deployment Args] - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - traffic
Rollout
Spec Traffic Args - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- rollout
Spec StringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- strategy Property Map
- Determines the Ocean CD strategy
- failure
Policy Property Map - Holds information on how to react when failure happens.
- spot
Deployment Property Map - Represents the SpotDeployment selector.
- spot
Deployments List<Property Map> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - traffic Property Map
- Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
Outputs
All input properties are implicitly available as output properties. Additionally, the RolloutSpec resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RolloutSpec Resource
Get an existing RolloutSpec 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?: RolloutSpecState, opts?: CustomResourceOptions): RolloutSpec
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
failure_policy: Optional[RolloutSpecFailurePolicyArgs] = None,
rollout_spec_name: Optional[str] = None,
spot_deployment: Optional[RolloutSpecSpotDeploymentArgs] = None,
spot_deployments: Optional[Sequence[RolloutSpecSpotDeploymentArgs]] = None,
strategy: Optional[RolloutSpecStrategyArgs] = None,
traffic: Optional[RolloutSpecTrafficArgs] = None) -> RolloutSpec
func GetRolloutSpec(ctx *Context, name string, id IDInput, state *RolloutSpecState, opts ...ResourceOption) (*RolloutSpec, error)
public static RolloutSpec Get(string name, Input<string> id, RolloutSpecState? state, CustomResourceOptions? opts = null)
public static RolloutSpec get(String name, Output<String> id, RolloutSpecState 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.
- Failure
Policy Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Failure Policy - Holds information on how to react when failure happens.
- Rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- Spot
Deployment Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Spot Deployment - Represents the SpotDeployment selector.
- Spot
Deployments List<Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Spot Deployment> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - Strategy
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Strategy - Determines the Ocean CD strategy
- Traffic
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- Failure
Policy RolloutSpec Failure Policy Args - Holds information on how to react when failure happens.
- Rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- Spot
Deployment RolloutSpec Spot Deployment Args - Represents the SpotDeployment selector.
- Spot
Deployments []RolloutSpec Spot Deployment Args - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - Strategy
Rollout
Spec Strategy Args - Determines the Ocean CD strategy
- Traffic
Rollout
Spec Traffic Args - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- failure
Policy RolloutSpec Failure Policy - Holds information on how to react when failure happens.
- rollout
Spec StringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- spot
Deployment RolloutSpec Spot Deployment - Represents the SpotDeployment selector.
- spot
Deployments List<RolloutSpec Spot Deployment> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - strategy
Rollout
Spec Strategy - Determines the Ocean CD strategy
- traffic
Rollout
Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- failure
Policy RolloutSpec Failure Policy - Holds information on how to react when failure happens.
- rollout
Spec stringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- spot
Deployment RolloutSpec Spot Deployment - Represents the SpotDeployment selector.
- spot
Deployments RolloutSpec Spot Deployment[] - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - strategy
Rollout
Spec Strategy - Determines the Ocean CD strategy
- traffic
Rollout
Spec Traffic - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- failure_
policy RolloutSpec Failure Policy Args - Holds information on how to react when failure happens.
- rollout_
spec_ strname - Identifier name for Ocean CD Rollout Spec. Must be unique
- spot_
deployment RolloutSpec Spot Deployment Args - Represents the SpotDeployment selector.
- spot_
deployments Sequence[RolloutSpec Spot Deployment Args] - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - strategy
Rollout
Spec Strategy Args - Determines the Ocean CD strategy
- traffic
Rollout
Spec Traffic Args - Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
- failure
Policy Property Map - Holds information on how to react when failure happens.
- rollout
Spec StringName - Identifier name for Ocean CD Rollout Spec. Must be unique
- spot
Deployment Property Map - Represents the SpotDeployment selector.
- spot
Deployments List<Property Map> - You must specify either
spotDeployment
ORspotDeployments
but not both. Every SpotDeployment has to be unique. If more than oneSpotDeployment
has been configured, notraffic
managers can be set as part of the RolloutSpec.For such case ensure that each of the chosen SpotDeployments are being exposed with different Kubernetes services. - strategy Property Map
- Determines the Ocean CD strategy
- traffic Property Map
- Hosts all of the supported service meshes needed to enable more fine-grained traffic routing. In case
SpotDeployments
contains more than one SpotDeployment thetraffic
manager may not be configured.
Supporting Types
RolloutSpecFailurePolicy, RolloutSpecFailurePolicyArgs
- Action string
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
- Action string
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
- action String
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
- action string
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
- action str
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
- action String
- Choose an action to perform on failure. Default is
abort
. Enum: "abort" "pause" "promote".
RolloutSpecSpotDeployment, RolloutSpecSpotDeploymentArgs
- Spot
Deployments stringCluster Id - Ocean CD cluster identifier for the references
SpotDeployment
. - Spot
Deployments stringName - The name of the
SpotDeployment
resource - Spot
Deployments stringNamespace - The namespace which the
SpotDeployment
resource exists within.
- Spot
Deployments stringCluster Id - Ocean CD cluster identifier for the references
SpotDeployment
. - Spot
Deployments stringName - The name of the
SpotDeployment
resource - Spot
Deployments stringNamespace - The namespace which the
SpotDeployment
resource exists within.
- spot
Deployments StringCluster Id - Ocean CD cluster identifier for the references
SpotDeployment
. - spot
Deployments StringName - The name of the
SpotDeployment
resource - spot
Deployments StringNamespace - The namespace which the
SpotDeployment
resource exists within.
- spot
Deployments stringCluster Id - Ocean CD cluster identifier for the references
SpotDeployment
. - spot
Deployments stringName - The name of the
SpotDeployment
resource - spot
Deployments stringNamespace - The namespace which the
SpotDeployment
resource exists within.
- spot_
deployments_ strcluster_ id - Ocean CD cluster identifier for the references
SpotDeployment
. - spot_
deployments_ strname - The name of the
SpotDeployment
resource - spot_
deployments_ strnamespace - The namespace which the
SpotDeployment
resource exists within.
- spot
Deployments StringCluster Id - Ocean CD cluster identifier for the references
SpotDeployment
. - spot
Deployments StringName - The name of the
SpotDeployment
resource - spot
Deployments StringNamespace - The namespace which the
SpotDeployment
resource exists within.
RolloutSpecStrategy, RolloutSpecStrategyArgs
- Strategy
Name string - Ocean CD strategy name identifier.
- Args
List<Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Strategy Arg> - Arguments defined in Verification Templates.
- Strategy
Name string - Ocean CD strategy name identifier.
- Args
[]Rollout
Spec Strategy Arg - Arguments defined in Verification Templates.
- strategy
Name String - Ocean CD strategy name identifier.
- args
List<Rollout
Spec Strategy Arg> - Arguments defined in Verification Templates.
- strategy
Name string - Ocean CD strategy name identifier.
- args
Rollout
Spec Strategy Arg[] - Arguments defined in Verification Templates.
- strategy_
name str - Ocean CD strategy name identifier.
- args
Sequence[Rollout
Spec Strategy Arg] - Arguments defined in Verification Templates.
- strategy
Name String - Ocean CD strategy name identifier.
- args List<Property Map>
- Arguments defined in Verification Templates.
RolloutSpecStrategyArg, RolloutSpecStrategyArgArgs
- Arg
Name string - Name of an argument.
- Arg
Value string - Value of an argument.
- Value
From Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Strategy Arg Value From - Defines from where to get the value of an argument.
- Arg
Name string - Name of an argument.
- Arg
Value string - Value of an argument.
- Value
From RolloutSpec Strategy Arg Value From - Defines from where to get the value of an argument.
- arg
Name String - Name of an argument.
- arg
Value String - Value of an argument.
- value
From RolloutSpec Strategy Arg Value From - Defines from where to get the value of an argument.
- arg
Name string - Name of an argument.
- arg
Value string - Value of an argument.
- value
From RolloutSpec Strategy Arg Value From - Defines from where to get the value of an argument.
- arg_
name str - Name of an argument.
- arg_
value str - Value of an argument.
- value_
from RolloutSpec Strategy Arg Value From - Defines from where to get the value of an argument.
- arg
Name String - Name of an argument.
- arg
Value String - Value of an argument.
- value
From Property Map - Defines from where to get the value of an argument.
RolloutSpecStrategyArgValueFrom, RolloutSpecStrategyArgValueFromArgs
- Field
Ref Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Strategy Arg Value From Field Ref - Defines the field path from where to get the value of an argument.
- Field
Ref RolloutSpec Strategy Arg Value From Field Ref - Defines the field path from where to get the value of an argument.
- field
Ref RolloutSpec Strategy Arg Value From Field Ref - Defines the field path from where to get the value of an argument.
- field
Ref RolloutSpec Strategy Arg Value From Field Ref - Defines the field path from where to get the value of an argument.
- field_
ref RolloutSpec Strategy Arg Value From Field Ref - Defines the field path from where to get the value of an argument.
- field
Ref Property Map - Defines the field path from where to get the value of an argument.
RolloutSpecStrategyArgValueFromFieldRef, RolloutSpecStrategyArgValueFromFieldRefArgs
- Field
Path string - Path to SpotDeployment's field from where to get the value of an argument.
- Field
Path string - Path to SpotDeployment's field from where to get the value of an argument.
- field
Path String - Path to SpotDeployment's field from where to get the value of an argument.
- field
Path string - Path to SpotDeployment's field from where to get the value of an argument.
- field_
path str - Path to SpotDeployment's field from where to get the value of an argument.
- field
Path String - Path to SpotDeployment's field from where to get the value of an argument.
RolloutSpecTraffic, RolloutSpecTrafficArgs
- Alb
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Alb - Holds ALB Ingress specific configuration to route traffic.
- Ambassador
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Ambassador - Holds specific configuration to use Ambassador to route traffic.
- Canary
Service string - The canary service name.
- Istio
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Istio - Holds Istio specific configuration to route traffic.
- Nginx
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Nginx - Holds Nginx Ingress specific configuration to route traffic.
- Ping
Pong Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Ping Pong - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - Smi
Pulumi.
Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Smi - Holds TrafficSplit specific configuration to route traffic.
- Stable
Service string - The stable service name.
- Alb
Rollout
Spec Traffic Alb - Holds ALB Ingress specific configuration to route traffic.
- Ambassador
Rollout
Spec Traffic Ambassador - Holds specific configuration to use Ambassador to route traffic.
- Canary
Service string - The canary service name.
- Istio
Rollout
Spec Traffic Istio - Holds Istio specific configuration to route traffic.
- Nginx
Rollout
Spec Traffic Nginx - Holds Nginx Ingress specific configuration to route traffic.
- Ping
Pong RolloutSpec Traffic Ping Pong - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - Smi
Rollout
Spec Traffic Smi - Holds TrafficSplit specific configuration to route traffic.
- Stable
Service string - The stable service name.
- alb
Rollout
Spec Traffic Alb - Holds ALB Ingress specific configuration to route traffic.
- ambassador
Rollout
Spec Traffic Ambassador - Holds specific configuration to use Ambassador to route traffic.
- canary
Service String - The canary service name.
- istio
Rollout
Spec Traffic Istio - Holds Istio specific configuration to route traffic.
- nginx
Rollout
Spec Traffic Nginx - Holds Nginx Ingress specific configuration to route traffic.
- ping
Pong RolloutSpec Traffic Ping Pong - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - smi
Rollout
Spec Traffic Smi - Holds TrafficSplit specific configuration to route traffic.
- stable
Service String - The stable service name.
- alb
Rollout
Spec Traffic Alb - Holds ALB Ingress specific configuration to route traffic.
- ambassador
Rollout
Spec Traffic Ambassador - Holds specific configuration to use Ambassador to route traffic.
- canary
Service string - The canary service name.
- istio
Rollout
Spec Traffic Istio - Holds Istio specific configuration to route traffic.
- nginx
Rollout
Spec Traffic Nginx - Holds Nginx Ingress specific configuration to route traffic.
- ping
Pong RolloutSpec Traffic Ping Pong - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - smi
Rollout
Spec Traffic Smi - Holds TrafficSplit specific configuration to route traffic.
- stable
Service string - The stable service name.
- alb
Rollout
Spec Traffic Alb - Holds ALB Ingress specific configuration to route traffic.
- ambassador
Rollout
Spec Traffic Ambassador - Holds specific configuration to use Ambassador to route traffic.
- canary_
service str - The canary service name.
- istio
Rollout
Spec Traffic Istio - Holds Istio specific configuration to route traffic.
- nginx
Rollout
Spec Traffic Nginx - Holds Nginx Ingress specific configuration to route traffic.
- ping_
pong RolloutSpec Traffic Ping Pong - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - smi
Rollout
Spec Traffic Smi - Holds TrafficSplit specific configuration to route traffic.
- stable_
service str - The stable service name.
- alb Property Map
- Holds ALB Ingress specific configuration to route traffic.
- ambassador Property Map
- Holds specific configuration to use Ambassador to route traffic.
- canary
Service String - The canary service name.
- istio Property Map
- Holds Istio specific configuration to route traffic.
- nginx Property Map
- Holds Nginx Ingress specific configuration to route traffic.
- ping
Pong Property Map - Holds the ping and pong services. You can use
pingPong
field only when using ALB as a traffic manager with the IP Mode approach. - smi Property Map
- Holds TrafficSplit specific configuration to route traffic.
- stable
Service String - The stable service name.
RolloutSpecTrafficAlb, RolloutSpecTrafficAlbArgs
- Alb
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - Alb
Root stringService - References the service in the ingress to the controller should add the action to.
- Service
Port int - Refers to the port that the Ingress action should route traffic to.
- Alb
Annotation stringPrefix - Has to match the configured annotation prefix on the alb ingress controller.
- Stickiness
Config Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Alb Stickiness Config - Allows to specify further settings on the ForwardConfig.
- Alb
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - Alb
Root stringService - References the service in the ingress to the controller should add the action to.
- Service
Port int - Refers to the port that the Ingress action should route traffic to.
- Alb
Annotation stringPrefix - Has to match the configured annotation prefix on the alb ingress controller.
- Stickiness
Config RolloutSpec Traffic Alb Stickiness Config - Allows to specify further settings on the ForwardConfig.
- alb
Ingress String - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - alb
Root StringService - References the service in the ingress to the controller should add the action to.
- service
Port Integer - Refers to the port that the Ingress action should route traffic to.
- alb
Annotation StringPrefix - Has to match the configured annotation prefix on the alb ingress controller.
- stickiness
Config RolloutSpec Traffic Alb Stickiness Config - Allows to specify further settings on the ForwardConfig.
- alb
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - alb
Root stringService - References the service in the ingress to the controller should add the action to.
- service
Port number - Refers to the port that the Ingress action should route traffic to.
- alb
Annotation stringPrefix - Has to match the configured annotation prefix on the alb ingress controller.
- stickiness
Config RolloutSpec Traffic Alb Stickiness Config - Allows to specify further settings on the ForwardConfig.
- alb_
ingress str - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - alb_
root_ strservice - References the service in the ingress to the controller should add the action to.
- service_
port int - Refers to the port that the Ingress action should route traffic to.
- alb_
annotation_ strprefix - Has to match the configured annotation prefix on the alb ingress controller.
- stickiness_
config RolloutSpec Traffic Alb Stickiness Config - Allows to specify further settings on the ForwardConfig.
- alb
Ingress String - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - alb
Root StringService - References the service in the ingress to the controller should add the action to.
- service
Port Number - Refers to the port that the Ingress action should route traffic to.
- alb
Annotation StringPrefix - Has to match the configured annotation prefix on the alb ingress controller.
- stickiness
Config Property Map - Allows to specify further settings on the ForwardConfig.
RolloutSpecTrafficAlbStickinessConfig, RolloutSpecTrafficAlbStickinessConfigArgs
- Duration
Seconds int - Defines how long the load balancer should consistently route the user's request to the same target.
- Enabled bool
- Enables the load balancer to bind a user's session to a specific target.
- Duration
Seconds int - Defines how long the load balancer should consistently route the user's request to the same target.
- Enabled bool
- Enables the load balancer to bind a user's session to a specific target.
- duration
Seconds Integer - Defines how long the load balancer should consistently route the user's request to the same target.
- enabled Boolean
- Enables the load balancer to bind a user's session to a specific target.
- duration
Seconds number - Defines how long the load balancer should consistently route the user's request to the same target.
- enabled boolean
- Enables the load balancer to bind a user's session to a specific target.
- duration_
seconds int - Defines how long the load balancer should consistently route the user's request to the same target.
- enabled bool
- Enables the load balancer to bind a user's session to a specific target.
- duration
Seconds Number - Defines how long the load balancer should consistently route the user's request to the same target.
- enabled Boolean
- Enables the load balancer to bind a user's session to a specific target.
RolloutSpecTrafficAmbassador, RolloutSpecTrafficAmbassadorArgs
- Mappings List<string>
- A list of names of the Ambassador Mappings used to route traffic to the service.
- Mappings []string
- A list of names of the Ambassador Mappings used to route traffic to the service.
- mappings List<String>
- A list of names of the Ambassador Mappings used to route traffic to the service.
- mappings string[]
- A list of names of the Ambassador Mappings used to route traffic to the service.
- mappings Sequence[str]
- A list of names of the Ambassador Mappings used to route traffic to the service.
- mappings List<String>
- A list of names of the Ambassador Mappings used to route traffic to the service.
RolloutSpecTrafficIstio, RolloutSpecTrafficIstioArgs
- Virtual
Services List<Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Istio Virtual Service> - Defines a set of traffic routing rules to apply when a host is addressed.
- Destination
Rule Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Istio Destination Rule - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
- Virtual
Services []RolloutSpec Traffic Istio Virtual Service - Defines a set of traffic routing rules to apply when a host is addressed.
- Destination
Rule RolloutSpec Traffic Istio Destination Rule - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
- virtual
Services List<RolloutSpec Traffic Istio Virtual Service> - Defines a set of traffic routing rules to apply when a host is addressed.
- destination
Rule RolloutSpec Traffic Istio Destination Rule - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
- virtual
Services RolloutSpec Traffic Istio Virtual Service[] - Defines a set of traffic routing rules to apply when a host is addressed.
- destination
Rule RolloutSpec Traffic Istio Destination Rule - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
- virtual_
services Sequence[RolloutSpec Traffic Istio Virtual Service] - Defines a set of traffic routing rules to apply when a host is addressed.
- destination_
rule RolloutSpec Traffic Istio Destination Rule - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
- virtual
Services List<Property Map> - Defines a set of traffic routing rules to apply when a host is addressed.
- destination
Rule Property Map - It references to an Istio DestinationRule to modify and shape traffic.
DestinationRule
field belongs only to the Subset Level approach.
RolloutSpecTrafficIstioDestinationRule, RolloutSpecTrafficIstioDestinationRuleArgs
- Canary
Subset stringName - The subset name to modify labels with the canary version.
- Destination
Rule stringName - Holds the name of the DestinationRule.
- Stable
Subset stringName - The subset name to modify labels with the stable version.
- Canary
Subset stringName - The subset name to modify labels with the canary version.
- Destination
Rule stringName - Holds the name of the DestinationRule.
- Stable
Subset stringName - The subset name to modify labels with the stable version.
- canary
Subset StringName - The subset name to modify labels with the canary version.
- destination
Rule StringName - Holds the name of the DestinationRule.
- stable
Subset StringName - The subset name to modify labels with the stable version.
- canary
Subset stringName - The subset name to modify labels with the canary version.
- destination
Rule stringName - Holds the name of the DestinationRule.
- stable
Subset stringName - The subset name to modify labels with the stable version.
- canary_
subset_ strname - The subset name to modify labels with the canary version.
- destination_
rule_ strname - Holds the name of the DestinationRule.
- stable_
subset_ strname - The subset name to modify labels with the stable version.
- canary
Subset StringName - The subset name to modify labels with the canary version.
- destination
Rule StringName - Holds the name of the DestinationRule.
- stable
Subset StringName - The subset name to modify labels with the stable version.
RolloutSpecTrafficIstioVirtualService, RolloutSpecTrafficIstioVirtualServiceArgs
- Virtual
Service stringName - Holds the name of the VirtualService.
- Tls
Routes List<Pulumi.Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Istio Virtual Service Tls Route> - A list of HTTPS routes within VirtualService.
- Virtual
Service List<string>Routes - A list of HTTP routes within VirtualService.
- Virtual
Service stringName - Holds the name of the VirtualService.
- Tls
Routes []RolloutSpec Traffic Istio Virtual Service Tls Route - A list of HTTPS routes within VirtualService.
- Virtual
Service []stringRoutes - A list of HTTP routes within VirtualService.
- virtual
Service StringName - Holds the name of the VirtualService.
- tls
Routes List<RolloutSpec Traffic Istio Virtual Service Tls Route> - A list of HTTPS routes within VirtualService.
- virtual
Service List<String>Routes - A list of HTTP routes within VirtualService.
- virtual
Service stringName - Holds the name of the VirtualService.
- tls
Routes RolloutSpec Traffic Istio Virtual Service Tls Route[] - A list of HTTPS routes within VirtualService.
- virtual
Service string[]Routes - A list of HTTP routes within VirtualService.
- virtual_
service_ strname - Holds the name of the VirtualService.
- tls_
routes Sequence[RolloutSpec Traffic Istio Virtual Service Tls Route] - A list of HTTPS routes within VirtualService.
- virtual_
service_ Sequence[str]routes - A list of HTTP routes within VirtualService.
- virtual
Service StringName - Holds the name of the VirtualService.
- tls
Routes List<Property Map> - A list of HTTPS routes within VirtualService.
- virtual
Service List<String>Routes - A list of HTTP routes within VirtualService.
RolloutSpecTrafficIstioVirtualServiceTlsRoute, RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs
RolloutSpecTrafficNginx, RolloutSpecTrafficNginxArgs
- Stable
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - Additional
Ingress Pulumi.Annotation Spot Inst. Oceancd. Inputs. Rollout Spec Traffic Nginx Additional Ingress Annotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- Nginx
Annotation stringPrefix - Has to match the configured annotation prefix on the Nginx ingress controller.
- Stable
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - Additional
Ingress RolloutAnnotation Spec Traffic Nginx Additional Ingress Annotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- Nginx
Annotation stringPrefix - Has to match the configured annotation prefix on the Nginx ingress controller.
- stable
Ingress String - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - additional
Ingress RolloutAnnotation Spec Traffic Nginx Additional Ingress Annotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- nginx
Annotation StringPrefix - Has to match the configured annotation prefix on the Nginx ingress controller.
- stable
Ingress string - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - additional
Ingress RolloutAnnotation Spec Traffic Nginx Additional Ingress Annotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- nginx
Annotation stringPrefix - Has to match the configured annotation prefix on the Nginx ingress controller.
- stable_
ingress str - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - additional_
ingress_ Rolloutannotation Spec Traffic Nginx Additional Ingress Annotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- nginx_
annotation_ strprefix - Has to match the configured annotation prefix on the Nginx ingress controller.
- stable
Ingress String - Refers to the name of an
Ingress
resource in the same namespace as theSpotDeployment
. - additional
Ingress Property MapAnnotation - Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
- nginx
Annotation StringPrefix - Has to match the configured annotation prefix on the Nginx ingress controller.
RolloutSpecTrafficNginxAdditionalIngressAnnotation, RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs
- Canary
By stringHeader - Allows customizing the header value instead of using hardcoded values.
- Key1 string
- Any of supported annotations.
- Canary
By stringHeader - Allows customizing the header value instead of using hardcoded values.
- Key1 string
- Any of supported annotations.
- canary
By StringHeader - Allows customizing the header value instead of using hardcoded values.
- key1 String
- Any of supported annotations.
- canary
By stringHeader - Allows customizing the header value instead of using hardcoded values.
- key1 string
- Any of supported annotations.
- canary_
by_ strheader - Allows customizing the header value instead of using hardcoded values.
- key1 str
- Any of supported annotations.
- canary
By StringHeader - Allows customizing the header value instead of using hardcoded values.
- key1 String
- Any of supported annotations.
RolloutSpecTrafficPingPong, RolloutSpecTrafficPingPongArgs
- Ping
Service string - Holds the name of the ping service.
- Pong
Service string - Holds the name of the pong service.
- Ping
Service string - Holds the name of the ping service.
- Pong
Service string - Holds the name of the pong service.
- ping
Service String - Holds the name of the ping service.
- pong
Service String - Holds the name of the pong service.
- ping
Service string - Holds the name of the ping service.
- pong
Service string - Holds the name of the pong service.
- ping_
service str - Holds the name of the ping service.
- pong_
service str - Holds the name of the pong service.
- ping
Service String - Holds the name of the ping service.
- pong
Service String - Holds the name of the pong service.
RolloutSpecTrafficSmi, RolloutSpecTrafficSmiArgs
- Smi
Root stringService - Holds the name of service that clients use to communicate.
- Traffic
Split stringName - Holds the name of the TrafficSplit.
- Smi
Root stringService - Holds the name of service that clients use to communicate.
- Traffic
Split stringName - Holds the name of the TrafficSplit.
- smi
Root StringService - Holds the name of service that clients use to communicate.
- traffic
Split StringName - Holds the name of the TrafficSplit.
- smi
Root stringService - Holds the name of service that clients use to communicate.
- traffic
Split stringName - Holds the name of the TrafficSplit.
- smi_
root_ strservice - Holds the name of service that clients use to communicate.
- traffic_
split_ strname - Holds the name of the TrafficSplit.
- smi
Root StringService - Holds the name of service that clients use to communicate.
- traffic
Split StringName - Holds the name of the TrafficSplit.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.