infrastructure.cluster.x-k8s.io/v1beta1
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group.
Resource Types:OpenStackCluster
OpenStackCluster is the Schema for the openstackclusters API.
Field | Description | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
infrastructure.cluster.x-k8s.io/v1beta1
|
||||||||||||||||||||||||||||||||||||||||||
kind string |
OpenStackCluster |
||||||||||||||||||||||||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||||||||||||||
spec OpenStackClusterSpec |
|
||||||||||||||||||||||||||||||||||||||||||
status OpenStackClusterStatus |
OpenStackClusterTemplate
OpenStackClusterTemplate is the Schema for the openstackclustertemplates API.
Field | Description | ||
---|---|---|---|
apiVersion string |
infrastructure.cluster.x-k8s.io/v1beta1
|
||
kind string |
OpenStackClusterTemplate |
||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
spec OpenStackClusterTemplateSpec |
|
OpenStackMachine
OpenStackMachine is the Schema for the openstackmachines API.
Field | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
infrastructure.cluster.x-k8s.io/v1beta1
|
||||||||||||||||||||||||||||||||||
kind string |
OpenStackMachine |
||||||||||||||||||||||||||||||||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||||||
spec OpenStackMachineSpec |
|
||||||||||||||||||||||||||||||||||
status OpenStackMachineStatus |
OpenStackMachineTemplate
OpenStackMachineTemplate is the Schema for the openstackmachinetemplates API.
Field | Description | ||
---|---|---|---|
apiVersion string |
infrastructure.cluster.x-k8s.io/v1beta1
|
||
kind string |
OpenStackMachineTemplate |
||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
spec OpenStackMachineTemplateSpec |
|
APIServerLoadBalancer
(Appears on: OpenStackClusterSpec)
Field | Description |
---|---|
enabled bool |
Enabled defines whether a load balancer should be created. This value defaults to true if an APIServerLoadBalancer is given. There is no reason to set this to false. To disable creation of the API server loadbalancer, omit the APIServerLoadBalancer field in the cluster spec instead. |
additionalPorts []int |
(Optional)
AdditionalPorts adds additional tcp ports to the load balancer. |
allowedCIDRs []string |
(Optional)
AllowedCIDRs restrict access to all API-Server listeners to the given address CIDRs. |
provider string |
(Optional)
Provider specifies name of a specific Octavia provider to use for the API load balancer. The Octavia default will be used if it is not specified. |
network NetworkParam |
(Optional)
Network defines which network should the load balancer be allocated on. |
subnets []SubnetParam |
(Optional)
Subnets define which subnets should the load balancer be allocated on. It is expected that subnets are located on the network specified in this resource. Only the first element is taken into account. kubebuilder:validation:MaxLength:=2 |
availabilityZone string |
(Optional)
AvailabilityZone is the failure domain that will be used to create the APIServerLoadBalancer Spec. |
flavor string |
(Optional)
Flavor is the flavor name that will be used to create the APIServerLoadBalancer Spec. |
AdditionalBlockDevice
(Appears on: OpenStackMachineSpec)
AdditionalBlockDevice is a block device to attach to the server.
Field | Description |
---|---|
name string |
Name of the block device in the context of a machine. If the block device is a volume, the Cinder volume will be named as a combination of the machine name and this name. Also, this name will be used for tagging the block device. Information about the block device tag can be obtained from the OpenStack metadata API or the config drive. Name cannot be ‘root’, which is reserved for the root volume. |
sizeGiB int |
SizeGiB is the size of the block device in gibibytes (GiB). |
storage BlockDeviceStorage |
Storage specifies the storage type of the block device and additional storage options. |
AddressPair
(Appears on: ResolvedPortSpecFields)
Field | Description |
---|---|
ipAddress string |
IPAddress is the IP address of the allowed address pair. Depending on the configuration of Neutron, it may be supported to specify a CIDR instead of a specific IP address. |
macAddress string |
(Optional)
MACAddress is the MAC address of the allowed address pair. If not specified, the MAC address will be the MAC address of the port. |
AllocationPool
(Appears on: SubnetSpec)
Field | Description |
---|---|
start string |
Start represents the start of the AllocationPool, that is the lowest IP of the pool. |
end string |
End represents the end of the AlloctionPool, that is the highest IP of the pool. |
Bastion
(Appears on: OpenStackClusterSpec)
Bastion represents basic information about the bastion node. If you enable bastion, the spec has to be specified.
Field | Description |
---|---|
enabled bool |
(Optional)
Enabled means that bastion is enabled. The bastion is enabled by default if this field is not specified. Set this field to false to disable the bastion. It is not currently possible to remove the bastion from the cluster spec without first disabling it by setting this field to false and waiting until the bastion has been deleted. |
spec OpenStackMachineSpec |
Spec for the bastion itself |
availabilityZone string |
(Optional)
AvailabilityZone is the failure domain that will be used to create the Bastion Spec. |
floatingIP string |
(Optional)
FloatingIP which will be associated to the bastion machine. It’s the IP address, not UUID. The floating IP should already exist and should not be associated with a port. If FIP of this address does not exist, CAPO will try to create it, but by default only OpenStack administrators have privileges to do so. |
BastionStatus
(Appears on: OpenStackClusterStatus)
Field | Description |
---|---|
id string |
|
name string |
|
sshKeyName string |
|
state InstanceState |
|
ip string |
|
floatingIP string |
|
resolved ResolvedMachineSpec |
(Optional)
Resolved contains parts of the bastion’s machine spec with all external references fully resolved. |
resources MachineResources |
(Optional)
Resources contains references to OpenStack resources created for the bastion. |
BindingProfile
(Appears on: ResolvedPortSpecFields)
Field | Description |
---|---|
ovsHWOffload bool |
(Optional)
OVSHWOffload enables or disables the OVS hardware offload feature. This flag is not required on OpenStack clouds since Yoga as Nova will set it automatically when the port is attached. See: https://bugs.launchpad.net/nova/+bug/2020813 |
trustedVF bool |
(Optional)
TrustedVF enables or disables the “trusted mode” for the VF. |
BlockDeviceStorage
(Appears on: AdditionalBlockDevice)
BlockDeviceStorage is the storage type of a block device to create and contains additional storage options.
Field | Description |
---|---|
type BlockDeviceType |
Type is the type of block device to create. This can be either “Volume” or “Local”. |
volume BlockDeviceVolume |
(Optional)
Volume contains additional storage options for a volume block device. |
BlockDeviceType
(string
alias)
(Appears on: BlockDeviceStorage)
BlockDeviceType defines the type of block device to create.
Value | Description |
---|---|
"Local" |
LocalBlockDevice is an ephemeral block device attached to the server. |
"Volume" |
VolumeBlockDevice is a volume block device attached to the server. |
BlockDeviceVolume
(Appears on: BlockDeviceStorage, RootVolume)
BlockDeviceVolume contains additional storage options for a volume block device.
Field | Description |
---|---|
type string |
(Optional)
Type is the Cinder volume type of the volume. If omitted, the default Cinder volume type that is configured in the OpenStack cloud will be used. |
availabilityZone VolumeAvailabilityZone |
(Optional)
AvailabilityZone is the volume availability zone to create the volume in. If not specified, the volume will be created without an explicit availability zone. |
ExternalRouterIPParam
(Appears on: OpenStackClusterSpec)
Field | Description |
---|---|
fixedIP string |
The FixedIP in the corresponding subnet |
subnet SubnetParam |
The subnet in which the FixedIP is used for the Gateway of this router |
FilterByNeutronTags
(Appears on: NetworkFilter, RouterFilter, SecurityGroupFilter, SubnetFilter)
Field | Description |
---|---|
tags []NeutronTag |
(Optional)
Tags is a list of tags to filter by. If specified, the resource must have all of the tags specified to be included in the result. |
tagsAny []NeutronTag |
(Optional)
TagsAny is a list of tags to filter by. If specified, the resource must have at least one of the tags specified to be included in the result. |
notTags []NeutronTag |
(Optional)
NotTags is a list of tags to filter by. If specified, resources which contain all of the given tags will be excluded from the result. |
notTagsAny []NeutronTag |
(Optional)
NotTagsAny is a list of tags to filter by. If specified, resources which contain any of the given tags will be excluded from the result. |
FixedIP
(Appears on: PortOpts)
Field | Description |
---|---|
subnet SubnetParam |
(Optional)
Subnet is an openstack subnet query that will return the id of a subnet to create the fixed IP of a port in. This query must not return more than one subnet. |
ipAddress string |
(Optional)
IPAddress is a specific IP address to assign to the port. If Subnet is also specified, IPAddress must be a valid IP address in the subnet. If Subnet is not specified, IPAddress must be a valid IP address in any subnet of the port’s network. |
IdentityRefProvider
IdentityRefProvider is an interface for obtaining OpenStack credentials from an API object
ImageFilter
(Appears on: ImageParam)
ImageFilter describes a query for an image.
Field | Description |
---|---|
name string |
(Optional)
The name of the desired image. If specified, the combination of name and tags must return a single matching image or an error will be raised. |
tags []string |
(Optional)
The tags associated with the desired image. If specified, the combination of name and tags must return a single matching image or an error will be raised. |
ImageParam
(Appears on: OpenStackMachineSpec)
ImageParam describes a glance image. It can be specified by ID, filter, or a reference to an ORC Image.
Field | Description |
---|---|
id string |
(Optional)
ID is the uuid of the image. ID will not be validated before use. |
filter ImageFilter |
(Optional)
Filter describes a query for an image. If specified, the combination of name and tags must return a single matching image or an error will be raised. |
imageRef ResourceReference |
(Optional)
ImageRef is a reference to an ORC Image in the same namespace as the referring object. |
InstanceState
(string
alias)
(Appears on: BastionStatus, OpenStackMachineStatus)
InstanceState describes the state of an OpenStack instance.
LoadBalancer
(Appears on: OpenStackClusterStatus)
LoadBalancer represents basic information about the associated OpenStack LoadBalancer.
Field | Description |
---|---|
name string |
|
id string |
|
ip string |
|
internalIP string |
|
allowedCIDRs []string |
(Optional) |
tags []string |
(Optional) |
loadBalancerNetwork NetworkStatusWithSubnets |
(Optional)
LoadBalancerNetwork contains information about network and/or subnets which the loadbalancer is allocated on. If subnets are specified within the LoadBalancerNetwork currently only the first subnet in the list is taken into account. |
MachineResources
(Appears on: BastionStatus, OpenStackMachineStatus)
Field | Description |
---|---|
ports []PortStatus |
(Optional)
Ports is the status of the ports created for the machine. |
ManagedSecurityGroupName
(string
alias)
(Appears on: SecurityGroupRuleSpec)
ManagedSecurityGroups
(Appears on: OpenStackClusterSpec)
ManagedSecurityGroups defines the desired state of security groups and rules for the cluster.
Field | Description |
---|---|
allNodesSecurityGroupRules []SecurityGroupRuleSpec |
(Optional)
allNodesSecurityGroupRules defines the rules that should be applied to all nodes. |
controlPlaneNodesSecurityGroupRules []SecurityGroupRuleSpec |
(Optional)
controlPlaneNodesSecurityGroupRules defines the rules that should be applied to control plane nodes. |
workerNodesSecurityGroupRules []SecurityGroupRuleSpec |
(Optional)
workerNodesSecurityGroupRules defines the rules that should be applied to worker nodes. |
allowAllInClusterTraffic bool |
AllowAllInClusterTraffic allows all ingress and egress traffic between cluster nodes when set to true. |
NetworkFilter
(Appears on: NetworkParam)
NetworkFilter specifies a query to select an OpenStack network. At least one property must be set.
Field | Description |
---|---|
name string |
|
description string |
|
projectID string |
|
FilterByNeutronTags FilterByNeutronTags |
(Members of |
NetworkParam
(Appears on: APIServerLoadBalancer, OpenStackClusterSpec, PortOpts)
NetworkParam specifies an OpenStack network. It may be specified by either ID or Filter, but not both.
Field | Description |
---|---|
id string |
(Optional)
ID is the ID of the network to use. If ID is provided, the other filters cannot be provided. Must be in UUID format. |
filter NetworkFilter |
(Optional)
Filter specifies a filter to select an OpenStack network. If provided, cannot be empty. |
NetworkStatus
(Appears on: NetworkStatusWithSubnets, OpenStackClusterStatus)
NetworkStatus contains basic information about an existing neutron network.
Field | Description |
---|---|
name string |
|
id string |
|
tags []string |
(Optional) |
NetworkStatusWithSubnets
(Appears on: LoadBalancer, OpenStackClusterStatus)
NetworkStatusWithSubnets represents basic information about an existing neutron network and an associated set of subnets.
Field | Description |
---|---|
NetworkStatus NetworkStatus |
(Members of |
subnets []Subnet |
Subnets is a list of subnets associated with the default cluster network. Machines which use the default cluster network will get an address from all of these subnets. |
NeutronTag
(string
alias)
(Appears on: FilterByNeutronTags)
NeutronTag represents a tag on a Neutron resource. It may not be empty and may not contain commas.
OpenStackClusterSpec
(Appears on: OpenStackCluster, OpenStackClusterTemplateResource)
OpenStackClusterSpec defines the desired state of OpenStackCluster.
Field | Description |
---|---|
managedSubnets []SubnetSpec |
(Optional)
ManagedSubnets describe OpenStack Subnets to be created. Cluster actuator will create a network, subnets with the defined CIDR, and a router connected to these subnets. Currently only one IPv4 subnet is supported. If you leave this empty, no network will be created. |
router RouterParam |
(Optional)
Router specifies an existing router to be used if ManagedSubnets are specified. If specified, no new router will be created. |
network NetworkParam |
(Optional)
Network specifies an existing network to use if no ManagedSubnets are specified. |
subnets []SubnetParam |
(Optional)
Subnets specifies existing subnets to use if not ManagedSubnets are specified. All subnets must be in the network specified by Network. There can be zero, one, or two subnets. If no subnets are specified, all subnets in Network will be used. If 2 subnets are specified, one must be IPv4 and the other IPv6. |
networkMTU int |
(Optional)
NetworkMTU sets the maximum transmission unit (MTU) value to address fragmentation for the private network ID. This value will be used only if the Cluster actuator creates the network. If left empty, the network will have the default MTU defined in Openstack network service. To use this field, the Openstack installation requires the net-mtu neutron API extension. |
externalRouterIPs []ExternalRouterIPParam |
(Optional)
ExternalRouterIPs is an array of externalIPs on the respective subnets. This is necessary if the router needs a fixed ip in a specific subnet. |
externalNetwork NetworkParam |
(Optional)
ExternalNetwork is the OpenStack Network to be used to get public internet to the VMs. This option is ignored if DisableExternalNetwork is set to true. If ExternalNetwork is defined it must refer to exactly one external network. If ExternalNetwork is not defined or is empty the controller will use any existing external network as long as there is only one. It is an error if ExternalNetwork is not defined and there are multiple external networks unless DisableExternalNetwork is also set. If ExternalNetwork is not defined and there are no external networks the controller will proceed as though DisableExternalNetwork was set. |
disableExternalNetwork bool |
(Optional)
DisableExternalNetwork specifies whether or not to attempt to connect the cluster to an external network. This allows for the creation of clusters when connecting to an external network is not possible or desirable, e.g. if using a provider network. |
apiServerLoadBalancer APIServerLoadBalancer |
(Optional)
APIServerLoadBalancer configures the optional LoadBalancer for the APIServer. If not specified, no load balancer will be created for the API server. |
disableAPIServerFloatingIP bool |
(Optional)
DisableAPIServerFloatingIP determines whether or not to attempt to attach a floating IP to the API server. This allows for the creation of clusters when attaching a floating IP to the API server (and hence, in many cases, exposing the API server to the internet) is not possible or desirable, e.g. if using a shared VLAN for communication between management and workload clusters or when the management cluster is inside the project network. This option requires that the API server use a VIP on the cluster network so that the underlying machines can change without changing ControlPlaneEndpoint.Host. When using a managed load balancer, this VIP will be managed automatically. If not using a managed load balancer, cluster configuration will fail without additional configuration to manage the VIP on the control plane machines, which falls outside of the scope of this controller. |
apiServerFloatingIP string |
(Optional)
APIServerFloatingIP is the floatingIP which will be associated with the API server. The floatingIP will be created if it does not already exist. If not specified, a new floatingIP is allocated. This field is not used if DisableAPIServerFloatingIP is set to true. |
apiServerFixedIP string |
(Optional)
APIServerFixedIP is the fixed IP which will be associated with the API server. In the case where the API server has a floating IP but not a managed load balancer, this field is not used. If a managed load balancer is used and this field is not specified, a fixed IP will be dynamically allocated for the load balancer. If a managed load balancer is not used AND the API server floating IP is disabled, this field MUST be specified and should correspond to a pre-allocated port that holds the fixed IP to be used as a VIP. |
apiServerPort uint16 |
(Optional)
APIServerPort is the port on which the listener on the APIServer will be created. If specified, it must be an integer between 0 and 65535. |
managedSecurityGroups ManagedSecurityGroups |
(Optional)
ManagedSecurityGroups determines whether OpenStack security groups for the cluster will be managed by the OpenStack provider or whether pre-existing security groups will be specified as part of the configuration. By default, the managed security groups have rules that allow the Kubelet, etcd, and the Kubernetes API server to function correctly. It’s possible to add additional rules to the managed security groups. When defined to an empty struct, the managed security groups will be created with the default rules. |
disablePortSecurity bool |
(Optional)
DisablePortSecurity disables the port security of the network created for the Kubernetes cluster, which also disables SecurityGroups |
tags []string |
(Optional)
Tags to set on all resources in cluster which support tags |
controlPlaneEndpoint sigs.k8s.io/cluster-api/api/v1beta1.APIEndpoint |
(Optional)
ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. It is normally populated automatically by the OpenStackCluster controller during cluster provisioning. If it is set on creation the control plane endpoint will use the values set here in preference to values set elsewhere. ControlPlaneEndpoint cannot be modified after ControlPlaneEndpoint.Host has been set. |
controlPlaneAvailabilityZones []string |
(Optional)
ControlPlaneAvailabilityZones is the set of availability zones which control plane machines may be deployed to. |
controlPlaneOmitAvailabilityZone bool |
(Optional)
ControlPlaneOmitAvailabilityZone causes availability zone to be omitted when creating control plane nodes, allowing the Nova scheduler to make a decision on which availability zone to use based on other scheduling constraints |
bastion Bastion |
(Optional)
Bastion is the OpenStack instance to login the nodes As a rolling update is not ideal during a bastion host session, we
prevent changes to a running bastion configuration. To make changes, it’s required
to first set |
identityRef OpenStackIdentityReference |
IdentityRef is a reference to a secret holding OpenStack credentials to be used when reconciling this cluster. It is also to reconcile machines unless overridden in the machine spec. |
OpenStackClusterStatus
(Appears on: OpenStackCluster)
OpenStackClusterStatus defines the observed state of OpenStackCluster.
Field | Description |
---|---|
ready bool |
Ready is true when the cluster infrastructure is ready. |
network NetworkStatusWithSubnets |
(Optional)
Network contains information about the created OpenStack Network. |
externalNetwork NetworkStatus |
(Optional)
ExternalNetwork contains information about the external network used for default ingress and egress traffic. |
router Router |
(Optional)
Router describes the default cluster router |
apiServerLoadBalancer LoadBalancer |
(Optional)
APIServerLoadBalancer describes the api server load balancer if one exists |
failureDomains sigs.k8s.io/cluster-api/api/v1beta1.FailureDomains |
FailureDomains represent OpenStack availability zones |
controlPlaneSecurityGroup SecurityGroupStatus |
(Optional)
ControlPlaneSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to control plane nodes. |
workerSecurityGroup SecurityGroupStatus |
(Optional)
WorkerSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to worker nodes. |
bastionSecurityGroup SecurityGroupStatus |
(Optional)
BastionSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to worker nodes. |
bastion BastionStatus |
(Optional)
Bastion contains the information about the deployed bastion host |
failureReason sigs.k8s.io/cluster-api-provider-openstack/pkg/utils/errors.DeprecatedCAPIClusterStatusError |
(Optional)
FailureReason will be set in the event that there is a terminal problem reconciling the OpenStackCluster and will contain a succinct value suitable for machine interpretation. This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the OpenStackCluster’s spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. Any transient errors that occur during the reconciliation of OpenStackClusters can be added as events to the OpenStackCluster object and/or logged in the controller’s output. |
failureMessage string |
(Optional)
FailureMessage will be set in the event that there is a terminal problem reconciling the OpenStackCluster and will contain a more verbose string suitable for logging and human consumption. This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the OpenStackCluster’s spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. Any transient errors that occur during the reconciliation of OpenStackClusters can be added as events to the OpenStackCluster object and/or logged in the controller’s output. |
OpenStackClusterTemplateResource
(Appears on: OpenStackClusterTemplateSpec)
OpenStackClusterTemplateResource describes the data needed to create a OpenStackCluster from a template.
Field | Description | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spec OpenStackClusterSpec |
|
OpenStackClusterTemplateSpec
(Appears on: OpenStackClusterTemplate)
OpenStackClusterTemplateSpec defines the desired state of OpenStackClusterTemplate.
Field | Description |
---|---|
template OpenStackClusterTemplateResource |
OpenStackIdentityReference
(Appears on: OpenStackClusterSpec, OpenStackMachineSpec)
OpenStackIdentityReference is a reference to an infrastructure provider identity to be used to provision cluster resources.
Field | Description |
---|---|
name string |
Name is the name of a secret in the same namespace as the resource being provisioned.
The secret must contain a key named |
cloudName string |
CloudName specifies the name of the entry in the clouds.yaml file to use. |
region string |
(Optional)
Region specifies an OpenStack region to use. If specified, it overrides any value in clouds.yaml. If specified for an OpenStackMachine, its value will be included in providerID. |
OpenStackMachineSpec
(Appears on: OpenStackMachine, Bastion, OpenStackMachineTemplateResource)
OpenStackMachineSpec defines the desired state of OpenStackMachine.
Field | Description |
---|---|
providerID string |
ProviderID is the unique identifier as specified by the cloud provider. |
flavor string |
The flavor reference for the flavor for your server instance. |
flavorID string |
FlavorID allows flavors to be specified by ID. This field takes precedence over Flavor. |
image ImageParam |
The image to use for your server instance. If the rootVolume is specified, this will be used when creating the root volume. |
sshKeyName string |
The ssh key to inject in the instance |
ports []PortOpts |
Ports to be attached to the server instance. They are created if a port with the given name does not already exist. If not specified a default port will be added for the default cluster network. |
securityGroups []SecurityGroupParam |
The names of the security groups to assign to the instance |
trunk bool |
Whether the server instance is created on a trunk port or not. |
tags []string |
Tags which will be added to the machine and all dependent resources which support them. These are in addition to Tags defined on the cluster. Requires Nova api 2.52 minimum! |
serverMetadata []ServerMetadata |
Metadata mapping. Allows you to create a map of key value pairs to add to the server instance. |
configDrive bool |
Config Drive support |
rootVolume RootVolume |
The volume metadata to boot from |
additionalBlockDevices []AdditionalBlockDevice |
(Optional)
AdditionalBlockDevices is a list of specifications for additional block devices to attach to the server instance |
serverGroup ServerGroupParam |
(Optional)
The server group to assign the machine to. |
identityRef OpenStackIdentityReference |
(Optional)
IdentityRef is a reference to a secret holding OpenStack credentials to be used when reconciling this machine. If not specified, the credentials specified in the cluster will be used. |
floatingIPPoolRef Kubernetes core/v1.TypedLocalObjectReference |
(Optional)
floatingIPPoolRef is a reference to a IPPool that will be assigned to an IPAddressClaim. Once the IPAddressClaim is fulfilled, the FloatingIP will be assigned to the OpenStackMachine. |
schedulerHintAdditionalProperties []SchedulerHintAdditionalProperty |
(Optional)
SchedulerHintAdditionalProperties are arbitrary key/value pairs that provide additional hints to the OpenStack scheduler. These hints can influence how instances are placed on the infrastructure, such as specifying certain host aggregates or availability zones. |
OpenStackMachineStatus
(Appears on: OpenStackMachine)
OpenStackMachineStatus defines the observed state of OpenStackMachine.
Field | Description |
---|---|
ready bool |
(Optional)
Ready is true when the provider resource is ready. |
instanceID string |
(Optional)
InstanceID is the OpenStack instance ID for this machine. |
addresses []Kubernetes core/v1.NodeAddress |
Addresses contains the OpenStack instance associated addresses. |
instanceState InstanceState |
(Optional)
InstanceState is the state of the OpenStack instance for this machine. |
resolved ResolvedMachineSpec |
(Optional)
Resolved contains parts of the machine spec with all external references fully resolved. |
resources MachineResources |
(Optional)
Resources contains references to OpenStack resources created for the machine. |
failureReason sigs.k8s.io/cluster-api-provider-openstack/pkg/utils/errors.DeprecatedCAPIMachineStatusError |
|
failureMessage string |
(Optional)
FailureMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption. This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine’s spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured. Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller’s output. |
conditions sigs.k8s.io/cluster-api/api/v1beta1.Conditions |
OpenStackMachineTemplateResource
(Appears on: OpenStackMachineTemplateSpec)
OpenStackMachineTemplateResource describes the data needed to create a OpenStackMachine from a template.
Field | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spec OpenStackMachineSpec |
Spec is the specification of the desired behavior of the machine.
|
OpenStackMachineTemplateSpec
(Appears on: OpenStackMachineTemplate)
OpenStackMachineTemplateSpec defines the desired state of OpenStackMachineTemplate.
Field | Description |
---|---|
template OpenStackMachineTemplateResource |
PortOpts
(Appears on: OpenStackMachineSpec)
Field | Description |
---|---|
network NetworkParam |
(Optional)
Network is a query for an openstack network that the port will be created or discovered on. This will fail if the query returns more than one network. |
description string |
(Optional)
Description is a human-readable description for the port. |
nameSuffix string |
(Optional)
NameSuffix will be appended to the name of the port if specified. If unspecified, instead the 0-based index of the port in the list is used. |
fixedIPs []FixedIP |
(Optional)
FixedIPs is a list of pairs of subnet and/or IP address to assign to the port. If specified, these must be subnets of the port’s network. |
securityGroups []SecurityGroupParam |
(Optional)
SecurityGroups is a list of the names, uuids, filters or any combination these of the security groups to assign to the instance. |
tags []string |
(Optional)
Tags applied to the port (and corresponding trunk, if a trunk is configured.) These tags are applied in addition to the instance’s tags, which will also be applied to the port. |
trunk bool |
(Optional)
Trunk specifies whether trunking is enabled at the port level. If not provided the value is inherited from the machine, or false for a bastion host. |
ResolvedPortSpecFields ResolvedPortSpecFields |
(Members of |
PortStatus
(Appears on: MachineResources)
Field | Description |
---|---|
id string |
ID is the unique identifier of the port. |
ResolvedFixedIP
(Appears on: ResolvedPortSpec)
ResolvedFixedIP is a FixedIP with the Subnet resolved to an ID.
Field | Description |
---|---|
subnet string |
(Optional)
SubnetID is the id of a subnet to create the fixed IP of a port in. |
ipAddress string |
(Optional)
IPAddress is a specific IP address to assign to the port. If SubnetID is also specified, IPAddress must be a valid IP address in the subnet. If Subnet is not specified, IPAddress must be a valid IP address in any subnet of the port’s network. |
ResolvedMachineSpec
(Appears on: BastionStatus, OpenStackMachineStatus)
ResolvedMachineSpec contains resolved references to resources required by the machine.
Field | Description |
---|---|
serverGroupID string |
(Optional)
ServerGroupID is the ID of the server group the machine should be added to and is calculated based on ServerGroupFilter. |
imageID string |
(Optional)
ImageID is the ID of the image to use for the machine and is calculated based on ImageFilter. |
flavorID string |
(Optional)
FlavorID is the ID of the flavor to use. |
ports []ResolvedPortSpec |
(Optional)
Ports is the fully resolved list of ports to create for the machine. |
ResolvedPortSpec
(Appears on: ResolvedMachineSpec)
ResolvedPortSpec is a PortOpts with all contained references fully resolved.
Field | Description |
---|---|
name string |
Name is the name of the port. |
description string |
Description is a human-readable description for the port. |
networkID string |
NetworkID is the ID of the network the port will be created in. |
tags []string |
(Optional)
Tags applied to the port (and corresponding trunk, if a trunk is configured.) |
trunk bool |
(Optional)
Trunk specifies whether trunking is enabled at the port level. |
fixedIPs []ResolvedFixedIP |
(Optional)
FixedIPs is a list of pairs of subnet and/or IP address to assign to the port. If specified, these must be subnets of the port’s network. |
securityGroups []string |
(Optional)
SecurityGroups is a list of security group IDs to assign to the port. |
ResolvedPortSpecFields ResolvedPortSpecFields |
(Members of |
ResolvedPortSpecFields
(Appears on: PortOpts, ResolvedPortSpec)
ResolvePortSpecFields is a convenience struct containing all fields of a PortOpts which don’t contain references which need to be resolved, and can therefore be shared with ResolvedPortSpec.
Field | Description |
---|---|
adminStateUp bool |
(Optional)
AdminStateUp specifies whether the port should be created in the up (true) or down (false) state. The default is up. |
macAddress string |
(Optional)
MACAddress specifies the MAC address of the port. If not specified, the MAC address will be generated. |
allowedAddressPairs []AddressPair |
(Optional)
AllowedAddressPairs is a list of address pairs which Neutron will allow the port to send traffic from in addition to the port’s addresses. If not specified, the MAC Address will be the MAC Address of the port. Depending on the configuration of Neutron, it may be supported to specify a CIDR instead of a specific IP address. |
hostID string |
(Optional)
HostID specifies the ID of the host where the port resides. |
vnicType string |
(Optional)
VNICType specifies the type of vNIC which this port should be attached to. This is used to determine which mechanism driver(s) to be used to bind the port. The valid values are normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder, smart-nic and remote-managed, although these values will not be validated in this API to ensure compatibility with future neutron changes or custom implementations. What type of vNIC is actually available depends on deployments. If not specified, the Neutron default value is used. |
profile BindingProfile |
(Optional)
Profile is a set of key-value pairs that are used for binding details. We intentionally don’t expose this as a map[string]string because we only want to enable the users to set the values of the keys that are known to work in OpenStack Networking API. See https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-port-detail#create-port To set profiles, your tenant needs permissions rule:create_port, and rule:create_port:binding:profile |
disablePortSecurity bool |
(Optional)
DisablePortSecurity enables or disables the port security when set. When not set, it takes the value of the corresponding field at the network level. |
propagateUplinkStatus bool |
(Optional)
PropageteUplinkStatus enables or disables the propagate uplink status on the port. |
valueSpecs []ValueSpec |
(Optional)
Value specs are extra parameters to include in the API request with OpenStack. This is an extension point for the API, so what they do and if they are supported, depends on the specific OpenStack implementation. |
ResourceReference
(Appears on: ImageParam)
Field | Description |
---|---|
name string |
Name is the name of the referenced resource |
RootVolume
(Appears on: OpenStackMachineSpec)
Field | Description |
---|---|
sizeGiB int |
SizeGiB is the size of the block device in gibibytes (GiB). |
BlockDeviceVolume BlockDeviceVolume |
(Members of |
Router
(Appears on: OpenStackClusterStatus)
Router represents basic information about the associated OpenStack Neutron Router.
Field | Description |
---|---|
name string |
|
id string |
|
tags []string |
(Optional) |
ips []string |
(Optional) |
RouterFilter
(Appears on: RouterParam)
RouterFilter specifies a query to select an OpenStack router. At least one property must be set.
Field | Description |
---|---|
name string |
|
description string |
|
projectID string |
|
FilterByNeutronTags FilterByNeutronTags |
(Members of |
RouterParam
(Appears on: OpenStackClusterSpec)
RouterParam specifies an OpenStack router to use. It may be specified by either ID or filter, but not both.
Field | Description |
---|---|
id string |
(Optional)
ID is the ID of the router to use. If ID is provided, the other filters cannot be provided. Must be in UUID format. |
filter RouterFilter |
Filter specifies a filter to select an OpenStack router. If provided, cannot be empty. |
SchedulerHintAdditionalProperty
(Appears on: OpenStackMachineSpec)
SchedulerHintAdditionalProperty represents a single additional property for a scheduler hint. It includes a Name to identify the property and a Value that can be of various types.
Field | Description |
---|---|
name string |
Name is the name of the scheduler hint property. It is a unique identifier for the property. |
value SchedulerHintAdditionalValue |
Value is the value of the scheduler hint property, which can be of various types (e.g., bool, string, int). The type is indicated by the Value.Type field. |
SchedulerHintAdditionalValue
(Appears on: SchedulerHintAdditionalProperty)
SchedulerHintAdditionalValue represents the value of a scheduler hint property. The value can be of various types: Bool, String, or Number. The Type field indicates the type of the value being used.
Field | Description |
---|---|
type SchedulerHintValueType |
Type represents the type of the value. Valid values are Bool, String, and Number. |
bool bool |
Bool is the boolean value of the scheduler hint, used when Type is “Bool”. This field is required if type is ‘Bool’, and must not be set otherwise. |
number int |
Number is the integer value of the scheduler hint, used when Type is “Number”. This field is required if type is ‘Number’, and must not be set otherwise. |
string string |
String is the string value of the scheduler hint, used when Type is “String”. This field is required if type is ‘String’, and must not be set otherwise. |
SchedulerHintValueType
(string
alias)
(Appears on: SchedulerHintAdditionalValue)
SchedulerHintValueType is the type that represents allowed values for the Type field.
Value | Description |
---|---|
"Bool" |
|
"Number" |
|
"String" |
SecurityGroupFilter
(Appears on: SecurityGroupParam)
SecurityGroupFilter specifies a query to select an OpenStack security group. At least one property must be set.
Field | Description |
---|---|
name string |
|
description string |
|
projectID string |
|
FilterByNeutronTags FilterByNeutronTags |
(Members of |
SecurityGroupParam
(Appears on: OpenStackMachineSpec, PortOpts)
SecurityGroupParam specifies an OpenStack security group. It may be specified by ID or filter, but not both.
Field | Description |
---|---|
id string |
(Optional)
ID is the ID of the security group to use. If ID is provided, the other filters cannot be provided. Must be in UUID format. |
filter SecurityGroupFilter |
(Optional)
Filter specifies a query to select an OpenStack security group. If provided, cannot be empty. |
SecurityGroupRuleSpec
(Appears on: ManagedSecurityGroups)
SecurityGroupRuleSpec represent the basic information of the associated OpenStack Security Group Role. For now this is only used for the allNodesSecurityGroupRules but when we add other security groups, we’ll need to add a validation because Remote* fields are mutually exclusive.
Field | Description |
---|---|
name string |
name of the security group rule. It’s used to identify the rule so it can be patched and will not be sent to the OpenStack API. |
description string |
(Optional)
description of the security group rule. |
direction string |
direction in which the security group rule is applied. The only values allowed are “ingress” or “egress”. For a compute instance, an ingress security group rule is applied to incoming (ingress) traffic for that instance. An egress rule is applied to traffic leaving the instance. |
etherType string |
(Optional)
etherType must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules. |
portRangeMin int |
(Optional)
portRangeMin is a number in the range that is matched by the security group rule. If the protocol is TCP or UDP, this value must be less than or equal to the value of the portRangeMax attribute. |
portRangeMax int |
(Optional)
portRangeMax is a number in the range that is matched by the security group rule. The portRangeMin attribute constrains the portRangeMax attribute. |
protocol string |
(Optional)
protocol is the protocol that is matched by the security group rule. |
remoteGroupID string |
(Optional)
remoteGroupID is the remote group ID to be associated with this security group rule. You can specify either remoteGroupID or remoteIPPrefix or remoteManagedGroups. |
remoteIPPrefix string |
(Optional)
remoteIPPrefix is the remote IP prefix to be associated with this security group rule. You can specify either remoteGroupID or remoteIPPrefix or remoteManagedGroups. |
remoteManagedGroups []ManagedSecurityGroupName |
(Optional)
remoteManagedGroups is the remote managed groups to be associated with this security group rule. You can specify either remoteGroupID or remoteIPPrefix or remoteManagedGroups. |
SecurityGroupStatus
(Appears on: OpenStackClusterStatus)
SecurityGroupStatus represents the basic information of the associated OpenStack Neutron Security Group.
Field | Description |
---|---|
name string |
name of the security group |
id string |
id of the security group |
ServerGroupFilter
(Appears on: ServerGroupParam)
ServerGroupFilter specifies a query to select an OpenStack server group. At least one property must be set.
Field | Description |
---|---|
name string |
Name is the name of a server group to look for. |
ServerGroupParam
(Appears on: OpenStackMachineSpec)
ServerGroupParam specifies an OpenStack server group. It may be specified by ID or filter, but not both.
Field | Description |
---|---|
id string |
ID is the ID of the server group to use. |
filter ServerGroupFilter |
Filter specifies a query to select an OpenStack server group. If provided, it cannot be empty. |
ServerMetadata
(Appears on: OpenStackMachineSpec)
Field | Description |
---|---|
key string |
Key is the server metadata key |
value string |
Value is the server metadata value |
Subnet
(Appears on: NetworkStatusWithSubnets)
Subnet represents basic information about the associated OpenStack Neutron Subnet.
Field | Description |
---|---|
name string |
|
id string |
|
cidr string |
|
tags []string |
(Optional) |
SubnetFilter
(Appears on: SubnetParam)
SubnetFilter specifies a filter to select a subnet. At least one parameter must be specified.
Field | Description |
---|---|
name string |
|
description string |
|
projectID string |
|
ipVersion int |
|
gatewayIP string |
|
cidr string |
|
ipv6AddressMode string |
|
ipv6RAMode string |
|
FilterByNeutronTags FilterByNeutronTags |
(Members of |
SubnetParam
(Appears on: APIServerLoadBalancer, ExternalRouterIPParam, FixedIP, OpenStackClusterSpec)
SubnetParam specifies an OpenStack subnet to use. It may be specified by either ID or filter, but not both.
Field | Description |
---|---|
id string |
(Optional)
ID is the uuid of the subnet. It will not be validated. |
filter SubnetFilter |
(Optional)
Filter specifies a filter to select the subnet. It must match exactly one subnet. |
SubnetSpec
(Appears on: OpenStackClusterSpec)
Field | Description |
---|---|
cidr string |
CIDR is representing the IP address range used to create the subnet, e.g. 10.0.0.0/24. This field is required when defining a subnet. |
dnsNameservers []string |
DNSNameservers holds a list of DNS server addresses that will be provided when creating the subnet. These addresses need to have the same IP version as CIDR. |
allocationPools []AllocationPool |
AllocationPools is an array of AllocationPool objects that will be applied to OpenStack Subnet being created. If set, OpenStack will only allocate these IPs for Machines. It will still be possible to create ports from outside of these ranges manually. |
ValueSpec
(Appears on: ResolvedPortSpecFields)
ValueSpec represents a single value_spec key-value pair.
Field | Description |
---|---|
name string |
Name is the name of the key-value pair. This is just for identifying the pair and will not be sent to the OpenStack API. |
key string |
Key is the key in the key-value pair. |
value string |
Value is the value in the key-value pair. |
VolumeAZName
(string
alias)
(Appears on: VolumeAvailabilityZone)
VolumeAZName is the name of a volume availability zone. It may not contain spaces.
VolumeAZSource
(string
alias)
(Appears on: VolumeAvailabilityZone)
VolumeAZSource specifies where to obtain the availability zone for a volume.
Value | Description |
---|---|
"Machine" |
|
"Name" |
VolumeAvailabilityZone
(Appears on: BlockDeviceVolume)
VolumeAvailabilityZone specifies the availability zone for a volume.
Field | Description |
---|---|
from VolumeAZSource |
(Optional)
From specifies where we will obtain the availability zone for the volume. The options are “Name” and “Machine”. If “Name” is specified then the Name field must also be specified. If “Machine” is specified the volume will use the value of FailureDomain, if any, from the associated Machine. |
name VolumeAZName |
(Optional)
Name is the name of a volume availability zone to use. It is required if From is “Name”. The volume availability zone name may not contain spaces. |
Generated with gen-crd-api-reference-docs
.