Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ClusterSubnetStates crd #1769

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Update ClusterSubnetStates crd #1769

merged 1 commit into from
Feb 3, 2023

Conversation

csfmomo
Copy link
Contributor

@csfmomo csfmomo commented Jan 24, 2023

Update timestamp in ccs crd.

Reason for Change:
This is a CRD for AKS CNS scarcity feature. Scacity feature is a feature that allow DNC dynamically reserve IP. For example, the normal batch size is 16 and when CNS ask for more IPs, DNC always reserve 16 IPs or multiple 16 IPs. When we have scarcity feature, DNC is allowed to reserve even 1 IPs for CNS.
ccs timestamp is controlled by DNC so it belongs to status instead of spec. Then move it to status from spec. Spec is a desired target that controller send out. However, timestamp is a current status instead of the desired target. Status is the place to record the current status which is suitable for timestamp.

rbtr
rbtr previously approved these changes Jan 25, 2023
@rbtr rbtr merged commit ccba21e into master Feb 3, 2023
@rbtr rbtr deleted the crd branch February 3, 2023 16:46
rjdenney pushed a commit that referenced this pull request Mar 13, 2023
@tamilmani1989 tamilmani1989 added the cns Related to CNS. label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cns Related to CNS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants