Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

[WIP] An operator-sdk based solution to manage Calico route-reflectors.

License

Notifications You must be signed in to change notification settings

IBM/route-reflector-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documenatation at doc/rr-operator-doc.md.

Deploy

IMG="us.icr.io/smz2/route-reflector-operator:l" make all

Cleanup

make cleanup

The Node and Calico objects:

for n in $(kgno -l route-reflector=true -o=name --no-headers); do
  c get node $(k get ${n} -oyaml|grep worker-id|awk '{print $2}') -oyaml --config=$C | sed '/routeReflectorClusterID/d' | c apply -f - --config=$C
  k label ${n} route-reflector-
done

calicoctl delete bgpconfig default --config=${C}
calicoctl delete bgppeers peer-with-route-reflectors --config=${C}

Running make fmt

There is a prerequisite for running make fmt that you have golangci-lint installed.

Please install the latest version by running:

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.28.1

About

[WIP] An operator-sdk based solution to manage Calico route-reflectors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages