CiliumBGPNodeConfig
cilium.io / v2
apiVersion: cilium.io/v2
kind: CiliumBGPNodeConfig
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object required
spec object required
Spec is the specification of the desired behavior of the CiliumBGPNodeConfig.
bgpInstances []object required
BGPInstances is a list of BGP router instances on the node.
minItems:
1maxItems:
16
localASN
integer
LocalASN is the ASN of this virtual router.
Supports extended 32bit ASNs.
format:
int64minimum:
1maximum:
4.294967295e+09
localPort
integer
LocalPort is the port on which the BGP daemon listens for incoming connections.
If not specified, BGP instance will not listen for incoming connections.
format:
int32minimum:
1maximum:
65535
name
string required
Name is the name of the BGP instance. This name is used to identify the BGP instance on the node.
minLength:
1maxLength:
255peers []object
Peers is a list of neighboring BGP peers for this virtual router
autoDiscovery object
AutoDiscovery is the configuration for auto-discovery of the peer address.
defaultGateway object
defaultGateway is the configuration for auto-discovery of the default gateway.
addressFamily
string required
addressFamily is the address family of the default gateway.
enum:
ipv4, ipv6
mode
string required
mode is the mode of the auto-discovery.
enum:
DefaultGateway
localAddress
string
LocalAddress is the IP address of the local interface to use for the peering session.
This configuration is derived from CiliumBGPNodeConfigOverride resource. If not specified, the local address will be used for setting up peering.
pattern:
pattern: ((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\...
((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|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name of the BGP peer. This name is used to identify the BGP peer for the BGP instance.
peerASN
integer
PeerASN is the ASN of the peer BGP router.
Supports extended 32bit ASNs
format:
int64minimum:
0maximum:
4.294967295e+09
peerAddress
string
PeerAddress is the IP address of the neighbor.
Supports IPv4 and IPv6 addresses.
pattern:
pattern: ((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\...
((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
peerConfigRef object
PeerConfigRef is a reference to a peer configuration resource.
If not specified, the default BGP configuration is used for this peer.
name
string required
Name is the name of the peer config resource.
Name refers to the name of a Kubernetes object (typically a CiliumBGPPeerConfig).
routerID
string
RouterID is the BGP router ID of this virtual router.
This configuration is derived from CiliumBGPNodeConfigOverride resource.
If not specified, the router ID will be derived from the node local address.
format:
ipv4status object
Status is the most recently observed status of the CiliumBGPNodeConfig.
bgpInstances []object
BGPInstances is the status of the BGP instances on the node.
localASN
integer
LocalASN is the ASN of this BGP instance.
format:
int64
name
string required
Name is the name of the BGP instance. This name is used to identify the BGP instance on the node.
peers []object
PeerStatuses is the state of the BGP peers for this BGP instance.
establishedTime
string
EstablishedTime is the time when the peering session was established.
It is represented in RFC3339 form and is in UTC.
name
string required
Name is the name of the BGP peer.
peerASN
integer
PeerASN is the ASN of the neighbor.
format:
int64
peerAddress
string required
PeerAddress is the IP address of the neighbor.
peeringState
string
PeeringState is last known state of the peering session.
routeCount []object
RouteCount is the number of routes exchanged with this peer per AFI/SAFI.
advertised
integer
Advertised is the number of routes advertised to this peer.
format:
int32
afi
string required
Afi is the Address Family Identifier (AFI) of the family.
enum:
ipv4, ipv6, l2vpn, ls, opaque
received
integer
Received is the number of routes received from this peer.
format:
int32
safi
string required
Safi is the Subsequent Address Family Identifier (SAFI) of the family.
enum:
unicast, multicast, mpls_label, encapsulation, vpls, evpn, ls, sr_policy, mup, mpls_vpn, mpls_vpn_multicast, route_target_constraints, flowspec_unicast, flowspec_vpn, key_valuetimers object
Timers is the state of the negotiated BGP timers for this peer.
appliedHoldTimeSeconds
integer
AppliedHoldTimeSeconds is the negotiated hold time for this peer.
format:
int32
appliedKeepaliveSeconds
integer
AppliedKeepaliveSeconds is the negotiated keepalive time for this peer.
format:
int32conditions []object
The current conditions of the CiliumBGPNodeConfig
lastTransitionTime
string required
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format:
date-time
message
string required
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength:
32768
observedGeneration
integer
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format:
int64minimum:
0
reason
string required
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$minLength:
1maxLength:
1024
status
string required
status of the condition, one of True, False, Unknown.
enum:
True, False, Unknown
type
string required
type of condition in CamelCase or in foo.example.com/CamelCase.
pattern:
^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$maxLength:
316No matches. Try .spec.bgpInstances for an exact path