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 | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
infrastructure.cluster.x-k8s.io/v1beta1
|
||||||||||||||||||||||||||||||||||||||||||
kindstring |
OpenStackCluster |
||||||||||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||||||||||||||
specOpenStackClusterSpec |
|
||||||||||||||||||||||||||||||||||||||||||
statusOpenStackClusterStatus |
OpenStackClusterTemplate
OpenStackClusterTemplate is the Schema for the openstackclustertemplates API.
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
infrastructure.cluster.x-k8s.io/v1beta1
|
||
kindstring |
OpenStackClusterTemplate |
||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specOpenStackClusterTemplateSpec |
|
OpenStackMachine
OpenStackMachine is the Schema for the openstackmachines API.
| Field | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
infrastructure.cluster.x-k8s.io/v1beta1
|
||||||||||||||||||||||||||||||||||
kindstring |
OpenStackMachine |
||||||||||||||||||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||||||
specOpenStackMachineSpec |
|
||||||||||||||||||||||||||||||||||
statusOpenStackMachineStatus |
OpenStackMachineTemplate
OpenStackMachineTemplate is the Schema for the openstackmachinetemplates API.
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
infrastructure.cluster.x-k8s.io/v1beta1
|
||
kindstring |
OpenStackMachineTemplate |
||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specOpenStackMachineTemplateSpec |
|
||
statusOpenStackMachineTemplateStatus |
APIServerLoadBalancer
(Appears on: OpenStackClusterSpec)
| Field | Description |
|---|---|
enabledbool |
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. |
providerstring |
(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. |
networkNetworkParam |
(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 |
availabilityZonestring |
(Optional)
AvailabilityZone is the failure domain that will be used to create the APIServerLoadBalancer Spec. |
flavorstring |
(Optional)
Flavor is the flavor name that will be used to create the APIServerLoadBalancer Spec. |
monitorAPIServerLoadBalancerMonitor |
(Optional)
Monitor contains configuration for the load balancer health monitor. |
APIServerLoadBalancerMonitor
(Appears on: APIServerLoadBalancer)
APIServerLoadBalancerMonitor contains configuration for the load balancer health monitor.
| Field | Description |
|---|---|
delayint |
(Optional)
Delay is the time in seconds between sending probes to members. |
timeoutint |
(Optional)
Timeout is the maximum time in seconds for a monitor to wait for a connection to be established before it times out. |
maxRetriesint |
(Optional)
MaxRetries is the number of successful checks before changing the operating status of the member to ONLINE. |
maxRetriesDownint |
(Optional)
MaxRetriesDown is the number of allowed check failures before changing the operating status of the member to ERROR. |
AdditionalBlockDevice
(Appears on: OpenStackMachineSpec)
AdditionalBlockDevice is a block device to attach to the server.
| Field | Description |
|---|---|
namestring |
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. |
sizeGiBint |
SizeGiB is the size of the block device in gibibytes (GiB). |
storageBlockDeviceStorage |
Storage specifies the storage type of the block device and additional storage options. |
AddressPair
(Appears on: ResolvedPortSpecFields)
| Field | Description |
|---|---|
ipAddressstring |
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. |
macAddressstring |
(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 |
|---|---|
startstring |
Start represents the start of the AllocationPool, that is the lowest IP of the pool. |
endstring |
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 |
|---|---|
enabledbool |
(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. |
specOpenStackMachineSpec |
Spec for the bastion itself |
availabilityZonestring |
(Optional)
AvailabilityZone is the failure domain that will be used to create the Bastion Spec. |
floatingIPstring |
(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 |
|---|---|
idstring |
|
namestring |
|
sshKeyNamestring |
|
stateInstanceState |
|
ipstring |
|
floatingIPstring |
|
resolvedResolvedMachineSpec |
(Optional)
Resolved contains parts of the bastion’s machine spec with all external references fully resolved. |
resourcesMachineResources |
(Optional)
Resources contains references to OpenStack resources created for the bastion. |
BindingProfile
(Appears on: ResolvedPortSpecFields)
| Field | Description |
|---|---|
ovsHWOffloadbool |
(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 |
trustedVFbool |
(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 |
|---|---|
typeBlockDeviceType |
Type is the type of block device to create. This can be either “Volume” or “Local”. |
volumeBlockDeviceVolume |
(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 |
|---|---|
typestring |
(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. |
availabilityZoneVolumeAvailabilityZone |
(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. |
ClusterInitialization
(Appears on: OpenStackClusterStatus)
ClusterInitialization represents the initialization status of the cluster.
| Field | Description |
|---|---|
provisionedbool |
(Optional)
Provisioned is set to true when the initial provisioning of the cluster infrastructure is completed. The value of this field is never updated after provisioning is completed. |
ExternalRouterIPParam
(Appears on: OpenStackClusterSpec)
| Field | Description |
|---|---|
fixedIPstring |
The FixedIP in the corresponding subnet |
subnetSubnetParam |
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 |
|---|---|
subnetSubnetParam |
(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. |
ipAddressstring |
(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 |
|---|---|
namestring |
(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 |
|---|---|
idstring |
(Optional)
ID is the uuid of the image. ID will not be validated before use. |
filterImageFilter |
(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. |
imageRefResourceReference |
(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 |
|---|---|
namestring |
|
idstring |
|
ipstring |
|
internalIPstring |
|
allowedCIDRs[]string |
(Optional) |
tags[]string |
(Optional) |
loadBalancerNetworkNetworkStatusWithSubnets |
(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. |
MachineInitialization
(Appears on: OpenStackMachineStatus)
MachineInitialization contains information about the initialization status of the machine.
| Field | Description |
|---|---|
provisionedbool |
(Optional)
Provisioned is set to true when the initial provisioning of the machine infrastructure is completed. The value of this field is never updated after provisioning is completed. |
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. |
allowAllInClusterTrafficbool |
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 |
|---|---|
namestring |
|
descriptionstring |
|
projectIDstring |
|
FilterByNeutronTagsFilterByNeutronTags |
(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 |
|---|---|
idstring |
(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. |
filterNetworkFilter |
(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 |
|---|---|
namestring |
|
idstring |
|
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 |
|---|---|
NetworkStatusNetworkStatus |
(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.
NodeInfo
(Appears on: OpenStackMachineTemplateStatus)
NodeInfo contains information about the node’s architecture and operating system.
| Field | Description |
|---|---|
operatingSystemstring |
(Optional)
operatingSystem is a string representing the operating system of the node. This may be a string like ‘linux’ or ‘windows’. |
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. |
routerRouterParam |
(Optional)
Router specifies an existing router to be used if ManagedSubnets are specified. If specified, no new router will be created. |
networkNetworkParam |
(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. |
networkMTUint |
(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. |
externalNetworkNetworkParam |
(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. |
disableExternalNetworkbool |
(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. |
apiServerLoadBalancerAPIServerLoadBalancer |
(Optional)
APIServerLoadBalancer configures the optional LoadBalancer for the APIServer. If not specified, no load balancer will be created for the API server. |
disableAPIServerFloatingIPbool |
(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. |
apiServerFloatingIPstring |
(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. |
apiServerFixedIPstring |
(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. |
apiServerPortuint16 |
(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. |
managedSecurityGroupsManagedSecurityGroups |
(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. |
disablePortSecuritybool |
(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 |
controlPlaneEndpointsigs.k8s.io/cluster-api/api/core/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. |
controlPlaneOmitAvailabilityZonebool |
(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 |
bastionBastion |
(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 |
identityRefOpenStackIdentityReference |
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 |
|---|---|
readybool |
Ready is true when the cluster infrastructure is ready. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to determine the ready state of the cluster. |
initializationClusterInitialization |
(Optional)
Initialization contains information about the initialization status of the cluster. |
networkNetworkStatusWithSubnets |
(Optional)
Network contains information about the created OpenStack Network. |
externalNetworkNetworkStatus |
(Optional)
ExternalNetwork contains information about the external network used for default ingress and egress traffic. |
routerRouter |
(Optional)
Router describes the default cluster router |
apiServerLoadBalancerLoadBalancer |
(Optional)
APIServerLoadBalancer describes the api server load balancer if one exists |
failureDomainssigs.k8s.io/cluster-api/api/core/v1beta1.FailureDomains |
FailureDomains represent OpenStack availability zones |
controlPlaneSecurityGroupSecurityGroupStatus |
(Optional)
ControlPlaneSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to control plane nodes. |
workerSecurityGroupSecurityGroupStatus |
(Optional)
WorkerSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to worker nodes. |
bastionSecurityGroupSecurityGroupStatus |
(Optional)
BastionSecurityGroup contains the information about the OpenStack Security Group that needs to be applied to worker nodes. |
bastionBastionStatus |
(Optional)
Bastion contains the information about the deployed bastion host |
failureReasonsigs.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. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to report failures. |
failureMessagestring |
(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. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to report failures. |
conditionssigs.k8s.io/cluster-api/api/core/v1beta1.Conditions |
(Optional)
Conditions defines current service state of the OpenStackCluster. This field surfaces into Cluster’s status.conditions[InfrastructureReady] condition. The Ready condition must surface issues during the entire lifecycle of the OpenStackCluster (both during initial provisioning and after the initial provisioning is completed). |
OpenStackClusterTemplateResource
(Appears on: OpenStackClusterTemplateSpec)
OpenStackClusterTemplateResource describes the data needed to create a OpenStackCluster from a template.
| Field | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
specOpenStackClusterSpec |
|
OpenStackClusterTemplateSpec
(Appears on: OpenStackClusterTemplate)
OpenStackClusterTemplateSpec defines the desired state of OpenStackClusterTemplate.
| Field | Description |
|---|---|
templateOpenStackClusterTemplateResource |
OpenStackIdentityReference
(Appears on: OpenStackClusterSpec, OpenStackMachineSpec)
OpenStackIdentityReference is a reference to an infrastructure provider identity to be used to provision cluster resources.
| Field | Description |
|---|---|
typestring |
Type specifies the identity reference type. Defaults to Secret for backward compatibility. |
namestring |
Name is the name of a Secret (type=Secret) in the same namespace as the resource being provisioned,
or the name of an OpenStackClusterIdentity (type=ClusterIdentity).
The Secret must contain a key named |
cloudNamestring |
CloudName specifies the name of the entry in the clouds.yaml file to use. |
regionstring |
(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 |
|---|---|
providerIDstring |
ProviderID is the unique identifier as specified by the cloud provider. |
flavorstring |
The flavor reference for the flavor for your server instance. |
flavorIDstring |
FlavorID allows flavors to be specified by ID. This field takes precedence over Flavor. |
imageImageParam |
The image to use for your server instance. If the rootVolume is specified, this will be used when creating the root volume. |
sshKeyNamestring |
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 |
trunkbool |
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. |
configDrivebool |
Config Drive support |
rootVolumeRootVolume |
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 |
serverGroupServerGroupParam |
(Optional)
The server group to assign the machine to. |
identityRefOpenStackIdentityReference |
(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. |
floatingIPPoolRefKubernetes 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 |
|---|---|
readybool |
(Optional)
Ready is true when the provider resource is ready. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to determine the ready state of the machine. |
initializationMachineInitialization |
(Optional)
Initialization contains information about the initialization status of the machine. |
instanceIDstring |
(Optional)
InstanceID is the OpenStack instance ID for this machine. |
addresses[]Kubernetes core/v1.NodeAddress |
Addresses contains the OpenStack instance associated addresses. |
instanceStateInstanceState |
(Optional)
InstanceState is the state of the OpenStack instance for this machine. This field is not set anymore by the OpenStackMachine controller. Instead, it’s set by the OpenStackServer controller. |
resolvedResolvedMachineSpec |
(Optional)
Resolved contains parts of the machine spec with all external references fully resolved. |
resourcesMachineResources |
(Optional)
Resources contains references to OpenStack resources created for the machine. |
failureReasonsigs.k8s.io/cluster-api-provider-openstack/pkg/utils/errors.DeprecatedCAPIMachineStatusError |
(Optional)
FailureReason explains the reson behind a failure. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to report failures. |
failureMessagestring |
(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. Deprecated: This field is deprecated and will be removed in a future API version. Use status.conditions to report failures. |
conditionssigs.k8s.io/cluster-api/api/core/v1beta1.Conditions |
(Optional)
Conditions defines current service state of the OpenStackMachine. This field surfaces into Machine’s status.conditions[InfrastructureReady] condition. The Ready condition must surface issues during the entire lifecycle of the OpenStackMachine (both during initial provisioning and after the initial provisioning is completed). |
OpenStackMachineTemplateResource
(Appears on: OpenStackMachineTemplateSpec)
OpenStackMachineTemplateResource describes the data needed to create a OpenStackMachine from a template.
| Field | Description | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
specOpenStackMachineSpec |
Spec is the specification of the desired behavior of the machine.
|
OpenStackMachineTemplateSpec
(Appears on: OpenStackMachineTemplate)
OpenStackMachineTemplateSpec defines the desired state of OpenStackMachineTemplate.
| Field | Description |
|---|---|
templateOpenStackMachineTemplateResource |
OpenStackMachineTemplateStatus
(Appears on: OpenStackMachineTemplate)
OpenStackMachineTemplateStatus defines the observed state of OpenStackMachineTemplate.
| Field | Description |
|---|---|
capacityKubernetes core/v1.ResourceList |
(Optional)
Capacity defines the resource capacity for this machine. This value is used for autoscaling from zero operations as defined in: https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20210310-opt-in-autoscaling-from-zero.md |
nodeInfo,omitempty,omitzeroNodeInfo |
(Optional) |
conditionssigs.k8s.io/cluster-api/api/core/v1beta1.Conditions |
(Optional)
Conditions defines current service state of the OpenStackMachineTemplate. The Ready condition must surface issues during the entire lifecycle of the OpenStackMachineTemplate. (both during initial provisioning and after the initial provisioning is completed). |
PortOpts
(Appears on: OpenStackMachineSpec)
| Field | Description |
|---|---|
networkNetworkParam |
(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. |
descriptionstring |
(Optional)
Description is a human-readable description for the port. |
nameSuffixstring |
(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. |
trunkbool |
(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. |
ResolvedPortSpecFieldsResolvedPortSpecFields |
(Members of |
PortStatus
(Appears on: MachineResources)
| Field | Description |
|---|---|
idstring |
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 |
|---|---|
subnetstring |
(Optional)
SubnetID is the id of a subnet to create the fixed IP of a port in. |
ipAddressstring |
(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 |
|---|---|
serverGroupIDstring |
(Optional)
ServerGroupID is the ID of the server group the machine should be added to and is calculated based on ServerGroupFilter. |
imageIDstring |
(Optional)
ImageID is the ID of the image to use for the machine and is calculated based on ImageFilter. |
flavorIDstring |
(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 |
|---|---|
namestring |
Name is the name of the port. |
descriptionstring |
Description is a human-readable description for the port. |
networkIDstring |
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.) |
trunkbool |
(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. |
ResolvedPortSpecFieldsResolvedPortSpecFields |
(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 |
|---|---|
adminStateUpbool |
(Optional)
AdminStateUp specifies whether the port should be created in the up (true) or down (false) state. The default is up. |
macAddressstring |
(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. |
hostIDstring |
(Optional)
HostID specifies the ID of the host where the port resides. |
vnicTypestring |
(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. |
profileBindingProfile |
(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 |
disablePortSecuritybool |
(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. |
propagateUplinkStatusbool |
(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 |
|---|---|
namestring |
Name is the name of the referenced resource |
RootVolume
(Appears on: OpenStackMachineSpec)
| Field | Description |
|---|---|
sizeGiBint |
SizeGiB is the size of the block device in gibibytes (GiB). |
BlockDeviceVolumeBlockDeviceVolume |
(Members of |
Router
(Appears on: OpenStackClusterStatus)
Router represents basic information about the associated OpenStack Neutron Router.
| Field | Description |
|---|---|
namestring |
|
idstring |
|
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 |
|---|---|
namestring |
|
descriptionstring |
|
projectIDstring |
|
FilterByNeutronTagsFilterByNeutronTags |
(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 |
|---|---|
idstring |
(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. |
filterRouterFilter |
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 |
|---|---|
namestring |
Name is the name of the scheduler hint property. It is a unique identifier for the property. |
valueSchedulerHintAdditionalValue |
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 |
|---|---|
typeSchedulerHintValueType |
Type represents the type of the value. Valid values are Bool, String, and Number. |
boolbool |
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. |
numberint |
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. |
stringstring |
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 |
|---|---|
namestring |
|
descriptionstring |
|
projectIDstring |
|
FilterByNeutronTagsFilterByNeutronTags |
(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 |
|---|---|
idstring |
(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. |
filterSecurityGroupFilter |
(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 |
|---|---|
namestring |
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. |
descriptionstring |
(Optional)
description of the security group rule. |
directionstring |
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. |
etherTypestring |
(Optional)
etherType must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules. |
portRangeMinint |
(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. |
portRangeMaxint |
(Optional)
portRangeMax is a number in the range that is matched by the security group rule. The portRangeMin attribute constrains the portRangeMax attribute. |
protocolstring |
(Optional)
protocol is the protocol that is matched by the security group rule. |
remoteGroupIDstring |
(Optional)
remoteGroupID is the remote group ID to be associated with this security group rule. You can specify either remoteGroupID or remoteIPPrefix or remoteManagedGroups. |
remoteIPPrefixstring |
(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 |
|---|---|
namestring |
name of the security group |
idstring |
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 |
|---|---|
namestring |
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 |
|---|---|
idstring |
ID is the ID of the server group to use. |
filterServerGroupFilter |
Filter specifies a query to select an OpenStack server group. If provided, it cannot be empty. |
ServerMetadata
(Appears on: OpenStackMachineSpec)
| Field | Description |
|---|---|
keystring |
Key is the server metadata key |
valuestring |
Value is the server metadata value |
Subnet
(Appears on: NetworkStatusWithSubnets)
Subnet represents basic information about the associated OpenStack Neutron Subnet.
| Field | Description |
|---|---|
namestring |
|
idstring |
|
cidrstring |
|
tags[]string |
(Optional) |
SubnetFilter
(Appears on: SubnetParam)
SubnetFilter specifies a filter to select a subnet. At least one parameter must be specified.
| Field | Description |
|---|---|
namestring |
|
descriptionstring |
|
projectIDstring |
|
ipVersionint |
|
gatewayIPstring |
|
cidrstring |
|
ipv6AddressModestring |
|
ipv6RAModestring |
|
FilterByNeutronTagsFilterByNeutronTags |
(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 |
|---|---|
idstring |
(Optional)
ID is the uuid of the subnet. It will not be validated. |
filterSubnetFilter |
(Optional)
Filter specifies a filter to select the subnet. It must match exactly one subnet. |
SubnetSpec
(Appears on: OpenStackClusterSpec)
| Field | Description |
|---|---|
cidrstring |
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 |
|---|---|
namestring |
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. |
keystring |
Key is the key in the key-value pair. |
valuestring |
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 |
|---|---|
fromVolumeAZSource |
(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. |
nameVolumeAZName |
(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.