An ForwardingRule is an example API type.
Type
CRD
Group
nlb.ionoscloud.crossplane.io
Version
v1alpha1
apiVersion: nlb.ionoscloud.crossplane.io/v1alpha1
kind: ForwardingRule
ForwardingRuleSpec defines the desired state of a Network Load Balancer ForwardingRule.
ForwardingRuleParameters are the observable fields of a Network Load Balancer ForwardingRule. Required fields in order to create a Network Load Balancer ForwardingRule: DatacenterCfg (via ID or via reference), NLBCfg (via ID or via reference), Name, Protocol, ListenerIP (via ID or via reference), ListenerPort.
Datacenter in which the Network Load Balancer that this Forwarding Rule applies to is provisioned in.
DatacenterIDRef references to a Datacenter to retrieve its ID.
Policies for referencing.
DatacenterIDSelector selects reference to a Datacenter to retrieve its DatacenterID.
Policies for selection.
HealthCheck options for the forwarding rule health check
Listening (inbound) IP. IP must be assigned to the listener NIC of the Network Load Balancer.
IPBlockConfig can be used to reference an existing IPBlock and assign an ip by indexing For Network Load Balancer Forwarding Rules, only a single index can be specified
IPBlockIDRef references to a IPBlock to retrieve its ID.
Policies for referencing.
IPBlockIDSelector selects reference to a IPBlock to retrieve its IPBlockID.
Policies for selection.
NetworkLoadBalancer to which this Forwarding Rule will apply.
NetworkLoadBalancerIDRef references to a Datacenter to retrieve its ID.
Policies for referencing.
NetworkLoadBalancerIDSelector selects reference to a Datacenter to retrieve its DatacenterID.
Policies for selection.
Targets is the list of load balanced targets
HealthCheck options of the balanced target health check
IP of the balanced target
IPBlockConfig can be used to reference an existing IPBlock and assign an ip by indexing For Network Load Balancer Forwarding Rules, only a single index can be specified
IPBlockIDRef references to a IPBlock to retrieve its ID.
Policies for referencing.
IPBlockIDSelector selects reference to a IPBlock to retrieve its IPBlockID.
Policies for selection.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
ForwardingRuleStatus represents the observed state of a Network Load Balancer ForwardingRule.
ForwardingRuleObservation are the observable fields of a Network Load Balancer ForwardingRule.
Conditions of the resource.
example
apiVersion: nlb.ionoscloud.crossplane.io/v1alpha1
kind: ForwardingRule
metadata:
name: example
spec:
forProvider:
algorithm: ROUND_ROBIN
datacenterConfig:
datacenterIdRef:
name: nlbdatacenter
healthCheck:
clientTimeout: 70000
connectTimeout: 60000
retries: 5
targetTimeout: 30000
listenerIpConfig:
index: 0
ipBlock:
ipBlockIdRef:
name: nlbipblock
listenerPort: 8081
name: example
networkLoadBalancerConfig:
networkLoadBalancerIdRef:
name: example
protocol: TCP
targets:
- ipConfig:
ip: 10.10.10.10
port: 31234
weight: 10
- healthCheck:
check: true
checkInterval: 3000
maintenance: false
ipConfig:
ip: 10.10.10.11
port: 31235
weight: 20
managementPolicies:
- "*"
providerConfigRef:
name: example