How to scale Pilot, and how Pilot scales?

#1
  • Is there anyone who has deployed Istio to production-scale?

  • Could anyone share how to scale Pilot, e.g. how many Pilot instances needed to support x pods in cluster?

  • If I deploy > 1 replicas of Pilot, will they listen to the same Kubernetes events? Or will they split the workload of listening Kubernetes events?

  • Also, if I deploy > 1 replicas of Pilot, how will that help the scalability of the control plane?

Istio-pilot consuming high CPU
#2

In performance tests, one pilot with 5 CPUs is able to deal with 400 services and 800 pods. Upcoming changes for namespace isolation will increase scalability, however we do not have numbers for it yet.

Increasing the number of pilots reduces the number of clients that pilot needs to serve. If 2 pilots are deployed in the above configuration, each pilot will serve 400 pods (sidecars), both pilots listen to the same set of kubernetes events.

#3

Namespace isolation? Could you elaborate more? Or is there any docs that I can read about that?

#4

@sailfulwebid Here is the design proposal for the namespace filtering ->https://docs.google.com/document/d/1x8LI3T7SHW-yDrrt3ryEr6iSs9ewMCt4kXtJpIaSSlI/edit#heading=h.m6yvqjh71gxi

#5

Access to this GDoc seems restricted. I just send an access request but I think you might want to move this design proposal onto the Istio Github wiki for everybody to consume and comment on. :slight_smile: