Fleet is the Schema for the Fleets API. Provides a resource to manage EC2 Fleets
Type
CRD
Group
ec2.aws.upbound.io
Version
v1beta1
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Fleet
FleetSpec defines the desired state of Fleet
No description provided.
Information about the instances that were launched by the fleet. Available only when type is set to instant.
Nested argument containing EC2 Launch Template configurations. Defined below.
Nested argument containing EC2 Launch Template to use. Defined below.
Reference to a LaunchTemplate in ec2 to populate launchTemplateId.
Policies for referencing.
Selector for a LaunchTemplate in ec2 to populate launchTemplateId.
Policies for selection.
Reference to a LaunchTemplate in ec2 to populate version.
Policies for referencing.
Selector for a LaunchTemplate in ec2 to populate version.
Policies for selection.
Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
Override the instance type in the Launch Template with instance types that satisfy the requirements.
List of accelerator manufacturer names. Default is any manufacturer.
List of accelerator names. Default is any acclerator.
The accelerator types that must be on the instance type. Default is any accelerator type.
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type.
The CPU manufacturers to include. Default is any manufacturer. ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.
List of local storage type names. Valid values are hdd and ssd. Default any storage type.
Nested argument containing On-Demand configurations. Defined below.
Demand capacity. Supported only for fleets of type instant.
Nested argument containing Spot configurations. Defined below.
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
Nested argument containing the capacity rebalance for your fleet request. Defined below.
Nested argument containing target capacity configurations. Defined below.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
Information about the instances that were launched by the fleet. Available only when type is set to instant.
Nested argument containing EC2 Launch Template configurations. Defined below.
Nested argument containing EC2 Launch Template to use. Defined below.
Reference to a LaunchTemplate in ec2 to populate launchTemplateId.
Policies for referencing.
Selector for a LaunchTemplate in ec2 to populate launchTemplateId.
Policies for selection.
Reference to a LaunchTemplate in ec2 to populate version.
Policies for referencing.
Selector for a LaunchTemplate in ec2 to populate version.
Policies for selection.
Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
Override the instance type in the Launch Template with instance types that satisfy the requirements.
List of accelerator manufacturer names. Default is any manufacturer.
List of accelerator names. Default is any acclerator.
The accelerator types that must be on the instance type. Default is any accelerator type.
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type.
The CPU manufacturers to include. Default is any manufacturer. ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.
List of local storage type names. Valid values are hdd and ssd. Default any storage type.
Nested argument containing On-Demand configurations. Defined below.
Demand capacity. Supported only for fleets of type instant.
Nested argument containing Spot configurations. Defined below.
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
Nested argument containing the capacity rebalance for your fleet request. Defined below.
Nested argument containing target capacity configurations. Defined below.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
FleetStatus defines the observed state of Fleet.
No description provided.
Information about the instances that were launched by the fleet. Available only when type is set to instant.
Nested argument containing EC2 Launch Template configurations. Defined below.
Nested argument containing EC2 Launch Template to use. Defined below.
Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
Override the instance type in the Launch Template with instance types that satisfy the requirements.
List of accelerator manufacturer names. Default is any manufacturer.
List of accelerator names. Default is any acclerator.
The accelerator types that must be on the instance type. Default is any accelerator type.
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards,represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. Default is any instance type.
The CPU manufacturers to include. Default is any manufacturer. ~> NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (). The following are examples: c5, m5a., r, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.
Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.
List of local storage type names. Valid values are hdd and ssd. Default any storage type.
Nested argument containing On-Demand configurations. Defined below.
Demand capacity. Supported only for fleets of type instant.
Nested argument containing Spot configurations. Defined below.
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.
Nested argument containing the capacity rebalance for your fleet request. Defined below.
Nested argument containing target capacity configurations. Defined below.
Conditions of the resource.
example
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Fleet
metadata:
annotations:
meta.upbound.io/example-id: ec2/v1beta1/fleet
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
launchTemplateConfig:
- launchTemplateSpecification:
launchTemplateIdSelector:
matchLabels:
testing.upbound.io/example-name: example
version: "1"
override:
- instanceType: t3.micro
onDemandOptions:
minTargetCapacity: 1
singleAvailabilityZone: true
singleInstanceType: true
region: us-west-2
tags:
example: "true"
targetCapacitySpecification:
defaultTargetCapacityType: on-demand
onDemandTargetCapacity: 1
totalTargetCapacity: 1
terminateInstances: true
type: instant
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.