> For the complete documentation index, see [llms.txt](https://rocdu.gitbook.io/deep-understanding-of-istio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rocdu.gitbook.io/deep-understanding-of-istio/6/10.md).

# istio中的controller

## controllers

* certController 用于创建由k8s server签发的证书
* ConfigController 是一个ConfigStoreCache
* ServiceControllers 用于列出服务和实例的Discovery接口。其实际上是一个Aggregate controller

```
ac := aggregate.NewController(aggregate.Options{
    MeshHolder: e,
})
```

## registry

服务registry的实例。单个服务registry结合了服务发现和用于管理异步事件的控制器的功能。

```
type Instance interface {
    model.Controller
    model.ServiceDiscovery

    // 支持此服务registry的提供商（例如Kubernetes等）
    Provider() ProviderID

    // 服务registry适用的群集。 仅对于多集群系统是必需的。
    Cluster() string
}
```

* kube.controller.controller
* ServiceEntryStore
