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

[Rfc2136] Add message compression #2290

Closed

Conversation

kumy
Copy link

@kumy kumy commented Sep 14, 2021

Description

When facing large messages, one can have its dns refusing the update due to "too large message" error. The DNS library used has an option to compress the message that is sent.

This commit exposes this feature. It adds a new command line option called --rfc2136-enable-compression and adds a new field to the configuration. The default value of the field is set to false to not change the current behavior.

We had this change pending locally on our side since a long time. As of today, an alternative would be to use the recent batchChangeSize option from #2127 to overcome the same issue.

Relates to #1322 #1164

Checklist

When facing large messages, one can have its dns refusing the update due
to "too large message" error.
The DNS library used propose to compress the message that is sent.

This commit exposes this feature. It adds a new command line option
named --enable-compression and adds a new field to the configuration.
The default value of the field is set to false to not change the current
behavior of external-dns.

We had this change pending locally on our side since a long time. As of
today, an alternative would be to use the rencent `batchChangeSize`
option from kubernetes-sigs#2127 to overcome the same issue.
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 14, 2021
@k8s-ci-robot
Copy link
Contributor

Welcome @kumy!

It looks like this is your first PR to kubernetes-sigs/external-dns 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/external-dns has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 14, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kumy
To complete the pull request process, please assign njuettner after the PR has been reviewed.
You can assign the PR to them by writing /assign @njuettner in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kumy kumy changed the title WIP: [Rfc2136] Add message compression [Rfc2136] Add message compression Sep 16, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 16, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 15, 2021
@kumy
Copy link
Author

kumy commented Dec 15, 2021

Hi, anyone to review this please?

@Raffo
Copy link
Contributor

Raffo commented Dec 17, 2021

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 17, 2021
@Raffo
Copy link
Contributor

Raffo commented Dec 17, 2021

Trying to figure out why CI didn’t run on this one and then I’ll work on a review.

@Raffo Raffo closed this Dec 17, 2021
@Raffo Raffo reopened this Dec 17, 2021
@linux-foundation-easycla
Copy link

CLA Not Signed

@Raffo
Copy link
Contributor

Raffo commented Dec 17, 2021

@kumy please check the CLA. I think you might have to squash the commits and force push to make sure that no commits are breaking the CLA.

@kumy
Copy link
Author

kumy commented Dec 17, 2021

@boris-lenzinger As I leaved, I find it better if you could please do it under your name? Thanks 🙏

@kumy kumy closed this Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants