...

Text file src/k8s.io/kubernetes/cluster/addons/calico-policy-controller/bgpconfigurations-crd.yaml

Documentation: k8s.io/kubernetes/cluster/addons/calico-policy-controller

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  labels:
     5    addonmanager.kubernetes.io/mode: Reconcile
     6  name: bgpconfigurations.crd.projectcalico.org
     7spec:
     8  group: crd.projectcalico.org
     9  names:
    10    kind: BGPConfiguration
    11    listKind: BGPConfigurationList
    12    plural: bgpconfigurations
    13    singular: bgpconfiguration
    14  scope: Cluster
    15  versions:
    16  - name: v1
    17    schema:
    18      openAPIV3Schema:
    19        description: BGPConfiguration contains the configuration for any BGP routing.
    20        properties:
    21          apiVersion:
    22            description: 'APIVersion defines the versioned schema of this representation
    23              of an object. Servers should convert recognized schemas to the latest
    24              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    25            type: string
    26          kind:
    27            description: 'Kind is a string value representing the REST resource this
    28              object represents. Servers may infer this from the endpoint the client
    29              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    30            type: string
    31          metadata:
    32            type: object
    33          spec:
    34            description: BGPConfigurationSpec contains the values of the BGP configuration.
    35            properties:
    36              asNumber:
    37                description: 'ASNumber is the default AS number used by a node. [Default:
    38                  64512]'
    39                format: int32
    40                type: integer
    41              communities:
    42                description: Communities is a list of BGP community values and their
    43                  arbitrary names for tagging routes.
    44                items:
    45                  description: Community contains standard or large community value
    46                    and its name.
    47                  properties:
    48                    name:
    49                      description: Name given to community value.
    50                      type: string
    51                    value:
    52                      description: Value must be of format `aa:nn` or `aa:nn:mm`.
    53                        For standard community use `aa:nn` format, where `aa` and
    54                        `nn` are 16 bit number. For large community use `aa:nn:mm`
    55                        format, where `aa`, `nn` and `mm` are 32 bit number. Where,
    56                        `aa` is an AS Number, `nn` and `mm` are per-AS identifier.
    57                      pattern: ^(\d+):(\d+)$|^(\d+):(\d+):(\d+)$
    58                      type: string
    59                  type: object
    60                type: array
    61              listenPort:
    62                description: ListenPort is the port where BGP protocol should listen.
    63                  Defaults to 179
    64                maximum: 65535
    65                minimum: 1
    66                type: integer
    67              logSeverityScreen:
    68                description: 'LogSeverityScreen is the log severity above which logs
    69                  are sent to the stdout. [Default: INFO]'
    70                type: string
    71              nodeToNodeMeshEnabled:
    72                description: 'NodeToNodeMeshEnabled sets whether full node to node
    73                  BGP mesh is enabled. [Default: true]'
    74                type: boolean
    75              prefixAdvertisements:
    76                description: PrefixAdvertisements contains per-prefix advertisement
    77                  configuration.
    78                items:
    79                  description: PrefixAdvertisement configures advertisement properties
    80                    for the specified CIDR.
    81                  properties:
    82                    cidr:
    83                      description: CIDR for which properties should be advertised.
    84                      type: string
    85                    communities:
    86                      description: Communities can be list of either community names
    87                        already defined in `Specs.Communities` or community value
    88                        of format `aa:nn` or `aa:nn:mm`. For standard community use
    89                        `aa:nn` format, where `aa` and `nn` are 16 bit number. For
    90                        large community use `aa:nn:mm` format, where `aa`, `nn` and
    91                        `mm` are 32 bit number. Where,`aa` is an AS Number, `nn` and
    92                        `mm` are per-AS identifier.
    93                      items:
    94                        type: string
    95                      type: array
    96                  type: object
    97                type: array
    98              serviceClusterIPs:
    99                description: ServiceClusterIPs are the CIDR blocks from which service
   100                  cluster IPs are allocated. If specified, Calico will advertise these
   101                  blocks, as well as any cluster IPs within them.
   102                items:
   103                  description: ServiceClusterIPBlock represents a single allowed ClusterIP
   104                    CIDR block.
   105                  properties:
   106                    cidr:
   107                      type: string
   108                  type: object
   109                type: array
   110              serviceExternalIPs:
   111                description: ServiceExternalIPs are the CIDR blocks for Kubernetes
   112                  Service External IPs. Kubernetes Service ExternalIPs will only be
   113                  advertised if they are within one of these blocks.
   114                items:
   115                  description: ServiceExternalIPBlock represents a single allowed
   116                    External IP CIDR block.
   117                  properties:
   118                    cidr:
   119                      type: string
   120                  type: object
   121                type: array
   122            type: object
   123        type: object
   124    served: true
   125    storage: true
   126status:
   127  acceptedNames:
   128    kind: ""
   129    plural: ""
   130  conditions: []
   131  storedVersions: []

View as plain text