Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

configuration details #1

@danehans

Description

@danehans

Great job with kube-parrot. So far I really like what I see with the project. I am trying to setup parrot to work with my k8s cluster. Can you help me with the following questions?

  • Does parrot run on kubelet nodes? If so, how do I configure the kubelet to use parrot? Do you have any example conf files that you can share?
  • I see the gobgp lib is being used and parrot runs a grpc server. Can I use the gobgp client to intact with parrot?
  • What is the version of Kubernetes that has been tested with parrot? Do any other prerequisites exist?
  • If you have parrot running as a container and managed by systemd, do you have a sample systemd unit file you can share?

I have a parrot instance running in my k8s lab cluster and it has established bgp neighbor relationships with my two configured upstream bgp speakers. In general, I'm trying to figure out how parrot integrates with k8s and a few general grey areas. Any feedback would be greatly appreciated.

Here are a few details of my setup:

docker run -d --net=host -v /home/core/.kube/config:/etc/kube-parrot/kubeconfig sapcc/kube-parrot:v201611131942 --kubeconfig=/etc/kube-parrot/kubeconfig --as=64512 --local_address=10.30.118.155 --master_address=10.30.118.155 --service_subnet=10.30.118.160/28 --neighbor=10.30.118.138 --neighbor=10.30.118.139

$ docker ps | grep parr
118ec7171c84        sapcc/kube-parrot:v201611131942            "/parrot --kubeconfig"   46 hours ago        Up 46 hours                             thirsty_varahamihira

$ docker logs 118ec7171c84
Welcome to Kubernetes Parrot v201611131942
time="2017-01-18T07:24:45Z" level=info msg="Add a peer configuration for:10.30.118.138" Topic=Peer 
time="2017-01-18T07:24:45Z" level=info msg="Add a peer configuration for:10.30.118.139" Topic=Peer 
time="2017-01-18T07:25:28Z" level=info msg="Peer Up" Key=10.30.118.138 State="BGP_FSM_OPENCONFIRM" Topic=Peer 
time="2017-01-18T07:27:07Z" level=info msg="Peer Up" Key=10.30.118.139 State="BGP_FSM_OPENCONFIRM" Topic=Peer ```


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions