istio/istio · error

service registry %s is not supported

Error message

service registry %s is not supported

What it means

Error "service registry %s is not supported" thrown in istio/istio.

Source

Thrown at pilot/pkg/bootstrap/servicecontroller.go:64

	)
	serviceControllers.AddRegistry(s.serviceEntryController)

	registered := sets.New[provider.ID]()
	for _, r := range args.RegistryOptions.Registries {
		serviceRegistry := provider.ID(r)
		if registered.Contains(serviceRegistry) {
			log.Warnf("%s registry specified multiple times.", r)
			continue
		}
		registered.Insert(serviceRegistry)
		log.Infof("Adding %s registry adapter", serviceRegistry)
		switch serviceRegistry {
		case provider.Kubernetes:
			if err := s.initKubeRegistry(args); err != nil {
				return err
			}
		default:
			return fmt.Errorf("service registry %s is not supported", r)
		}
	}

	// Defer running of the service controllers.
	s.addStartFunc("service controllers", func(stop <-chan struct{}) error {
		go serviceControllers.Run(stop)
		return nil
	})

	if features.EnableAmbient {
		s.ambientIndex = ambient.New(ambient.Options{
			SystemNamespace:        args.Namespace,
			DomainSuffix:           args.RegistryOptions.KubeOptions.DomainSuffix,
			ClusterID:              s.clusterID,
			Revision:               args.Revision,
			XDSUpdater:             s.XDSServer,
			MeshConfig:             s.environment.Watcher,
			StatusNotifier:         args.RegistryOptions.KubeOptions.StatusWritingEnabled,

View on GitHub (pinned to 8dc789c5cf)

When it happens

Trigger: Thrown at pilot/pkg/bootstrap/servicecontroller.go:64 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of istio/istio@8dc789c5cf (2026-08-15). Data as JSON: /api/errors/974c4719aac625b3. Report an issue: GitHub.