kurator-dev / kurator

Unified resource orchestration, unified scheduling, unified traffic management and unified telemetry for distributed cloud
https://kurator.dev
Apache License 2.0
242 stars 39 forks source link

Limit Fleet CRD to One Instance per Namespace #382

Open Xieql opened 1 year ago

Xieql commented 1 year ago

What would you like to be added: A mechanism to restrict the creation of Fleet CRD instances to just one per namespace, possibly using an admission controller.

Why is this needed: Currently, users can create multiple Fleet instances within a single namespace, which contradicts our design. Limiting this to one instance per namespace will prevent potential conflicts(such as in backup controller) and maintain system integrity.

Xieql commented 1 year ago

/assign