-
Notifications
You must be signed in to change notification settings - Fork 523
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
ETCD-520: add etcd dbsize field #1736
ETCD-520: add etcd dbsize field #1736
Conversation
@Elbehery: This pull request references ETCD-513 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.16.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/hold |
Hello @Elbehery! Some important instructions when contributing to openshift/api: |
@Elbehery: This pull request references ETCD-520 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
b66c470
to
3d08345
Compare
/retest-required |
1 similar comment
/retest-required |
3d08345
to
06a94e1
Compare
the failure in cc @soltysh |
Enhancement for this change can be found here openshift/enhancements#1549 |
06a94e1
to
cfc0028
Compare
cfc0028
to
7438bd6
Compare
/retest-required |
/test e2e-aws-ovn-hypershift |
see thread for hypershift job failure |
"description": "backendQuotaGiB sets the etcd backend storage size limit in gibibytes. The value should be an integer not less than 8 and not more than 32. When not specified, the default value is 8.", | ||
"type": "integer", | ||
"format": "int32", | ||
"default": 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not right, this should be 8, whys the tag not worked 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why .. the taga are correct
348fa41
to
b9b2750
Compare
example/v1/types_stable.go
Outdated
// backendQuotaGiB sets the etcd backend storage size limit in gibibytes. | ||
// The value should be an integer not less than 8 and not more than 32. | ||
// When not specified, the default value is 8. | ||
// +kubebuilder:default:=8 | ||
// +kubebuilder:validation:Minimum=8 | ||
// +kubebuilder:validation:Maximum=32 | ||
// +kubebuilder:validation:XValidation:rule="self>=oldSelf",message="etcd backendQuotaGiB may not be decreased" | ||
// +openshift:enable:FeatureGate=EtcdBackendQuota | ||
// +default:=8 | ||
// +optional | ||
BackendQuotaGiB int32 `json:"backendQuotaGiB,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets do the example as a separate PR, and please make it generic, we are looking to show a specific thing here which is the defaulting and min/max, we don't need the full type. See other examples and how they're set up
b9b2750
to
24eb9f0
Compare
24eb9f0
to
fc5c9de
Compare
/retest-required |
1 similar comment
/retest-required |
fc5c9de
to
86b054e
Compare
I'm happy with the content of the PR at this point, is the rest of this feature ready to go, is the plan still to try and merge this for 4.16? |
yes it is due on 4.16 the rest of this feature is here already done waiting on this to merge .. i already tested manually on a cluster and it is working .. you can find the Once this PR merge, I will bump the |
/retest-required |
/approve Can someone from the team working this feature, @soltysh maybe, add the LGTM and hold cancel if we are happy for this to merge at this point, considering proximity to the feature freeze |
/hold cancel |
before going to accessible-by-default, in addition to tests the API PR must link tested documentation for
and if it is "impossible", I'd like to understand where the infinite memory machine comes from. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, Elbehery, JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Elbehery: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-config-api-container-v4.16.0-202405031950.p0.g56da039.assembly.stream.el9 for distgit ose-cluster-config-api. |
This PR adds field
etcdDBSize
to etcd-operator CRD to make etcd backend storage size configurable in OCP.resolves https://issues.redhat.com/browse/ETCD-513
cc @soltysh @deads2k @tjungblu @dusk125 @hasbro17