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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

support custom vpc dns its deployment replicas #3286

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

bobz965
Copy link
Collaborator

@bobz965 bobz965 commented Oct 8, 2023

What type of this PR

  • Bug fixes

support run only one vpc-dns pod in all-in-one env

NAD maps to ovn-default, but the ovn-default's spec provider is no need to change as ovn-nad.default.ovn

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

馃 Generated by Copilot at 344473f

Add replicas field to VpcDNSSpec to support VpcDns scaling and high availability. Update CRD schemas, Go types, and controller logic to handle the new field.

馃 Generated by Copilot at 344473f

VpcDns can scale
replicas field is added
autumn of changes

HOW

馃 Generated by Copilot at 344473f

  • Add support for VpcDns scaling and high availability by introducing a new field replicas in the VpcDNSSpec schema (link, link)
  • Update the VpcDNSSpec type in the Go code to match the CRD schema and add the json:"replicas" tag (link)
  • Modify the createOrUpdateVpcDNSDep function in the VpcDns controller to set the Replicas field of the DeploymentSpec according to the user's specification (link)

Signed-off-by: bobz965 <zhangbingbing2_yewu@cmss.chinamobile.com>
Signed-off-by: bobz965 <zhangbingbing2_yewu@cmss.chinamobile.com>
@bobz965 bobz965 mentioned this pull request Oct 8, 2023
1 task
@bobz965 bobz965 marked this pull request as ready for review October 8, 2023 09:34
@bobz965 bobz965 merged commit 33bc9a6 into kubeovn:master Oct 9, 2023
58 checks passed
@bobz965 bobz965 deleted the vpc-dns-cust-replica branch October 9, 2023 01:32
bobz965 added a commit that referenced this pull request Oct 9, 2023
* support custom vpc dns its deployment replicas


* the provider is not necessary


---------

Signed-off-by: bobz965 <zhangbingbing2_yewu@cmss.chinamobile.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants