Update example BGPPeer manifest

Previous example may have been outdated. It resulted in `error: unable to recognize "example.yaml": no matches for /, Kind=bgpPeer` .

See https://docs.projectcalico.org/v3.0/reference/calicoctl/resources/bgppeer.
This commit is contained in:
Matt Dorn 2018-04-09 23:23:18 -05:00 committed by GitHub
parent b8656fd74b
commit 2eaf858c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -162,14 +162,14 @@ show ip bgp neighbors
show ip route bgp show ip route bgp
``` ```
Be sure to register the peer by creating a Calico `bgpPeer` CRD with `kubectl apply`. Be sure to register the peer by creating a Calico `BGPPeer` CRD with `kubectl apply`.
``` ```
apiVersion: v1 apiVersion: crd.projectcalico.org/v1
kind: bgpPeer kind: BGPPeer
metadata: metadata:
peerIP: LAN_IP name: NAME
scope: global
spec: spec:
peerIP: LAN_IP
asNumber: 64512 asNumber: 64512
``` ```