From 2eaf858c5cf290afdf50337ea7e2920111e755bb Mon Sep 17 00:00:00 2001 From: Matt Dorn Date: Mon, 9 Apr 2018 23:23:18 -0500 Subject: [PATCH] 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. --- docs/topics/hardware.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/topics/hardware.md b/docs/topics/hardware.md index 5908e477..89ebae8a 100644 --- a/docs/topics/hardware.md +++ b/docs/topics/hardware.md @@ -162,14 +162,14 @@ show ip bgp neighbors 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 -kind: bgpPeer +apiVersion: crd.projectcalico.org/v1 +kind: BGPPeer metadata: - peerIP: LAN_IP - scope: global + name: NAME spec: + peerIP: LAN_IP asNumber: 64512 ```