Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Allow CoreDNS resources to be configured #1727

Merged
merged 4 commits into from
Sep 11, 2019
Merged

Allow CoreDNS resources to be configured #1727

merged 4 commits into from
Sep 11, 2019

Conversation

dominicgunn
Copy link
Contributor

Changes

  • Allows CoreDNS resources to be configured through cluster.yaml.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 10, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign dominicgunn
You can assign the PR to them by writing /assign @dominicgunn 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

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 10, 2019
@dominicgunn dominicgunn added this to the v0.15.0 milestone Sep 10, 2019
@codecov-io
Copy link

codecov-io commented Sep 10, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@eeb3f4e). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1727   +/-   ##
=========================================
  Coverage          ?   25.28%           
=========================================
  Files             ?       98           
  Lines             ?     5087           
  Branches          ?        0           
=========================================
  Hits              ?     1286           
  Misses            ?     3659           
  Partials          ?      142
Impacted Files Coverage Δ
pkg/api/types.go 0% <ø> (ø)
pkg/api/cluster.go 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eeb3f4e...5b6ffe3. Read the comment docs.

@davidmccormick
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 10, 2019
@davidmccormick
Copy link
Contributor

One last question! The dns resource sizing should be being governed on the fly by the dns-autoscaler pod - which is responsible for tweaking resource values and increasing the number of replicas in answer to the size of the cluster. Can you check to see what it is doing in your cluster? I would have hoped it would have been trying to scale it...

@dominicgunn
Copy link
Contributor Author

I can see it scaling the number of pods, but cannot see it scaling resources for the pods. Should it be?

05 21:10:48.636587       1 k8sclient.go:250] Cluster status: SchedulableNodes[33], SchedulableCores[280]
I0905 21:10:48.636607       1 k8sclient.go:251] Replicas are not as expected : updating replicas from 2 to 3
I0905 21:20:38.626543       1 k8sclient.go:250] Cluster status: SchedulableNodes[32], SchedulableCores[276]
I0905 21:20:38.626562       1 k8sclient.go:251] Replicas are not as expected : updating replicas from 3 to 2

@davidmccormick
Copy link
Contributor

@dominicgunn you are right, it only scales the number of replicas - so it sounds like your changes here are therefore super useful!

@davidmccormick davidmccormick merged commit 9fe0077 into kubernetes-retired:master Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants