Created
April 3, 2022 16:22
-
-
Save ruo91/ed69f25b895f3e899214d258c159e51c to your computer and use it in GitHub Desktop.
OpenShift v4.x - MetalLB BGP Peer CRD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apiextensions.k8s.io/v1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| annotations: | |
| controller-gen.kubebuilder.io/version: v0.7.0 | |
| operatorframework.io/installed-alongside-8cc443a56e44e053: ybkim/metallb-operator.4.10.0-202203111548 | |
| operatorframework.io/installed-alongside-b6ce4f7cd2a9868e: metallb/metallb-operator.4.10.0-202203111548 | |
| creationTimestamp: "2022-03-11T12:01:34Z" | |
| generation: 1 | |
| labels: | |
| operators.coreos.com/metallb-operator.metallb: "" | |
| operators.coreos.com/metallb-operator.ybkim: "" | |
| name: bgppeers.metallb.io | |
| resourceVersion: "103509711" | |
| uid: 925505a5-f07e-4bfa-95e0-04a25af4eb1d | |
| spec: | |
| conversion: | |
| strategy: None | |
| group: metallb.io | |
| names: | |
| kind: BGPPeer | |
| listKind: BGPPeerList | |
| plural: bgppeers | |
| singular: bgppeer | |
| scope: Namespaced | |
| versions: | |
| - name: v1beta1 | |
| schema: | |
| openAPIV3Schema: | |
| description: BGPPeer is the Schema for the peers API | |
| properties: | |
| apiVersion: | |
| description: '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' | |
| type: string | |
| kind: | |
| description: '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' | |
| type: string | |
| metadata: | |
| type: object | |
| spec: | |
| description: BGPPeerSpec defines the desired state of Peer | |
| properties: | |
| bfdProfile: | |
| type: string | |
| ebgpMultiHop: | |
| description: EBGP peer is multi-hops away | |
| type: boolean | |
| holdTime: | |
| description: Requested BGP hold time, per RFC4271. | |
| type: string | |
| keepaliveTime: | |
| description: Requested BGP keepalive time, per RFC4271. | |
| type: string | |
| myASN: | |
| description: AS number to use for the local end of the session. | |
| format: int32 | |
| maximum: 65535 | |
| minimum: 0 | |
| type: integer | |
| nodeSelectors: | |
| description: Only connect to this peer on nodes that match one of | |
| these selectors. | |
| items: | |
| properties: | |
| matchExpressions: | |
| items: | |
| properties: | |
| key: | |
| type: string | |
| operator: | |
| type: string | |
| values: | |
| items: | |
| type: string | |
| minItems: 1 | |
| type: array | |
| required: | |
| - key | |
| - operator | |
| - values | |
| type: object | |
| type: array | |
| matchLabels: | |
| additionalProperties: | |
| type: string | |
| type: object | |
| type: object | |
| type: array | |
| password: | |
| description: Authentication password for routers enforcing TCP MD5 | |
| authenticated sessions | |
| type: string | |
| peerASN: | |
| description: AS number to expect from the remote end of the session. | |
| format: int32 | |
| maximum: 65535 | |
| minimum: 0 | |
| type: integer | |
| peerAddress: | |
| description: Address to dial when establishing the session. | |
| type: string | |
| peerPort: | |
| description: Port to dial when establishing the session. | |
| maximum: 16384 | |
| minimum: 0 | |
| type: integer | |
| routerID: | |
| description: BGP router ID to advertise to the peer | |
| type: string | |
| sourceAddress: | |
| description: Source address to use when establishing the session. | |
| type: string | |
| required: | |
| - myASN | |
| - peerASN | |
| - peerAddress | |
| type: object | |
| status: | |
| description: BGPPeerStatus defines the observed state of Peer | |
| type: object | |
| type: object | |
| served: true | |
| storage: true | |
| subresources: | |
| status: {} | |
| status: | |
| acceptedNames: | |
| kind: BGPPeer | |
| listKind: BGPPeerList | |
| plural: bgppeers | |
| singular: bgppeer | |
| conditions: | |
| - lastTransitionTime: "2022-03-11T12:01:34Z" | |
| message: no conflicts found | |
| reason: NoConflicts | |
| status: "True" | |
| type: NamesAccepted | |
| - lastTransitionTime: "2022-03-11T12:01:34Z" | |
| message: the initial names have been accepted | |
| reason: InitialNamesAccepted | |
| status: "True" | |
| type: Established | |
| storedVersions: | |
| - v1beta1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment