tkestack / tke

Native Kubernetes container management platform supporting multi-tenant and multi-cluster
Other
1.47k stars 330 forks source link

feat: cluster add ClusterLevel field #2321

Closed 1996wentaozhang closed 3 months ago

1996wentaozhang commented 3 months ago

What type of PR is this?

/kind feature

What this PR does / why we need it: add spec.clusterLevel and status.clusterLevel for cluster to record expect and real clusterLevel

Special notes for your reviewer: 1)eks use Annotations to Distinguish expect and real clusterLevel 2)tke use db record to Distinguish expect and real clusterLevel

Does this PR introduce a user-facing change?: NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: NONE

leoryu commented 3 months ago

LGTM