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

When setting tolerations on workspace pods, each toleration appears multiple times in the pod spec #19975

Closed
4 of 23 tasks
cccs-tom opened this issue Jun 15, 2021 · 3 comments
Closed
4 of 23 tasks
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@cccs-tom
Copy link

Describe the bug

When setting tolerations for the workspace pods as in the example below, the toleration spec appears multiple times on the pod.

che:
  cheWorkspacePodTolerations:
    - key: "node.taint"
      operator: "Equal"
      value: "che-workspaces"
      effect: "NoExecute"

Che version

  • latest
  • nightly
  • other: please specify
    7.30.1

Steps to reproduce

  1. In values.yaml, set che.cheWorkspacePodTolerations as in the example above.
  2. Deploy to a Kubernetes cluster.
  3. Use kubectl get pod -oyaml to retrieve the Pod spec for the workspace pod.
  4. The specified Toleration will appear multiple times

Expected behavior

Each unique toleration should appear only once in the Pod spec.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.7", GitCommit:"6b3f9b283463c1d5a2455df301182805e65c7145", GitTreeState:"clean", BuildDate:"2021-05-19T22:28:47Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

Additional context

@cccs-tom cccs-tom added the kind/bug Outline of a bug - must adhere to the bug report template. label Jun 15, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jun 15, 2021
@vzhukovs vzhukovs added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jun 15, 2021
@sympatheticmoose
Copy link

@skabashnyuk assume we can close this issue?

@cccs-tom
Copy link
Author

@skabashnyuk assume we can close this issue?

@sympatheticmoose Just for future reference, what's the process when it comes to closing issues like this? Should I (as the reporter and author of the fix) have closed this when the fix was merged? Or is that up to the core dev team?

@benoitf
Copy link
Contributor

benoitf commented Jun 28, 2021

@cccs-tom you may add in PR the prefix fix #issuenumber or fixes
on bugs then the referenced issue is automatically closed when merged.

Core team usually also provide another PR to che-docs repository about new features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants