-
Notifications
You must be signed in to change notification settings - Fork 607
Fix for the coredns configmap update: the corefile was not updated, e… #3378
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
base: master
Are you sure you want to change the base?
Conversation
…ven though a different cache size is set up in the test parameters.
Welcome @Tanzp01! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Tanzp01 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 |
Hi @Tanzp01. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
You need to do the EasyCLA. |
/ok-to-test |
Hi, I have updated the necessary CLA, could you take a look? |
dns/py/params.py
Outdated
if value > 0: | ||
cf = inputs.configmap_yaml['data']['Corefile'] | ||
cfList = cf.decode().split("\n") | ||
# fix the cf type so that it works also for python3 |
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.
should we just update the code for Python 3? Isn't Python 2 deprecated?
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.
Thanks Bowei for the feedbacks! I have removed the line for python2, now only python3 supported for cleaner code
What type of PR is this?
Fix for bug
What this PR does / why we need it:
This change should fix the coredns configmap update, and enable the test can also be run on python3.
Which issue(s) this PR fixes:
Fixes - When test GKE DNS performance with the auto creation of dns-perf-server, the coredns configmap corefile was not updated even if different cache size was set as parameters.
Special notes for your reviewer: