Website: Why default toleration in DS example k8s.io/docs/concepts/workloads/controllers/daemonset/

Created on 6 Mar 2020  路  7Comments  路  Source: kubernetes/website

This is a Bug Report



Problem:
The example "Create a DaemonSet" adds a toleration for the "NoSchedule" effect on the master node, I don't understand why. I don't think this is a good default to have in the example.

Proposed Solution:
Remove the toleration from the spec:

    spec:
      tolerations:
      - key: node-role.kubernetes.io/master
        effect: NoSchedule

Page to Update:
https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#create-a-daemonset


good first issue help wanted languagen prioritbacklog

All 7 comments

That seems like a valid concern.

/priority backlog
/good-first-issue
/language en

@sftim:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

That seems like a valid concern.

/priority backlog
/good-first-issue
/language en

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 see that for https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/ the example is more descriptive, maybe this is the way to go instead of removing the toleration. I can create a PR adding the same comment to the daemonset.yaml

@sam-sla is this fixed by PR #19530?

@sam-sla is this fixed by PR #19530?

Yes @davivcgarcia a comment was added making it more clear 馃憤

@sftim: Closing this issue.

In response to this:

/close

based on https://github.com/kubernetes/website/issues/19512#issuecomment-60793298

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dieken picture Dieken  路  4Comments

zacharysarah picture zacharysarah  路  4Comments

gochist picture gochist  路  3Comments

adityamandhare picture adityamandhare  路  3Comments

neha-viswanathan picture neha-viswanathan  路  3Comments