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:
parent
b8656fd74b
commit
2eaf858c5c
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue