CiliumBGPAdvertisement
cilium.io / v2alpha1
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPAdvertisement
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
advertisements []object required
Advertisements is a list of BGP advertisements.
advertisementType
string required
AdvertisementType defines type of advertisement which has to be advertised.
enum:
PodCIDR, CiliumPodIPPool, Serviceattributes object
Attributes defines additional attributes to set to the advertised routes.
If not specified, no additional attributes are set.
communities object
Communities sets the community attributes in the route.
If not specified, no community attribute is set.
large
[]string
Large holds a list of the BGP Large Communities Attribute (RFC 8092) values.
standard
[]string
Standard holds a list of "standard" 32-bit BGP Communities Attribute (RFC 1997) values defined as numeric values.
wellKnown
[]string
WellKnown holds a list "standard" 32-bit BGP Communities Attribute (RFC 1997) values defined as
well-known string aliases to their numeric values.
localPreference
integer
LocalPreference sets the local preference attribute in the route.
If not specified, no local preference attribute is set.
format:
int64selector object
Selector is a label selector to select objects of the type specified by AdvertisementType.
For the PodCIDR AdvertisementType it is not applicable. For other advertisement types,
if not specified, no objects of the type specified by AdvertisementType are selected for advertisement.
matchExpressions []object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key
string required
key is the label key that the selector applies to.
operator
string required
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
enum:
In, NotIn, Exists, DoesNotExist
values
[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabels
object
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
service object
Service defines configuration options for advertisementType service.
addresses
[]string required
Addresses is a list of service address types which needs to be advertised via BGP.
minItems:
1
aggregationLengthIPv4
integer
IPv4 mask to aggregate BGP route advertisements of service
minimum:
0maximum:
31
aggregationLengthIPv6
integer
IPv6 mask to aggregate BGP route advertisements of service
minimum:
0maximum:
127No matches. Try .spec.advertisements for an exact path